37 lines
997 B
Java
37 lines
997 B
Java
![]() |
package WayofTime.alchemicalWizardry.common.demonVillage.tileEntity;
|
||
|
|
||
|
import net.minecraft.block.BlockChest;
|
||
|
import net.minecraft.inventory.IInventory;
|
||
|
import net.minecraft.tileentity.TileEntity;
|
||
|
import net.minecraft.world.World;
|
||
|
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||
|
|
||
|
public class BlockDemonChest extends BlockChest implements IBlockPortalNode
|
||
|
{
|
||
|
public BlockDemonChest()
|
||
|
{
|
||
|
super(0);
|
||
|
this.setHardness(2.5F).setStepSound(soundTypeWood).setBlockName("demonChest");
|
||
|
this.setCreativeTab(AlchemicalWizardry.tabBloodMagic);
|
||
|
}
|
||
|
|
||
|
public IInventory func_149951_m(World world, int x, int y, int z)
|
||
|
{
|
||
|
IInventory object = (IInventory)world.getTileEntity(x, y, z);
|
||
|
|
||
|
return object;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public TileEntity createNewTileEntity(World var1, int var2)
|
||
|
{
|
||
|
return new TEDemonChest();
|
||
|
}
|
||
|
|
||
|
// @Override
|
||
|
// public boolean canPlaceBlockAt(World p_149742_1_, int p_149742_2_, int p_149742_3_, int p_149742_4_)
|
||
|
// {
|
||
|
// return true;
|
||
|
// }
|
||
|
}
|