public class PodiumTileEntity extends net.minecraft.tileentity.TileEntity implements IPodium
Constructor and Description |
---|
PodiumTileEntity(net.minecraft.tileentity.TileEntityType<? extends PodiumTileEntity> tileEntityType) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.util.ActionResultType |
activateBehavior(net.minecraft.entity.player.PlayerEntity playerEntity) |
boolean |
canPlayerUse(net.minecraft.entity.player.PlayerEntity playerEntity) |
int |
getComparatorSignal() |
net.minecraft.item.ItemStack |
getDisplayItemStack() |
PodiumBehavior |
getPodiumBehavior() |
net.minecraft.block.BlockState |
getPodiumBlockState() |
PodiumInventory |
getPodiumInventory() |
net.minecraft.util.math.BlockPos |
getPodiumPos() |
net.minecraft.world.IWorld |
getPodiumWorld() |
net.minecraft.network.play.server.SUpdateTileEntityPacket |
getUpdatePacket() |
net.minecraft.nbt.CompoundNBT |
getUpdateTag() |
void |
handleUpdateTag(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT tag) |
void |
inventoryListener(net.minecraft.inventory.IInventory inventory) |
void |
pulseRedstone() |
void |
read(net.minecraft.block.BlockState blockState,
net.minecraft.nbt.CompoundNBT nbt) |
boolean |
renderBook() |
void |
requestSave() |
void |
setDisplayItemStack(net.minecraft.item.ItemStack itemStack) |
void |
setHasItem(boolean hasItem) |
net.minecraft.item.ItemStack |
takeDisplayItemStack() |
net.minecraft.nbt.CompoundNBT |
write(net.minecraft.nbt.CompoundNBT nbt) |
addInfoToCrashReport, getBlockState, getMaxRenderDistanceSquared, getPos, getTileData, getType, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, readTileEntity, receiveClientEvent, remove, rotate, setPos, setWorldAndPos, updateContainingBlockInfo, validate, warnInvalidBlock
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public PodiumTileEntity(net.minecraft.tileentity.TileEntityType<? extends PodiumTileEntity> tileEntityType)
public void inventoryListener(net.minecraft.inventory.IInventory inventory)
public net.minecraft.util.ActionResultType activateBehavior(net.minecraft.entity.player.PlayerEntity playerEntity)
@ParametersAreNonnullByDefault public void read(net.minecraft.block.BlockState blockState, net.minecraft.nbt.CompoundNBT nbt)
read
in class net.minecraft.tileentity.TileEntity
@Nonnull public net.minecraft.nbt.CompoundNBT write(@Nonnull net.minecraft.nbt.CompoundNBT nbt)
write
in class net.minecraft.tileentity.TileEntity
@Nonnull public net.minecraft.nbt.CompoundNBT getUpdateTag()
getUpdateTag
in class net.minecraft.tileentity.TileEntity
@Nullable public net.minecraft.network.play.server.SUpdateTileEntityPacket getUpdatePacket()
getUpdatePacket
in class net.minecraft.tileentity.TileEntity
public void handleUpdateTag(net.minecraft.block.BlockState state, net.minecraft.nbt.CompoundNBT tag)
handleUpdateTag
in interface net.minecraftforge.common.extensions.IForgeTileEntity
public net.minecraft.item.ItemStack takeDisplayItemStack()
public void setDisplayItemStack(@Nonnull net.minecraft.item.ItemStack itemStack)
setDisplayItemStack
in interface IPodium
public void setHasItem(boolean hasItem)
public void pulseRedstone()
pulseRedstone
in interface IPodium
public int getComparatorSignal()
@Nonnull public PodiumInventory getPodiumInventory()
getPodiumInventory
in interface IPodium
public void requestSave()
requestSave
in interface IPodium
@Nonnull public net.minecraft.item.ItemStack getDisplayItemStack()
getDisplayItemStack
in interface IPodium
@Nonnull public net.minecraft.util.math.BlockPos getPodiumPos()
getPodiumPos
in interface IPodium
@Nonnull public net.minecraft.block.BlockState getPodiumBlockState()
getPodiumBlockState
in interface IPodium
@Nonnull public net.minecraft.world.IWorld getPodiumWorld()
getPodiumWorld
in interface IPodium
@Nullable public PodiumBehavior getPodiumBehavior()
public boolean renderBook()
public boolean canPlayerUse(net.minecraft.entity.player.PlayerEntity playerEntity)