Boblet 776a203f8a centrifuge and cyclotron recipe configs
also some torex tweaks
2022-08-16 16:40:17 +02:00

35 lines
697 B
Java

package com.hbm.blocks.generic;
import cpw.mods.fml.client.registry.RenderingRegistry;
import net.minecraft.block.material.Material;
import net.minecraft.world.World;
public class BlockCrystal extends BlockDragonProof {
public BlockCrystal(Material mat) {
super(mat);
}
public static int renderID = RenderingRegistry.getNextAvailableRenderId();
@Override
public int getRenderType() {
return renderID;
}
@Override
public boolean isOpaqueCube() {
return false;
}
@Override
public boolean renderAsNormalBlock() {
return false;
}
@Override
public int onBlockPlaced(World world, int x, int y, int z, int side, float hX, float hY, float hZ, int meta) {
return side;
}
}