mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-27 07:13:14 +00:00
Add BlockRender code
This commit is contained in:
1 parent
419f532502
commit
cfed9f5ab3
3 files changed
+21
No files matched your search
@@ -1,5 +1,6 @@
|
||||
package WayofTime.alchemicalWizardry;
|
||||
|
||||
import WayofTime.alchemicalWizardry.client.BlockRenderer;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import net.minecraftforge.fml.common.registry.GameRegistry;
|
||||
@@ -171,6 +172,8 @@ public class ModBlocks
|
||||
GameRegistry.registerBlock(block, unlocalizedName);
|
||||
}
|
||||
|
||||
BlockRenderer.registerBlock(block);
|
||||
|
||||
return block;
|
||||
}
|
||||
|
||||
@@ -191,6 +194,8 @@ public class ModBlocks
|
||||
GameRegistry.registerBlock(block, itemBlockClass, unlocalizedName);
|
||||
}
|
||||
|
||||
BlockRenderer.registerBlock(block);
|
||||
|
||||
return block;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user