public interface IBlockTank
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultCapacity()
Get the default capacity possible for this item/blockState type.
|
boolean |
isActivatable() |
boolean |
isActivated(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world)
If the given item is activated.
|
net.minecraft.item.ItemStack |
toggleActivation(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player)
Toggle the activation of the item.
|
int getDefaultCapacity()
boolean isActivatable()
net.minecraft.item.ItemStack toggleActivation(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player)
itemStack - The item.world - The world.player - The player holding the item.boolean isActivated(net.minecraft.item.ItemStack itemStack,
net.minecraft.world.World world)
itemStack - The item.world - The world.