mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 05:02:39 +00:00
The return of achievements
- Re-added achievements - Organised all imports (seemed all over the place) - Formatted all code (seemed very combined, used the TinkerStyle)
This commit is contained in:
1 parent
ae2d8d6e4d
commit
80efde613a
419 files changed
+2406
-4144
No files matched your search
@@ -1,18 +1,17 @@
|
||||
package tconstruct.common;
|
||||
|
||||
import cpw.mods.fml.common.network.IGuiHandler;
|
||||
import java.util.HashMap;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.world.World;
|
||||
import cpw.mods.fml.common.network.IGuiHandler;
|
||||
|
||||
public class TProxyCommon implements IGuiHandler
|
||||
{
|
||||
public void initialize()
|
||||
public void initialize ()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Object getServerGuiElement (int ID, EntityPlayer player, World world, int x, int y, int z)
|
||||
{
|
||||
@@ -21,7 +20,7 @@ public class TProxyCommon implements IGuiHandler
|
||||
return handler.getServerGuiElement(ID, player, world, x, y, z);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Object getClientGuiElement (int ID, EntityPlayer player, World world, int x, int y, int z)
|
||||
{
|
||||
@@ -33,13 +32,13 @@ public class TProxyCommon implements IGuiHandler
|
||||
|
||||
private static HashMap<Integer, IGuiHandler> serverGuiHandlers = new HashMap<Integer, IGuiHandler>();
|
||||
private static HashMap<Integer, IGuiHandler> clientGuiHandlers = new HashMap<Integer, IGuiHandler>();
|
||||
|
||||
public static void registerServerGuiHandler(int gui, IGuiHandler handler)
|
||||
|
||||
public static void registerServerGuiHandler (int gui, IGuiHandler handler)
|
||||
{
|
||||
serverGuiHandlers.put(gui, handler);
|
||||
}
|
||||
|
||||
public static void registerClientGuiHandler(int gui, IGuiHandler handler)
|
||||
|
||||
public static void registerClientGuiHandler (int gui, IGuiHandler handler)
|
||||
{
|
||||
clientGuiHandlers.put(gui, handler);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user