Add BlockRender code
This commit is contained in:
parent
419f532502
commit
cfed9f5ab3
3 changed files with 21 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue