Created
June 7, 2014 13:37
-
-
Save anonymous/9ab2cb3051ad59019939 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Blocks; | |
import pizzamod.PizzaModMain; | |
import net.minecraft.block.BlockContainer; | |
import net.minecraft.block.material.Material; | |
import net.minecraft.client.renderer.texture.IIconRegister; | |
import net.minecraft.tileentity.TileEntity; | |
import net.minecraft.world.World; | |
public class blockTable extends BlockContainer { | |
public blockTable(Material material) { | |
super(material); | |
} | |
@Override | |
public TileEntity createNewTileEntity(World var1, int var2) { | |
return new TileEntityBTable(); | |
} | |
public int getRenderType(){ | |
return -1; | |
} | |
public boolean isOpaqueCube(){ | |
return false; | |
} | |
public boolean renderAsNormalBlock(){ | |
return false; | |
} | |
@Override | |
public void registerBlockIcons(IIconRegister p_149651_1_) { | |
// TODO Auto-generated method stub | |
super.registerBlockIcons(p_149651_1_); | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Blocks; | |
import pizzamod.PizzaModMain; | |
import net.minecraft.block.BlockContainer; | |
import net.minecraft.block.material.Material; | |
import net.minecraft.client.renderer.texture.IIconRegister; | |
import net.minecraft.tileentity.TileEntity; | |
import net.minecraft.world.World; | |
public class blockTable extends BlockContainer { | |
public blockTable(Material material) { | |
super(material); | |
} | |
@Override | |
public TileEntity createNewTileEntity(World var1, int var2) { | |
return new TileEntityBTable(); | |
} | |
public int getRenderType(){ | |
return -1; | |
} | |
public boolean isOpaqueCube(){ | |
return false; | |
} | |
public boolean renderAsNormalBlock(){ | |
return false; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment