mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Fix ModelDataTest
This commit is contained in:
1 parent
5a3b375147
commit
ef7b035f02
1 file changed
+4
-3
@@ -65,10 +65,11 @@ public class ModelDataTest
|
||||
|
||||
private static final ModelProperty<Boolean> MAGIC_PROP = new ModelProperty<Boolean>();
|
||||
private static final String BLOCK_NAME = "block";
|
||||
private static final String BLOCK_REGNAME = MODID + ":" + BLOCK_NAME;
|
||||
|
||||
@ObjectHolder(MODID + ":" + BLOCK_NAME)
|
||||
@ObjectHolder(BLOCK_REGNAME)
|
||||
public static final Block MY_BLOCK = null;
|
||||
@ObjectHolder(MODID + ":" + BLOCK_NAME)
|
||||
@ObjectHolder(BLOCK_REGNAME)
|
||||
public static final TileEntityType<Tile> TILE_TYPE = null;
|
||||
|
||||
public ModelDataTest()
|
||||
@@ -83,7 +84,7 @@ public class ModelDataTest
|
||||
{
|
||||
final IBakedModel stone = event.getModelRegistry().get(new ModelResourceLocation("minecraft:stone"));
|
||||
final IBakedModel dirt = event.getModelRegistry().get(new ModelResourceLocation("minecraft:dirt"));
|
||||
event.getModelRegistry().put(new ModelResourceLocation(MODID, BLOCK_NAME), new IDynamicBakedModel()
|
||||
event.getModelRegistry().put(new ModelResourceLocation(BLOCK_REGNAME, ""), new IDynamicBakedModel()
|
||||
{
|
||||
@Override
|
||||
public boolean isGui3d()
|
||||
|
||||
Reference in new issue
Block a user