Class PokeStopTileEntity
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.level.block.entity.BlockEntity>
net.minecraft.world.level.block.entity.BlockEntity
com.pixelmonmod.pixelmon.blocks.tileentity.PokeStopTileEntity
- All Implemented Interfaces:
net.minecraftforge.common.capabilities.ICapabilityProvider
,net.minecraftforge.common.capabilities.ICapabilityProviderImpl<net.minecraft.world.level.block.entity.BlockEntity>
,net.minecraftforge.common.capabilities.ICapabilitySerializable<net.minecraft.nbt.CompoundTag>
,net.minecraftforge.common.extensions.IForgeBlockEntity
,net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
,software.bernie.geckolib.animatable.GeoBlockEntity
,software.bernie.geckolib.core.animatable.GeoAnimatable
public class PokeStopTileEntity
extends net.minecraft.world.level.block.entity.BlockEntity
implements software.bernie.geckolib.animatable.GeoBlockEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
net.minecraftforge.common.capabilities.CapabilityProvider.AsField<B extends net.minecraftforge.common.capabilities.ICapabilityProviderImpl<B>>
-
Field Summary
Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition
Fields inherited from interface net.minecraftforge.common.extensions.IForgeBlockEntity
INFINITE_EXTENT_AABB
-
Constructor Summary
ConstructorDescriptionPokeStopTileEntity
(net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.block.state.BlockState blockState) PokeStopTileEntity
(net.minecraft.world.level.block.entity.BlockEntityType<?> blockEntityType, net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.block.state.BlockState blockState) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addClaimer
(UUID playerID) boolean
Deprecated.boolean
canClaim
(net.minecraft.world.entity.player.Player player) software.bernie.geckolib.core.animatable.instance.AnimatableInstanceCache
getColor()
getLootClaim
(UUID playerID) getLootClaim
(net.minecraft.world.entity.player.Player player) net.minecraft.resources.ResourceLocation
float
getScale()
net.minecraft.network.protocol.game.ClientboundBlockEntityDataPacket
net.minecraft.nbt.CompoundTag
boolean
boolean
isUsableByPlayer
(net.minecraft.world.entity.player.Player player) void
load
(net.minecraft.nbt.CompoundTag tag) void
onDataPacket
(net.minecraft.network.Connection net, net.minecraft.network.protocol.game.ClientboundBlockEntityDataPacket pkt) void
registerControllers
(software.bernie.geckolib.core.animation.AnimatableManager.ControllerRegistrar controllers) void
removeClaimer
(UUID playerID) void
saveAdditional
(net.minecraft.nbt.CompoundTag tag) setCooldownColor
(Color cooldownColor) setLootTable
(net.minecraft.resources.ResourceLocation lootTable) void
setOneTimeUse
(boolean oneTimeUse) setScale
(float scale) Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPersistentData, getPosFromTag, getType, hasLevel, isRemoved, loadStatic, onChunkUnloaded, onlyOpCanSetNbt, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setLevel, setRemoved, triggerEvent
Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.bernie.geckolib.core.animatable.GeoAnimatable
animatableCacheOverride, getBoneResetTime, shouldPlayAnimsWhileGamePaused
Methods inherited from interface software.bernie.geckolib.animatable.GeoBlockEntity
getAnimData, getTick, setAnimData, triggerAnim
Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapability
Methods inherited from interface net.minecraftforge.common.extensions.IForgeBlockEntity
deserializeNBT, getModelData, getRenderBoundingBox, handleUpdateTag, hasCustomOutlineRendering, onLoad, requestModelDataUpdate, serializeNBT
-
Constructor Details
-
PokeStopTileEntity
public PokeStopTileEntity(net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.block.state.BlockState blockState) -
PokeStopTileEntity
public PokeStopTileEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> blockEntityType, net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.block.state.BlockState blockState)
-
-
Method Details
-
saveAdditional
public void saveAdditional(net.minecraft.nbt.CompoundTag tag) - Overrides:
saveAdditional
in classnet.minecraft.world.level.block.entity.BlockEntity
-
load
public void load(net.minecraft.nbt.CompoundTag tag) - Overrides:
load
in classnet.minecraft.world.level.block.entity.BlockEntity
-
getUpdateTag
public net.minecraft.nbt.CompoundTag getUpdateTag()- Overrides:
getUpdateTag
in classnet.minecraft.world.level.block.entity.BlockEntity
-
getUpdatePacket
public net.minecraft.network.protocol.game.ClientboundBlockEntityDataPacket getUpdatePacket()- Overrides:
getUpdatePacket
in classnet.minecraft.world.level.block.entity.BlockEntity
-
onDataPacket
public void onDataPacket(net.minecraft.network.Connection net, net.minecraft.network.protocol.game.ClientboundBlockEntityDataPacket pkt) - Specified by:
onDataPacket
in interfacenet.minecraftforge.common.extensions.IForgeBlockEntity
-
canClaim
public boolean canClaim(net.minecraft.world.entity.player.Player player) -
canClaim
Deprecated. -
getLootClaim
-
getLootClaim
-
addClaimer
-
removeClaimer
-
setOneTimeUse
public void setOneTimeUse(boolean oneTimeUse) -
isOneTimeUse
public boolean isOneTimeUse() -
isUsableByPlayer
public boolean isUsableByPlayer(net.minecraft.world.entity.player.Player player) -
getLootTable
public net.minecraft.resources.ResourceLocation getLootTable() -
setLootTable
-
getScale
public float getScale() -
setScale
-
getColor
-
setColor
-
getCooldownColor
-
setCooldownColor
-
registerControllers
public void registerControllers(software.bernie.geckolib.core.animation.AnimatableManager.ControllerRegistrar controllers) - Specified by:
registerControllers
in interfacesoftware.bernie.geckolib.core.animatable.GeoAnimatable
-
getAnimatableInstanceCache
public software.bernie.geckolib.core.animatable.instance.AnimatableInstanceCache getAnimatableInstanceCache()- Specified by:
getAnimatableInstanceCache
in interfacesoftware.bernie.geckolib.core.animatable.GeoAnimatable
-