Posted February 22, 201411 yr package a.army; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.block.BlockHalfSlab; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.creativetab.CreativeTabs; public class sandbagS extends BlockHalfSlab{ public sandbagS(int id, boolean par2, Material par3Material) { super(id, par2, par3Material); if(par2){ this.setCreativeTab(CreativeTabs.tabBlock); } } @SideOnly(Side.CLIENT) public void registerIcons(IconRegister register) { this.blockIcon = register.registerIcon("oomod:doublesandbag");} @Override public String getFullSlabName(int i) { return super.getUnlocalizedName(); } } the textures work on 5 of the faces but not the top one which is just black
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.