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
,CrafterBlock
,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
,TrialSpawnerBlock
,WallBannerBlock
,WallHangingSignBlock
,WallSignBlock
,WallSkullBlock
,WitherSkullBlock
,WitherWallSkullBlock
public interface EntityBlock
-
Method Summary
Modifier 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_)
-