Package net.minecraft.world.level.block
Interface EntityBlock
- All Known Implementing Classes:
AbstractBannerBlock
,AbstractChestBlock
,AbstractFurnaceBlock
,AbstractSkullBlock
,BannerBlock
,BarrelBlock
,BaseEntityBlock
,BeaconBlock
,BedBlock
,BeehiveBlock
,BellBlock
,BlastFurnaceBlock
,BlockEntityOnLoadTest.TestBlock
,BrewingStandBlock
,BrushableBlock
,CalibratedSculkSensorBlock
,CampfireBlock
,CeilingHangingSignBlock
,ChestBlock
,ChiseledBookShelfBlock
,CommandBlock
,ComparatorBlock
,ConduitBlock
,CustomHeadTest.CustomSkullBlock
,CustomHeadTest.CustomWallSkullBlock
,CustomItemDisplayContextTest.ItemHangerBlock
,CustomSignsTest.CustomCeilingHangingSignBlock
,CustomSignsTest.CustomStandingSignBlock
,CustomSignsTest.CustomWallHangingSignBlock
,CustomSignsTest.CustomWallSignBlock
,DaylightDetectorBlock
,DecoratedPotBlock
,DispenserBlock
,DropperBlock
,EnchantmentTableBlock
,EnderChestBlock
,EndGatewayBlock
,EndPortalBlock
,FullPotsAccessorDemo.DioriteFlowerPotBlock
,FurnaceBlock
,GameTestTest.EnergyBlock
,HopperBlock
,JigsawBlock
,JukeboxBlock
,LecternBlock
,LevelSensitiveLightBlockTest.LightBlock
,MegaModelTest.TestBlock
,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 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_)
-