public class WashingMachineTileEntity
extends net.minecraft.tileentity.TileEntity
implements net.minecraft.inventory.container.INamedContainerProvider
Constructor and Description |
---|
WashingMachineTileEntity() |
Modifier and Type | Method and Description |
---|---|
void |
add(net.minecraft.item.ItemStack stack) |
net.minecraft.inventory.container.Container |
createMenu(int id,
net.minecraft.entity.player.PlayerInventory inventory,
net.minecraft.entity.player.PlayerEntity player) |
net.minecraftforge.items.ItemStackHandler |
getCooked() |
net.minecraftforge.items.ItemStackHandler |
getCooking() |
net.minecraft.util.text.ITextComponent |
getDisplayName() |
int |
getSmeltTime() |
int |
getSmeltTimeRemainingScaled(int i) |
net.minecraft.network.play.server.SUpdateTileEntityPacket |
getUpdatePacket() |
net.minecraft.nbt.CompoundNBT |
getUpdateTag() |
boolean |
isRunning() |
void |
load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT nbt) |
void |
onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SUpdateTileEntityPacket pkt) |
net.minecraft.nbt.CompoundNBT |
save(net.minecraft.nbt.CompoundNBT nbt) |
void |
setSmeltTime(int smeltTime) |
void |
smeltItem() |
void |
update() |
clearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getViewDistance, hasLevel, isRemoved, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, setChanged, setLevelAndPosition, setPosition, setRemoved, triggerEvent
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public net.minecraft.nbt.CompoundNBT save(net.minecraft.nbt.CompoundNBT nbt)
save
in class net.minecraft.tileentity.TileEntity
public void load(net.minecraft.block.BlockState state, net.minecraft.nbt.CompoundNBT nbt)
load
in class net.minecraft.tileentity.TileEntity
public void update()
public void smeltItem()
public void add(net.minecraft.item.ItemStack stack)
public boolean isRunning()
public int getSmeltTimeRemainingScaled(int i)
public net.minecraft.network.play.server.SUpdateTileEntityPacket getUpdatePacket()
getUpdatePacket
in class net.minecraft.tileentity.TileEntity
public void onDataPacket(net.minecraft.network.NetworkManager net, net.minecraft.network.play.server.SUpdateTileEntityPacket pkt)
onDataPacket
in interface net.minecraftforge.common.extensions.IForgeTileEntity
public net.minecraft.nbt.CompoundNBT getUpdateTag()
getUpdateTag
in class net.minecraft.tileentity.TileEntity
public net.minecraftforge.items.ItemStackHandler getCooked()
public net.minecraftforge.items.ItemStackHandler getCooking()
public int getSmeltTime()
public void setSmeltTime(int smeltTime)
public net.minecraft.util.text.ITextComponent getDisplayName()
getDisplayName
in interface net.minecraft.inventory.container.INamedContainerProvider
@Nullable public net.minecraft.inventory.container.Container createMenu(int id, net.minecraft.entity.player.PlayerInventory inventory, net.minecraft.entity.player.PlayerEntity player)
createMenu
in interface net.minecraft.inventory.container.IContainerProvider