Class ModTrappedChestBlockEntity

java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.level.block.entity.BlockEntity>
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.BaseContainerBlockEntity
net.minecraft.world.level.block.entity.RandomizableContainerBlockEntity
net.minecraft.world.level.block.entity.ChestBlockEntity
com.idark.valoria.registries.block.entity.ModTrappedChestBlockEntity
All Implemented Interfaces:
net.minecraft.world.Clearable, net.minecraft.world.Container, net.minecraft.world.inventory.MenuConstructor, net.minecraft.world.level.block.entity.LidBlockEntity, net.minecraft.world.MenuProvider, net.minecraft.world.Nameable, 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>

public class ModTrappedChestBlockEntity extends net.minecraft.world.level.block.entity.ChestBlockEntity
  • 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.RandomizableContainerBlockEntity

    LOOT_TABLE_SEED_TAG, LOOT_TABLE_TAG, lootTable, lootTableSeed

    Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity

    level, remove, worldPosition

    Fields inherited from interface net.minecraft.world.Container

    DEFAULT_DISTANCE_LIMIT, LARGE_MAX_STACK_SIZE

    Fields inherited from interface net.minecraftforge.common.extensions.IForgeBlockEntity

    INFINITE_EXTENT_AABB
  • Constructor Summary

    Constructors
    Constructor
    Description
    ModTrappedChestBlockEntity(net.minecraft.core.BlockPos pPos, net.minecraft.world.level.block.state.BlockState pBlockState)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.level.block.entity.BlockEntityType<?>
     
    protected void
    signalOpenCount(net.minecraft.world.level.Level p_155865_, net.minecraft.core.BlockPos p_155866_, net.minecraft.world.level.block.state.BlockState p_155867_, int p_155868_, int p_155869_)
     

    Methods inherited from class net.minecraft.world.level.block.entity.ChestBlockEntity

    createMenu, getCapability, getContainerSize, getDefaultName, getItems, getOpenCount, getOpenNess, invalidateCaps, lidAnimateTick, load, recheckOpen, saveAdditional, setBlockState, setItems, startOpen, stopOpen, swapContents, triggerEvent

    Methods inherited from class net.minecraft.world.level.block.entity.RandomizableContainerBlockEntity

    canOpen, clearContent, createMenu, getItem, isEmpty, removeItem, removeItemNoUpdate, setItem, setLootTable, setLootTable, stillValid, tryLoadLootTable, trySaveLootTable, unpackLootTable

    Methods inherited from class net.minecraft.world.level.block.entity.BaseContainerBlockEntity

    canUnlock, createUnSidedHandler, getCustomName, getDisplayName, getName, reviveCaps, setCustomName

    Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity

    addEntityType, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPersistentData, getPosFromTag, getUpdatePacket, getUpdateTag, hasLevel, isRemoved, loadStatic, onChunkUnloaded, onlyOpCanSetNbt, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setChanged, setChanged, setLevel, setRemoved

    Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider

    areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, serializeCaps

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.world.Container

    canPlaceItem, canTakeItem, countItem, getMaxStackSize, hasAnyMatching, hasAnyOf, setChanged

    Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider

    getCapability

    Methods inherited from interface net.minecraftforge.common.extensions.IForgeBlockEntity

    deserializeNBT, getModelData, getRenderBoundingBox, handleUpdateTag, hasCustomOutlineRendering, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT

    Methods inherited from interface net.minecraft.world.Nameable

    hasCustomName
  • Constructor Details

    • ModTrappedChestBlockEntity

      public ModTrappedChestBlockEntity(net.minecraft.core.BlockPos pPos, net.minecraft.world.level.block.state.BlockState pBlockState)
  • Method Details

    • signalOpenCount

      protected void signalOpenCount(net.minecraft.world.level.Level p_155865_, net.minecraft.core.BlockPos p_155866_, net.minecraft.world.level.block.state.BlockState p_155867_, int p_155868_, int p_155869_)
      Overrides:
      signalOpenCount in class net.minecraft.world.level.block.entity.ChestBlockEntity
    • getType

      public net.minecraft.world.level.block.entity.BlockEntityType<?> getType()
      Overrides:
      getType in class net.minecraft.world.level.block.entity.BlockEntity