public class FossilCleanerTileEntity extends net.minecraft.tileentity.TileEntity implements net.minecraft.inventory.ISidedInventory, IBasicInventory, net.minecraft.tileentity.ITickableTileEntity
Modifier and Type | Field and Description |
---|---|
net.minecraft.item.Item |
itemInCleaner |
int |
renderPass |
int |
timer |
Constructor and Description |
---|
FossilCleanerTileEntity() |
Modifier and Type | Method and Description |
---|---|
boolean |
canPlaceItem(int index,
net.minecraft.item.ItemStack stack) |
boolean |
canPlaceItemThroughFace(int index,
net.minecraft.item.ItemStack stack,
net.minecraft.util.Direction direction) |
boolean |
canTakeItemThroughFace(int index,
net.minecraft.item.ItemStack stack,
net.minecraft.util.Direction direction) |
int |
getContainerSize() |
net.minecraft.item.ItemStack |
getItem(int index) |
net.minecraft.item.Item |
getItemInCleaner() |
int |
getMaxStackSize() |
int[] |
getSlotsForFace(net.minecraft.util.Direction side) |
net.minecraft.network.play.server.SUpdateTileEntityPacket |
getUpdatePacket() |
net.minecraft.nbt.CompoundNBT |
getUpdateTag() |
boolean |
isEmpty() |
boolean |
isFossilClean() |
boolean |
isOn() |
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.item.ItemStack |
removeItemNoUpdate(int index) |
net.minecraft.nbt.CompoundNBT |
save(net.minecraft.nbt.CompoundNBT nbt) |
void |
setItem(int index,
net.minecraft.item.ItemStack stack) |
void |
setItemInCleaner(net.minecraft.item.Item item) |
boolean |
stillValid(net.minecraft.entity.player.PlayerEntity player) |
void |
tick() |
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
clearContent, removeItem, startOpen, stopOpen
public net.minecraft.item.Item itemInCleaner
public int timer
public int renderPass
public boolean isOn()
public boolean isFossilClean()
public void setItemInCleaner(net.minecraft.item.Item item)
public boolean isEmpty()
isEmpty
in interface net.minecraft.inventory.IInventory
public net.minecraft.item.Item getItemInCleaner()
public void tick()
tick
in interface net.minecraft.tileentity.ITickableTileEntity
public void load(net.minecraft.block.BlockState state, net.minecraft.nbt.CompoundNBT nbt)
load
in class net.minecraft.tileentity.TileEntity
public net.minecraft.nbt.CompoundNBT save(net.minecraft.nbt.CompoundNBT nbt)
save
in class net.minecraft.tileentity.TileEntity
public net.minecraft.nbt.CompoundNBT getUpdateTag()
getUpdateTag
in class net.minecraft.tileentity.TileEntity
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 int getContainerSize()
getContainerSize
in interface net.minecraft.inventory.IInventory
public net.minecraft.item.ItemStack getItem(int index)
getItem
in interface net.minecraft.inventory.IInventory
public net.minecraft.item.ItemStack removeItemNoUpdate(int index)
removeItemNoUpdate
in interface net.minecraft.inventory.IInventory
public void setItem(int index, net.minecraft.item.ItemStack stack)
setItem
in interface net.minecraft.inventory.IInventory
public int getMaxStackSize()
getMaxStackSize
in interface IBasicInventory
getMaxStackSize
in interface net.minecraft.inventory.IInventory
public boolean stillValid(net.minecraft.entity.player.PlayerEntity player)
stillValid
in interface net.minecraft.inventory.IInventory
public boolean canPlaceItem(int index, net.minecraft.item.ItemStack stack)
canPlaceItem
in interface IBasicInventory
canPlaceItem
in interface net.minecraft.inventory.IInventory
public int[] getSlotsForFace(net.minecraft.util.Direction side)
getSlotsForFace
in interface net.minecraft.inventory.ISidedInventory
public boolean canPlaceItemThroughFace(int index, net.minecraft.item.ItemStack stack, net.minecraft.util.Direction direction)
canPlaceItemThroughFace
in interface net.minecraft.inventory.ISidedInventory
public boolean canTakeItemThroughFace(int index, net.minecraft.item.ItemStack stack, net.minecraft.util.Direction direction)
canTakeItemThroughFace
in interface net.minecraft.inventory.ISidedInventory