Class EnderChestBlockEntity
java.lang.Object
org.cloudburstmc.server.blockentity.BaseBlockEntity
org.cloudburstmc.server.blockentity.ChestBlockEntity
org.cloudburstmc.server.blockentity.EnderChestBlockEntity
- All Implemented Interfaces:
org.cloudburstmc.api.blockentity.BlockEntity,org.cloudburstmc.api.blockentity.Chest,org.cloudburstmc.api.blockentity.ContainerBlockEntity,org.cloudburstmc.api.blockentity.EnderChest,org.cloudburstmc.api.inventory.InventoryHolder
public class EnderChestBlockEntity
extends ChestBlockEntity
implements org.cloudburstmc.api.blockentity.EnderChest
-
Field Summary
Fields inherited from class org.cloudburstmc.server.blockentity.BaseBlockEntity
closed, id, ID_ALLOCATOR, lastUpdate, movable, server, timing -
Constructor Summary
ConstructorsConstructorDescriptionEnderChestBlockEntity(org.cloudburstmc.api.blockentity.BlockEntityType<?> type, org.cloudburstmc.api.level.chunk.Chunk chunk, com.nukkitx.math.vector.Vector3i position) -
Method Summary
Methods inherited from class org.cloudburstmc.server.blockentity.ChestBlockEntity
checkPairing, close, getInventory, getPair, getRealInventory, isFindable, isPaired, loadAdditionalData, onBreak, onUpdate, pairWith, saveAdditionalData, saveClientData, setFindable, setPairlead, unpairMethods inherited from class org.cloudburstmc.server.blockentity.BaseBlockEntity
getBlock, getBlockState, getChunk, getChunkTag, getClientTag, getCustomName, getId, getItemTag, getLevel, getPosition, getServer, getServerTag, getTag, getType, hasCustomName, init, isClosed, isMovable, scheduleUpdate, setCustomName, setDirty, setMovable, spawnTo, spawnToAll, updateFromClient, updateNbtMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cloudburstmc.api.blockentity.BlockEntity
close, getBlock, getBlockState, getCustomName, getLevel, getPosition, getType, hasCustomName, isClosed, isMovable, onBreak, onUpdate, scheduleUpdate, setCustomName, setDirty, setMovable, spawnTo, spawnToAllMethods inherited from interface org.cloudburstmc.api.blockentity.Chest
getInventory, getPair, isFindable, isPaired, pairWith, setFindable, unpairMethods inherited from interface org.cloudburstmc.api.blockentity.ContainerBlockEntity
getHopperPullSlots, getHopperPushSlots
-
Constructor Details
-
EnderChestBlockEntity
public EnderChestBlockEntity(org.cloudburstmc.api.blockentity.BlockEntityType<?> type, org.cloudburstmc.api.level.chunk.Chunk chunk, com.nukkitx.math.vector.Vector3i position)
-
-
Method Details
-
isValid
public boolean isValid()- Specified by:
isValidin interfaceorg.cloudburstmc.api.blockentity.BlockEntity- Overrides:
isValidin classChestBlockEntity
-
isSpawnable
public boolean isSpawnable()- Specified by:
isSpawnablein interfaceorg.cloudburstmc.api.blockentity.BlockEntity- Overrides:
isSpawnablein classChestBlockEntity
-