public class PokeStopTileEntity
extends net.minecraft.tileentity.TileEntity
Constructor and Description |
---|
PokeStopTileEntity() |
Modifier and Type | Method and Description |
---|---|
void |
addClaimer(java.util.UUID playerID) |
boolean |
canClaim(net.minecraft.entity.player.PlayerEntity player) |
boolean |
canClaim(java.util.UUID playerID)
Deprecated.
|
java.awt.Color |
getColor() |
java.awt.Color |
getCooldownColor() |
LootClaim |
getLootClaim(net.minecraft.entity.player.PlayerEntity player) |
LootClaim |
getLootClaim(java.util.UUID playerID) |
net.minecraft.util.ResourceLocation |
getLootTable() |
float |
getScale() |
net.minecraft.network.play.server.SUpdateTileEntityPacket |
getUpdatePacket() |
net.minecraft.nbt.CompoundNBT |
getUpdateTag() |
double |
getViewDistance() |
boolean |
isOneTimeUse() |
boolean |
isUsableByPlayer(net.minecraft.entity.player.PlayerEntity player) |
void |
load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT tag) |
void |
onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SUpdateTileEntityPacket pkt) |
void |
removeClaimer(java.util.UUID playerID) |
net.minecraft.nbt.CompoundNBT |
save(net.minecraft.nbt.CompoundNBT tag) |
PokeStopTileEntity |
setColor(java.awt.Color color) |
PokeStopTileEntity |
setCooldownColor(java.awt.Color cooldownColor) |
PokeStopTileEntity |
setLootTable(net.minecraft.util.ResourceLocation lootTable) |
void |
setOneTimeUse(boolean oneTimeUse) |
PokeStopTileEntity |
setScale(float scale) |
clearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, 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 tag)
save
in class net.minecraft.tileentity.TileEntity
public void load(net.minecraft.block.BlockState state, net.minecraft.nbt.CompoundNBT tag)
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(net.minecraft.entity.player.PlayerEntity player)
@Deprecated public boolean canClaim(java.util.UUID playerID)
public LootClaim getLootClaim(net.minecraft.entity.player.PlayerEntity player)
public LootClaim getLootClaim(java.util.UUID playerID)
public void addClaimer(java.util.UUID playerID)
public void removeClaimer(java.util.UUID playerID)
public void setOneTimeUse(boolean oneTimeUse)
public boolean isOneTimeUse()
public boolean isUsableByPlayer(net.minecraft.entity.player.PlayerEntity player)
public net.minecraft.util.ResourceLocation getLootTable()
public PokeStopTileEntity setLootTable(net.minecraft.util.ResourceLocation lootTable)
public float getScale()
public PokeStopTileEntity setScale(float scale)
public java.awt.Color getColor()
public PokeStopTileEntity setColor(java.awt.Color color)
public java.awt.Color getCooldownColor()
public PokeStopTileEntity setCooldownColor(java.awt.Color cooldownColor)
public double getViewDistance()
getViewDistance
in class net.minecraft.tileentity.TileEntity