Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class PeriodicOre extends Block {
- public static PeriodicOre instance;
- public PeriodicOre() {
- super(Material.rock);
- instance = this;
- }
- @SideOnly(Side.CLIENT)
- public EnumWorldBlockLayer getBlockLayer() {
- return EnumWorldBlockLayer.SOLID;
- }
- public boolean isFullCube() {
- return true;
- }
- public int getRenderType() {
- return 3;
- }
- public boolean isOpaqueCube() {
- return true;
- }
- public Item getItemDropped(IBlockState state, Random rand, int fortune)
- {
- return Item.getItemFromBlock(this);
- }
- public static PeriodicOre getInstance() {
- return instance;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement