Package net.minecraft.block
Interface BlockEntityProvider
- All Known Implementing Classes:
AbstractBannerBlock
,AbstractChestBlock
,AbstractFurnaceBlock
,AbstractSignBlock
,AbstractSkullBlock
,BannerBlock
,BarrelBlock
,BeaconBlock
,BedBlock
,BeehiveBlock
,BellBlock
,BlastFurnaceBlock
,BlockWithEntity
,BrewingStandBlock
,CampfireBlock
,ChestBlock
,CommandBlock
,ComparatorBlock
,ConduitBlock
,DaylightDetectorBlock
,DispenserBlock
,DropperBlock
,EnchantingTableBlock
,EnderChestBlock
,EndGatewayBlock
,EndPortalBlock
,FurnaceBlock
,HopperBlock
,JigsawBlock
,JukeboxBlock
,LecternBlock
,PistonExtensionBlock
,PlayerSkullBlock
,SculkSensorBlock
,ShulkerBoxBlock
,SignBlock
,SkullBlock
,SmokerBlock
,SpawnerBlock
,StructureBlock
,TrappedChestBlock
,WallBannerBlock
,WallPlayerSkullBlock
,WallSignBlock
,WallSkullBlock
,WallWitherSkullBlock
,WitherSkullBlock
public interface BlockEntityProvider
- Mappings:
Namespace Name official bzb
intermediary net/minecraft/class_2343
named net/minecraft/block/BlockEntityProvider
-
Method Summary
Modifier and Type Method Description BlockEntity
createBlockEntity(BlockPos pos, BlockState state)
default <T extends BlockEntity>
GameEventListenergetGameEventListener(World world, T blockEntity)
default <T extends BlockEntity>
BlockEntityTicker<T>getTicker(World world, BlockState state, BlockEntityType<T> type)
-
Method Details
-
createBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lbzb;a(Lfx;Lcht;)Lcfr;
intermediary method_10123
Lnet/minecraft/class_2343;method_10123(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2586;
named createBlockEntity
Lnet/minecraft/block/BlockEntityProvider;createBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/entity/BlockEntity;
-
getTicker
@Nullable default <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state, BlockEntityType<T> type)- Mappings:
Namespace Name Mixin selector official a
Lbzb;a(Lbtv;Lcht;Lcft;)Lcfs;
intermediary method_31645
Lnet/minecraft/class_2343;method_31645(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_2591;)Lnet/minecraft/class_5558;
named getTicker
Lnet/minecraft/block/BlockEntityProvider;getTicker(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BlockEntityType;)Lnet/minecraft/block/entity/BlockEntityTicker;
-
getGameEventListener
@Nullable default <T extends BlockEntity> GameEventListener getGameEventListener(World world, T blockEntity)- Mappings:
Namespace Name Mixin selector official a
Lbzb;a(Lbtv;Lcfr;)Lclv;
intermediary method_32896
Lnet/minecraft/class_2343;method_32896(Lnet/minecraft/class_1937;Lnet/minecraft/class_2586;)Lnet/minecraft/class_5714;
named getGameEventListener
Lnet/minecraft/block/BlockEntityProvider;getGameEventListener(Lnet/minecraft/world/World;Lnet/minecraft/block/entity/BlockEntity;)Lnet/minecraft/world/event/listener/GameEventListener;
-