mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 11:05:40 +00:00
A few fixes
This commit is contained in:
1 parent
55e707cc07
commit
ff42107b92
4 files changed
+11
-8
No files matched your search
@@ -63,7 +63,6 @@ public class ModelAnimationDebug
|
||||
{
|
||||
public void preInit(FMLPreInitializationEvent event)
|
||||
{
|
||||
B3DLoader.instance.addDomain(MODID);
|
||||
GameRegistry.registerBlock(new Block(Material.wood)
|
||||
{
|
||||
{
|
||||
@@ -149,6 +148,7 @@ public class ModelAnimationDebug
|
||||
public void preInit(FMLPreInitializationEvent event)
|
||||
{
|
||||
super.preInit(event);
|
||||
B3DLoader.instance.addDomain(MODID);
|
||||
ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(GameRegistry.findBlock(MODID, blockName)), 0, new ModelResourceLocation(MODID.toLowerCase() + ":" + blockName, "inventory"));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user