public class PokeChestTileEntity
extends net.minecraft.tileentity.TileEntity
Constructor and Description |
---|
PokeChestTileEntity() |
Modifier and Type | Method and Description |
---|---|
void |
addClaimer(java.util.UUID playerID) |
boolean |
canClaim(java.util.UUID playerID) |
boolean |
getChestMode() |
EnumPokeChestType |
getChestType() |
net.minecraft.item.ItemStack[] |
getCustomDrops() |
boolean |
getDropMode() |
int |
getFrontFace() |
LootClaim |
getLootClaim(java.util.UUID playerID) |
java.util.UUID |
getOwner() |
net.minecraft.network.play.server.SUpdateTileEntityPacket |
getUpdatePacket() |
net.minecraft.nbt.CompoundNBT |
getUpdateTag() |
EnumPokechestVisibility |
getVisibility() |
boolean |
isCustomDrop() |
boolean |
isGrotto() |
boolean |
isTimeEnabled() |
boolean |
isUsableByPlayer(net.minecraft.entity.player.PlayerEntity player) |
void |
load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT tagger) |
void |
onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SUpdateTileEntityPacket pkt) |
void |
readFromNBTClient(net.minecraft.nbt.CompoundNBT tagger) |
void |
removeClaimer(java.util.UUID playerID) |
net.minecraft.nbt.CompoundNBT |
save(net.minecraft.nbt.CompoundNBT tagger) |
void |
setChestOneTime(boolean val) |
void |
setChestType(EnumPokeChestType type) |
void |
setCustomDropEnabled(boolean enabled) |
void |
setCustomDrops(net.minecraft.item.ItemStack... customDrops) |
void |
setDropOneTime(boolean val) |
void |
setFrontFace(int face) |
void |
setGrotto() |
void |
setOwner(java.util.UUID id) |
void |
setSpecialEventDrop(net.minecraft.item.ItemStack itemStack) |
void |
setTimeEnabled(boolean val) |
void |
setVisibility(EnumPokechestVisibility visible) |
boolean |
shouldBreakBlock() |
void |
writeToNBTClient(net.minecraft.nbt.CompoundNBT tagger) |
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 void setOwner(java.util.UUID id)
public java.util.UUID getOwner()
public void setChestType(EnumPokeChestType type)
public EnumPokeChestType getChestType()
public void setGrotto()
public boolean isGrotto()
public net.minecraft.nbt.CompoundNBT save(net.minecraft.nbt.CompoundNBT tagger)
save
in class net.minecraft.tileentity.TileEntity
public void writeToNBTClient(net.minecraft.nbt.CompoundNBT tagger)
public void readFromNBTClient(net.minecraft.nbt.CompoundNBT tagger)
public void load(net.minecraft.block.BlockState state, net.minecraft.nbt.CompoundNBT tagger)
load
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)
public boolean canClaim(java.util.UUID playerID)
public LootClaim getLootClaim(java.util.UUID playerID)
public void addClaimer(java.util.UUID playerID)
public void removeClaimer(java.util.UUID playerID)
public boolean shouldBreakBlock()
public void setChestOneTime(boolean val)
public boolean getChestMode()
public void setDropOneTime(boolean val)
public boolean getDropMode()
public boolean isCustomDrop()
public boolean isTimeEnabled()
public void setTimeEnabled(boolean val)
public net.minecraft.item.ItemStack[] getCustomDrops()
public void setCustomDrops(net.minecraft.item.ItemStack... customDrops)
public void setCustomDropEnabled(boolean enabled)
public boolean isUsableByPlayer(net.minecraft.entity.player.PlayerEntity player)
public void setFrontFace(int face)
public int getFrontFace()
public void setSpecialEventDrop(net.minecraft.item.ItemStack itemStack)
public EnumPokechestVisibility getVisibility()
public void setVisibility(EnumPokechestVisibility visible)