Package net.minecraft.world.level.block
Interface EntityBlock
- All Known Implementing Classes:
- AbstractBannerBlock,- AbstractChestBlock,- AbstractFurnaceBlock,- AbstractSkullBlock,- BannerBlock,- BarrelBlock,- BaseEntityBlock,- BeaconBlock,- BedBlock,- BeehiveBlock,- BellBlock,- BlastFurnaceBlock,- BrewingStandBlock,- BrushableBlock,- CalibratedSculkSensorBlock,- CampfireBlock,- CeilingHangingSignBlock,- ChestBlock,- ChiseledBookShelfBlock,- CommandBlock,- ComparatorBlock,- ConduitBlock,- DaylightDetectorBlock,- DecoratedPotBlock,- DispenserBlock,- DropperBlock,- EnchantmentTableBlock,- EnderChestBlock,- EndGatewayBlock,- EndPortalBlock,- FurnaceBlock,- HopperBlock,- JigsawBlock,- JukeboxBlock,- LecternBlock,- MovingPistonBlock,- PiglinWallSkullBlock,- PlayerHeadBlock,- PlayerWallHeadBlock,- SculkCatalystBlock,- SculkSensorBlock,- SculkShriekerBlock,- ShulkerBoxBlock,- SignBlock,- SkullBlock,- SmokerBlock,- SpawnerBlock,- StandingSignBlock,- StructureBlock,- TrappedChestBlock,- WallBannerBlock,- WallHangingSignBlock,- WallSignBlock,- WallSkullBlock,- WitherSkullBlock,- WitherWallSkullBlock
public interface EntityBlock
- 
Method SummaryModifier and TypeMethodDescriptiondefault <T extends BlockEntity>
 GameEventListenergetListener(ServerLevel p_221121_, T p_221122_) default <T extends BlockEntity>
 BlockEntityTicker<T>getTicker(Level p_153212_, BlockState p_153213_, BlockEntityType<T> p_153214_) newBlockEntity(BlockPos p_153215_, BlockState p_153216_) 
- 
Method Details- 
newBlockEntity
- 
getTicker@Nullable default <T extends BlockEntity> BlockEntityTicker<T> getTicker(Level p_153212_, BlockState p_153213_, BlockEntityType<T> p_153214_) 
- 
getListener@Nullable default <T extends BlockEntity> GameEventListener getListener(ServerLevel p_221121_, T p_221122_) 
 
-