public class BlockTankHelpers
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BlockTankHelpers.SimulatableTankWrapper |
| Modifier and Type | Method and Description |
|---|---|
static net.minecraft.util.text.IFormattableTextComponent |
getInfoTank(net.minecraft.item.ItemStack itemStack)
Get info for a given itemStack.
|
static void |
itemStackDataToTile(net.minecraft.item.ItemStack itemStack,
net.minecraft.tileentity.TileEntity tile)
Convert fluid capabilities of item to tile.
|
void |
onRightClick(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickBlock event) |
static net.minecraft.item.ItemStack |
tileDataToItemStack(net.minecraft.tileentity.TileEntity tile,
net.minecraft.item.ItemStack itemStack)
Convert fluid capabilities of tile to item.
|
public static net.minecraft.util.text.IFormattableTextComponent getInfoTank(net.minecraft.item.ItemStack itemStack)
itemStack - The itemStack that must be given information.public static net.minecraft.item.ItemStack tileDataToItemStack(net.minecraft.tileentity.TileEntity tile,
net.minecraft.item.ItemStack itemStack)
tile - The tile that has already been removed from the world.itemStack - The input itemstack.public static void itemStackDataToTile(net.minecraft.item.ItemStack itemStack,
net.minecraft.tileentity.TileEntity tile)
itemStack - The itemstack.tile - The tile that has already been removed from the world.public void onRightClick(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickBlock event)