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

    Constructors
    Constructor
    Description
    PokeStopTileEntity(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 Type
    Method
    Description
    void
    addClaimer(UUID playerID)
     
    boolean
    canClaim(UUID playerID)
    Deprecated.
    boolean
    canClaim(net.minecraft.world.entity.player.Player player)
     
    software.bernie.geckolib.core.animatable.instance.AnimatableInstanceCache
     
     
     
    getLootClaim(UUID playerID)
     
    getLootClaim(net.minecraft.world.entity.player.Player player)
     
    net.minecraft.resources.ResourceLocation
     
    float
     
    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)
     
    setColor(Color color)
     
    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 class net.minecraft.world.level.block.entity.BlockEntity
    • load

      public void load(net.minecraft.nbt.CompoundTag tag)
      Overrides:
      load in class net.minecraft.world.level.block.entity.BlockEntity
    • getUpdateTag

      public net.minecraft.nbt.CompoundTag getUpdateTag()
      Overrides:
      getUpdateTag in class net.minecraft.world.level.block.entity.BlockEntity
    • getUpdatePacket

      public net.minecraft.network.protocol.game.ClientboundBlockEntityDataPacket getUpdatePacket()
      Overrides:
      getUpdatePacket in class net.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 interface net.minecraftforge.common.extensions.IForgeBlockEntity
    • canClaim

      public boolean canClaim(net.minecraft.world.entity.player.Player player)
    • canClaim

      @Deprecated public boolean canClaim(UUID playerID)
      Deprecated.
    • getLootClaim

      public LootClaim getLootClaim(net.minecraft.world.entity.player.Player player)
    • getLootClaim

      public LootClaim getLootClaim(UUID playerID)
    • addClaimer

      public void addClaimer(UUID playerID)
    • removeClaimer

      public void removeClaimer(UUID playerID)
    • 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

      public PokeStopTileEntity setLootTable(net.minecraft.resources.ResourceLocation lootTable)
    • getScale

      public float getScale()
    • setScale

      public PokeStopTileEntity setScale(float scale)
    • getColor

      public Color getColor()
    • setColor

      public PokeStopTileEntity setColor(Color color)
    • getCooldownColor

      public Color getCooldownColor()
    • setCooldownColor

      public PokeStopTileEntity setCooldownColor(Color cooldownColor)
    • registerControllers

      public void registerControllers(software.bernie.geckolib.core.animation.AnimatableManager.ControllerRegistrar controllers)
      Specified by:
      registerControllers in interface software.bernie.geckolib.core.animatable.GeoAnimatable
    • getAnimatableInstanceCache

      public software.bernie.geckolib.core.animatable.instance.AnimatableInstanceCache getAnimatableInstanceCache()
      Specified by:
      getAnimatableInstanceCache in interface software.bernie.geckolib.core.animatable.GeoAnimatable