SidedProxy now has sensible default values - nested ClientProxy and ServerProxy classes.

This commit is contained in:
RainWarrior committed 2016-01-02 09:59:14 +03:00
1 parent 40a124d571
commit d105c444ee
9 files changed
+36 -13

No files matched your search

@@ -16,7 +16,7 @@ public class ItemLayerModelDebug
public static final String MODID = "ForgeDebugItemLayerModel";
public static final String VERSION = "1.0";
@SidedProxy(serverSide = "net.minecraftforge.debug.ItemLayerModelDebug$CommonProxy", clientSide = "net.minecraftforge.debug.ItemLayerModelDebug$ClientProxy")
@SidedProxy
public static CommonProxy proxy;
@EventHandler
@@ -30,6 +30,8 @@ public class ItemLayerModelDebug
}
}
public static class ServerProxy extends CommonProxy {}
public static class ClientProxy extends CommonProxy
{
private static ModelResourceLocation modelLocation = new ModelResourceLocation(MODID.toLowerCase() + ":" + TestItem.name, "inventory");