mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-16 10:34:49 +00:00
SidedProxy now has sensible default values - nested ClientProxy and ServerProxy classes.
This commit is contained in:
1 parent
40a124d571
commit
d105c444ee
9 files changed
+36
-13
No files matched your search
@@ -66,7 +66,7 @@ public class ModelBakeEventDebug
|
||||
}
|
||||
}
|
||||
|
||||
@SidedProxy(serverSide = "net.minecraftforge.debug.ModelBakeEventDebug$CommonProxy", clientSide = "net.minecraftforge.debug.ModelBakeEventDebug$ClientProxy")
|
||||
@SidedProxy
|
||||
public static CommonProxy proxy;
|
||||
|
||||
@EventHandler
|
||||
@@ -81,6 +81,8 @@ public class ModelBakeEventDebug
|
||||
}
|
||||
}
|
||||
|
||||
public static class ServerProxy extends CommonProxy {}
|
||||
|
||||
public static class ClientProxy extends CommonProxy
|
||||
{
|
||||
private static ModelResourceLocation blockLocation = new ModelResourceLocation(blockName, "normal");
|
||||
|
||||
Reference in new issue
Block a user