Added custom orb models.
This commit is contained in:
parent
5e82d022a2
commit
6f7831fd17
36 changed files with 2585 additions and 95 deletions
|
|
@ -5,7 +5,10 @@ import MysticWorld.Lib.RenderIds;
|
|||
import MysticWorld.TileEntity.TileEntityPillarInsert;
|
||||
import net.minecraft.block.BlockContainer;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.tileentity.TileEntityFurnace;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
|
|
@ -19,7 +22,21 @@ public class BlockPillarInsert extends BlockContainer {
|
|||
this.setCreativeTab(MysticWorld.MysticWorldTab);
|
||||
setBlockBounds(0.125F, 0.0F, 0.125F, 0.875F, 1.0F, 0.875F);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer entityPlayer, int par6, float par7, float par8, float par9)
|
||||
{
|
||||
if (world.isRemote)
|
||||
{
|
||||
if (Item.enderPearl.itemID == entityPlayer.inventory.getCurrentItem().itemID)
|
||||
{
|
||||
TileEntity te = world.getBlockTileEntity(x, y, z);
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldSideBeRendered(IBlockAccess blockAccess, int x, int y, int z, int i)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue