Package net.minecraft.world.level.block
Interface EntityBlock
- All Known Implementing Classes:
AbstractBannerBlock
,AbstractChestBlock
,AbstractFurnaceBlock
,AbstractSkullBlock
,BannerBlock
,BarrelBlock
,BaseEntityBlock
,BeaconBlock
,BedBlock
,BeehiveBlock
,BellBlock
,BlastFurnaceBlock
,BlockPropertyTests.LightBlock
,BrewingStandBlock
,BrushableBlock
,CalibratedSculkSensorBlock
,CampfireBlock
,CeilingHangingSignBlock
,ChestBlock
,ChiseledBookShelfBlock
,CommandBlock
,ComparatorBlock
,ConduitBlock
,CrafterBlock
,CustomHeadTest.CustomSkullBlock
,CustomHeadTest.CustomWallSkullBlock
,CustomItemDisplayContextTest.ItemHangerBlock
,CustomSignsTest.CustomCeilingHangingSignBlock
,CustomSignsTest.CustomStandingSignBlock
,CustomSignsTest.CustomWallHangingSignBlock
,CustomSignsTest.CustomWallSignBlock
,DaylightDetectorBlock
,DecoratedPotBlock
,DispenserBlock
,DropperBlock
,EnchantingTableBlock
,EnderChestBlock
,EndGatewayBlock
,EndPortalBlock
,FullPotsAccessorDemo.DioriteFlowerPotBlock
,FurnaceBlock
,GameTestTest.EnergyBlock
,HopperBlock
,JigsawBlock
,JukeboxBlock
,LecternBlock
,MegaModelTest.TestBlock
,MovingPistonBlock
,PiglinWallSkullBlock
,PlayerHeadBlock
,PlayerWallHeadBlock
,SculkCatalystBlock
,SculkSensorBlock
,SculkShriekerBlock
,ShulkerBoxBlock
,SignBlock
,SkullBlock
,SmokerBlock
,SpawnerBlock
,StandingSignBlock
,StructureBlock
,TrappedChestBlock
,TrialSpawnerBlock
,VaultBlock
,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_)
-