Skip to main content

Module entities

Module entities 

Source
Expand description

Block entity implementations.

ModulesΒ§

abstract_furnace πŸ”’
Shared furnace, blast-furnace, and smoker block-entity implementation.
barrel πŸ”’
Barrel block entity implementation.
beacon πŸ”’
Beacon block entity implementation.
beehive πŸ”’
Beehive block entity implementation.
bell πŸ”’
Bell Block entity behavior.
brushable πŸ”’
Brushable block entity for archaeology brush progress and delayed loot.
campfire πŸ”’
Campfire cooking block entity.
chiseled_bookshelf πŸ”’
Chiseled bookshelf block entity implementation.
comparator πŸ”’
Comparator block-entity output storage.
conduit πŸ”’
Conduit block entity implementation.
daylight_detector πŸ”’
Stateless ticking storage for daylight detectors.
enchanting_table πŸ”’
Enchanting table block entity.
end_gateway πŸ”’
End gateway block entity.
end_portal πŸ”’
End portal block entity.
ender_chest πŸ”’
Ender chest block entity implementation.
jukebox πŸ”’
Vanilla jukebox block-entity storage and song playback.
piston_moving πŸ”’
Vanilla moving-piston block entity.
potent_sulfur πŸ”’
PotentSulfurBlockEntity for geyser eruption
shulker_box πŸ”’
sign πŸ”’
Sign block entity implementation.
skull πŸ”’
spawner πŸ”’
Normal mob-spawner block entity and its persistent spawn configuration.
unimplemented πŸ”’
NBT-preserving fallback block entity.

StructsΒ§

BarrelBlockEntity
Barrel block entity.
BaseSpawner
Vanilla-style mutable spawner state shared by normal spawner block entities.
BaseSpawnerConfig
Spawn-cycle limits of a BaseSpawner: delays, mob counts and ranges.
BeaconBlockEntity
Beacon block entity.
BeaconState
Mutable beacon state shared with the menu’s data slots.
BeehiveBlockEntity
Beehive and bee nest block entity.
BellBlockEntity
Stores the transient state and entity reactions for a ringing bell.
BlastFurnaceBlockEntity
BlastFurnaceBlockEntity block entity backed by the shared smelting logic.
BrushableBlockEntity
Stores vanilla archaeology brush progress and delayed loot for brushable blocks.
CampfireBlockEntity
Stores four independently cooking campfire items.
ChiseledBookShelfBlockEntity
Six-slot storage for a chiseled bookshelf.
ComparatorBlockEntity
Block entity for comparator blocks, storing the cached output signal strength between recalculations.
ConduitBlockEntity
Conduit block entity.
CustomSpawnRules
Optional light restrictions stored in a spawner’s SpawnData.
DaylightDetectorBlockEntity
Ticking storage for a daylight detector; recomputes its redstone signal from sky light every 20 ticks.
EnchantingTableBlockEntity
Enchanting table block entity: holds the optional custom name.
EndGatewayBlockEntity
Block entity for end gateways, tracking beam age, teleport cooldown, and the linked exit portal position.
EndPortalBlockEntity
Marker block entity for end portal blocks, with no persisted state of its own.
EnderChestBlockEntity
Ender chest block entity.
EquipmentTable
Equipment loot-table configuration attached to spawner data.
FurnaceBlockEntity
FurnaceBlockEntity block entity backed by the shared smelting logic.
JukeboxBlockEntity
Block entity for jukeboxes, storing the inserted record and song playback progress.
LightRange
Inclusive light range used by custom spawner rules.
PistonMovingBlockEntity
Block entity attached to a block while a piston pushes or pulls it, tracking the in-progress movement animation.
PotentSulfurBlockEntity
Block entity for potent_sulfur blocks
ShulkerBoxBlockEntity
Block entity backing every shulker box color, including the undyed one.
SignBlockEntity
Sign block entity.
SignText
Text and styling for one side of a sign.
SkullBlockEntity
Skull block entity.
SmokerBlockEntity
SmokerBlockEntity block entity backed by the shared smelting logic.
SpawnData
Entity and optional rules used by a spawner.
SpawnerBlockEntity
Concrete normal mob-spawner block entity.
UnimplementedBlockEntity
Steel-specific fallback for block entity types whose runtime behavior is not implemented yet.
WeightedSpawnData
One weighted SpawnPotentials entry.

EnumsΒ§

AnimationStatus
The current animation state of a shulker box.
FurnaceKind
The operational differences between Vanilla’s three furnace block entities.

ConstantsΒ§

BARREL_SLOTS
Number of slots in a barrel (3 rows of 9).
BEEHIVE_MAX_OCCUPANTS
Maximum number of occupants in a vanilla beehive.
BEEHIVE_MIN_OCCUPATION_TICKS_NECTARLESS
Minimum occupation time for bees without nectar.
CAMPFIRE_SLOTS
Number of independently cooking item positions on a campfire.
CHISELED_BOOKSHELF_SLOTS
Number of slots in a chiseled bookshelf.
SHULKER_BOX_SLOTS
Number of slots in a shulker box (3 rows of 9).
SIGN_LINES
Number of text lines on each side of a sign.

TraitsΒ§

Spawner
Capability implemented by normal spawner block entities.