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
,CampfireBlock
,ChestBlock
,CommandBlock
,ComparatorBlock
,ConduitBlock
,CustomSignsTest.CustomStandingSignBlock
,CustomSignsTest.CustomWallSignBlock
,DaylightDetectorBlock
,DispenserBlock
,DropperBlock
,EnchantmentTableBlock
,EnderChestBlock
,EndGatewayBlock
,EndPortalBlock
,FullPotsAccessorDemo.DioriteFlowerPotBlock
,FurnaceBlock
,HopperBlock
,JigsawBlock
,JukeboxBlock
,LecternBlock
,MovingPistonBlock
,PlayerHeadBlock
,PlayerWallHeadBlock
,SculkSensorBlock
,ShulkerBoxBlock
,SignBlock
,SkullBlock
,SmokerBlock
,SpawnerBlock
,StandingSignBlock
,StructureBlock
,TrappedChestBlock
,WallBannerBlock
,WallSignBlock
,WallSkullBlock
,WitherSkullBlock
,WitherWallSkullBlock
public interface EntityBlock
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T extends BlockEntity>
GameEventListenergetListener(Level p_153210_, T p_153211_)
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(Level p_153210_, T p_153211_)
-