mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 11:05:40 +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
@@ -26,7 +26,7 @@ public class ModelFluidDebug
|
||||
public static final String MODID = "ForgeDebugModelFluid";
|
||||
public static final String VERSION = "1.0";
|
||||
|
||||
@SidedProxy(serverSide = "net.minecraftforge.debug.ModelFluidDebug$CommonProxy", clientSide = "net.minecraftforge.debug.ModelFluidDebug$ClientProxy")
|
||||
@SidedProxy
|
||||
public static CommonProxy proxy;
|
||||
|
||||
public static final Fluid milkFluid = new Fluid("milk", new ResourceLocation("forge", "blocks/milk_still"), new ResourceLocation("forge", "blocks/milk_flow"));
|
||||
@@ -47,6 +47,8 @@ public class ModelFluidDebug
|
||||
}
|
||||
}
|
||||
|
||||
public static class ServerProxy extends CommonProxy {}
|
||||
|
||||
public static class ClientProxy extends CommonProxy
|
||||
{
|
||||
private static ModelResourceLocation fluidLocation = new ModelResourceLocation(MODID.toLowerCase() + ":" + TestFluidBlock.name, "fluid");
|
||||
|
||||
Reference in new issue
Block a user