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, SculkCatalystBlock, SculkSensorBlock, SculkShriekerBlock, ShulkerBoxBlock, SignBlock, SkullBlock, SmokerBlock, SpawnerBlock, StructureBlock, TrappedChestBlock, WallBannerBlock, WallPlayerSkullBlock, WallSignBlock, WallSkullBlock, WallWitherSkullBlock, WitherSkullBlock

public interface BlockEntityProvider
Mappings:
Namespace Name
official cle
intermediary net/minecraft/class_2343
named net/minecraft/block/BlockEntityProvider
  • Method Details

    • createBlockEntity

      @Nullable @Nullable BlockEntity createBlockEntity(BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lcle;a(Lgt;Lcur;)Lcsl;
      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> @Nullable BlockEntityTicker<T> getTicker(World world, BlockState state, BlockEntityType<T> type)
      Mappings:
      Namespace Name Mixin selector
      official a Lcle;a(Lcga;Lcur;Lcsn;)Lcsm;
      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> @Nullable GameEventListener getGameEventListener(ServerWorld world, T blockEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcle;a(Lafo;Lcsl;)Lcza;
      intermediary method_32896 Lnet/minecraft/class_2343;method_32896(Lnet/minecraft/class_3218;Lnet/minecraft/class_2586;)Lnet/minecraft/class_5714;
      named getGameEventListener Lnet/minecraft/block/BlockEntityProvider;getGameEventListener(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/block/entity/BlockEntity;)Lnet/minecraft/world/event/listener/GameEventListener;