This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Completely redone the keyboard system - Moving away from commands, added a setup interface to manage the settings accessible via [/rec] (no oprands) > the keyboard pane allows the user to enable keyboard control and set-up the key bindings > the interface pane allows the user to manage if they ever see the RecMod bobber > the integration tab is hiding an awesome feature that will be added at a later date - Improved the efficiency of client commands like changing the UI sheet or toggling the bobber - Plug the packet leak (thanks to progwml6) - Removed the need for the redundant self oprand part of the ui branch of the /rec command - Removed the ui branch of the /rec command to bobber
- Loading branch information
Showing
19 changed files
with
395 additions
and
339 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
package fuj1n.recmod.client.event; | ||
|
||
import cpw.mods.fml.common.gameevent.PlayerEvent.PlayerLoggedInEvent; | ||
|
||
import cpw.mods.fml.common.eventhandler.SubscribeEvent; | ||
import cpw.mods.fml.common.gameevent.PlayerEvent.PlayerLoggedInEvent; | ||
import fuj1n.recmod.RecMod; | ||
import net.minecraft.client.Minecraft; | ||
import net.minecraft.entity.player.EntityPlayer; | ||
import net.minecraftforge.event.entity.EntityJoinWorldEvent; | ||
|
||
public class EventClientEntityLogin { | ||
|
||
@SubscribeEvent | ||
public void onEntityLogin(PlayerLoggedInEvent event){ | ||
public void onEntityLogin(PlayerLoggedInEvent event) { | ||
Minecraft mc = Minecraft.getMinecraft().getMinecraft(); | ||
RecMod.instance.showSelf = !mc.isSingleplayer() && !RecMod.instance.showSelfDef; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.