Package net.minecraft.block.entity
Class BlockEntityType<T extends BlockEntity>
java.lang.Object
net.minecraft.block.entity.BlockEntityType<T>
- Mappings:
Namespace Name official cmt
intermediary net/minecraft/class_2591
named net/minecraft/block/entity/BlockEntityType
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static interface
static final class
BlockEntityType.Builder<T extends BlockEntity>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BlockEntityType<BannerBlockEntity>
static final BlockEntityType<BarrelBlockEntity>
static final BlockEntityType<BeaconBlockEntity>
static final BlockEntityType<BedBlockEntity>
static final BlockEntityType<BeehiveBlockEntity>
static final BlockEntityType<BellBlockEntity>
static final BlockEntityType<BlastFurnaceBlockEntity>
static final BlockEntityType<BrewingStandBlockEntity>
static final BlockEntityType<CampfireBlockEntity>
static final BlockEntityType<ChestBlockEntity>
static final BlockEntityType<CommandBlockBlockEntity>
static final BlockEntityType<ComparatorBlockEntity>
static final BlockEntityType<ConduitBlockEntity>
static final BlockEntityType<DaylightDetectorBlockEntity>
static final BlockEntityType<DispenserBlockEntity>
static final BlockEntityType<DropperBlockEntity>
static final BlockEntityType<EnchantingTableBlockEntity>
static final BlockEntityType<EndGatewayBlockEntity>
static final BlockEntityType<EndPortalBlockEntity>
static final BlockEntityType<EnderChestBlockEntity>
private final BlockEntityType.BlockEntityFactory<? extends T>
static final BlockEntityType<FurnaceBlockEntity>
static final BlockEntityType<HopperBlockEntity>
static final BlockEntityType<JigsawBlockEntity>
static final BlockEntityType<JukeboxBlockEntity>
static final BlockEntityType<LecternBlockEntity>
private static final org.slf4j.Logger
static final BlockEntityType<MobSpawnerBlockEntity>
static final BlockEntityType<PistonBlockEntity>
static final BlockEntityType<SculkSensorBlockEntity>
static final BlockEntityType<ShulkerBoxBlockEntity>
static final BlockEntityType<SignBlockEntity>
static final BlockEntityType<SkullBlockEntity>
static final BlockEntityType<SmokerBlockEntity>
static final BlockEntityType<StructureBlockBlockEntity>
static final BlockEntityType<TrappedChestBlockEntity>
private final com.mojang.datafixers.types.Type<?>
-
Constructor Summary
ConstructorDescriptionBlockEntityType
(BlockEntityType.BlockEntityFactory<? extends T> factory, Set<Block> blocks, com.mojang.datafixers.types.Type<?> type) -
Method Summary
Modifier and TypeMethodDescriptionprivate static <T extends BlockEntity>
BlockEntityType<T>create
(String id, BlockEntityType.Builder<T> builder) static @Nullable Identifier
getId
(BlockEntityType<?> type) instantiate
(BlockPos pos, BlockState state) boolean
supports
(BlockState state)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official I
Lcmt;I:Lorg/slf4j/Logger;
intermediary field_11893
Lnet/minecraft/class_2591;field_11893:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/block/entity/BlockEntityType;LOGGER:Lorg/slf4j/Logger;
-
FURNACE
- Mappings:
Namespace Name Mixin selector official a
Lcmt;a:Lcmt;
intermediary field_11903
Lnet/minecraft/class_2591;field_11903:Lnet/minecraft/class_2591;
named FURNACE
Lnet/minecraft/block/entity/BlockEntityType;FURNACE:Lnet/minecraft/block/entity/BlockEntityType;
-
CHEST
- Mappings:
Namespace Name Mixin selector official b
Lcmt;b:Lcmt;
intermediary field_11914
Lnet/minecraft/class_2591;field_11914:Lnet/minecraft/class_2591;
named CHEST
Lnet/minecraft/block/entity/BlockEntityType;CHEST:Lnet/minecraft/block/entity/BlockEntityType;
-
TRAPPED_CHEST
- Mappings:
Namespace Name Mixin selector official c
Lcmt;c:Lcmt;
intermediary field_11891
Lnet/minecraft/class_2591;field_11891:Lnet/minecraft/class_2591;
named TRAPPED_CHEST
Lnet/minecraft/block/entity/BlockEntityType;TRAPPED_CHEST:Lnet/minecraft/block/entity/BlockEntityType;
-
ENDER_CHEST
- Mappings:
Namespace Name Mixin selector official d
Lcmt;d:Lcmt;
intermediary field_11901
Lnet/minecraft/class_2591;field_11901:Lnet/minecraft/class_2591;
named ENDER_CHEST
Lnet/minecraft/block/entity/BlockEntityType;ENDER_CHEST:Lnet/minecraft/block/entity/BlockEntityType;
-
JUKEBOX
- Mappings:
Namespace Name Mixin selector official e
Lcmt;e:Lcmt;
intermediary field_11907
Lnet/minecraft/class_2591;field_11907:Lnet/minecraft/class_2591;
named JUKEBOX
Lnet/minecraft/block/entity/BlockEntityType;JUKEBOX:Lnet/minecraft/block/entity/BlockEntityType;
-
DISPENSER
- Mappings:
Namespace Name Mixin selector official f
Lcmt;f:Lcmt;
intermediary field_11887
Lnet/minecraft/class_2591;field_11887:Lnet/minecraft/class_2591;
named DISPENSER
Lnet/minecraft/block/entity/BlockEntityType;DISPENSER:Lnet/minecraft/block/entity/BlockEntityType;
-
DROPPER
- Mappings:
Namespace Name Mixin selector official g
Lcmt;g:Lcmt;
intermediary field_11899
Lnet/minecraft/class_2591;field_11899:Lnet/minecraft/class_2591;
named DROPPER
Lnet/minecraft/block/entity/BlockEntityType;DROPPER:Lnet/minecraft/block/entity/BlockEntityType;
-
SIGN
- Mappings:
Namespace Name Mixin selector official h
Lcmt;h:Lcmt;
intermediary field_11911
Lnet/minecraft/class_2591;field_11911:Lnet/minecraft/class_2591;
named SIGN
Lnet/minecraft/block/entity/BlockEntityType;SIGN:Lnet/minecraft/block/entity/BlockEntityType;
-
MOB_SPAWNER
- Mappings:
Namespace Name Mixin selector official i
Lcmt;i:Lcmt;
intermediary field_11889
Lnet/minecraft/class_2591;field_11889:Lnet/minecraft/class_2591;
named MOB_SPAWNER
Lnet/minecraft/block/entity/BlockEntityType;MOB_SPAWNER:Lnet/minecraft/block/entity/BlockEntityType;
-
PISTON
- Mappings:
Namespace Name Mixin selector official j
Lcmt;j:Lcmt;
intermediary field_11897
Lnet/minecraft/class_2591;field_11897:Lnet/minecraft/class_2591;
named PISTON
Lnet/minecraft/block/entity/BlockEntityType;PISTON:Lnet/minecraft/block/entity/BlockEntityType;
-
BREWING_STAND
- Mappings:
Namespace Name Mixin selector official k
Lcmt;k:Lcmt;
intermediary field_11894
Lnet/minecraft/class_2591;field_11894:Lnet/minecraft/class_2591;
named BREWING_STAND
Lnet/minecraft/block/entity/BlockEntityType;BREWING_STAND:Lnet/minecraft/block/entity/BlockEntityType;
-
ENCHANTING_TABLE
- Mappings:
Namespace Name Mixin selector official l
Lcmt;l:Lcmt;
intermediary field_11912
Lnet/minecraft/class_2591;field_11912:Lnet/minecraft/class_2591;
named ENCHANTING_TABLE
Lnet/minecraft/block/entity/BlockEntityType;ENCHANTING_TABLE:Lnet/minecraft/block/entity/BlockEntityType;
-
END_PORTAL
- Mappings:
Namespace Name Mixin selector official m
Lcmt;m:Lcmt;
intermediary field_11898
Lnet/minecraft/class_2591;field_11898:Lnet/minecraft/class_2591;
named END_PORTAL
Lnet/minecraft/block/entity/BlockEntityType;END_PORTAL:Lnet/minecraft/block/entity/BlockEntityType;
-
BEACON
- Mappings:
Namespace Name Mixin selector official n
Lcmt;n:Lcmt;
intermediary field_11890
Lnet/minecraft/class_2591;field_11890:Lnet/minecraft/class_2591;
named BEACON
Lnet/minecraft/block/entity/BlockEntityType;BEACON:Lnet/minecraft/block/entity/BlockEntityType;
-
SKULL
- Mappings:
Namespace Name Mixin selector official o
Lcmt;o:Lcmt;
intermediary field_11913
Lnet/minecraft/class_2591;field_11913:Lnet/minecraft/class_2591;
named SKULL
Lnet/minecraft/block/entity/BlockEntityType;SKULL:Lnet/minecraft/block/entity/BlockEntityType;
-
DAYLIGHT_DETECTOR
- Mappings:
Namespace Name Mixin selector official p
Lcmt;p:Lcmt;
intermediary field_11900
Lnet/minecraft/class_2591;field_11900:Lnet/minecraft/class_2591;
named DAYLIGHT_DETECTOR
Lnet/minecraft/block/entity/BlockEntityType;DAYLIGHT_DETECTOR:Lnet/minecraft/block/entity/BlockEntityType;
-
HOPPER
- Mappings:
Namespace Name Mixin selector official q
Lcmt;q:Lcmt;
intermediary field_11888
Lnet/minecraft/class_2591;field_11888:Lnet/minecraft/class_2591;
named HOPPER
Lnet/minecraft/block/entity/BlockEntityType;HOPPER:Lnet/minecraft/block/entity/BlockEntityType;
-
COMPARATOR
- Mappings:
Namespace Name Mixin selector official r
Lcmt;r:Lcmt;
intermediary field_11908
Lnet/minecraft/class_2591;field_11908:Lnet/minecraft/class_2591;
named COMPARATOR
Lnet/minecraft/block/entity/BlockEntityType;COMPARATOR:Lnet/minecraft/block/entity/BlockEntityType;
-
BANNER
- Mappings:
Namespace Name Mixin selector official s
Lcmt;s:Lcmt;
intermediary field_11905
Lnet/minecraft/class_2591;field_11905:Lnet/minecraft/class_2591;
named BANNER
Lnet/minecraft/block/entity/BlockEntityType;BANNER:Lnet/minecraft/block/entity/BlockEntityType;
-
STRUCTURE_BLOCK
- Mappings:
Namespace Name Mixin selector official t
Lcmt;t:Lcmt;
intermediary field_11895
Lnet/minecraft/class_2591;field_11895:Lnet/minecraft/class_2591;
named STRUCTURE_BLOCK
Lnet/minecraft/block/entity/BlockEntityType;STRUCTURE_BLOCK:Lnet/minecraft/block/entity/BlockEntityType;
-
END_GATEWAY
- Mappings:
Namespace Name Mixin selector official u
Lcmt;u:Lcmt;
intermediary field_11906
Lnet/minecraft/class_2591;field_11906:Lnet/minecraft/class_2591;
named END_GATEWAY
Lnet/minecraft/block/entity/BlockEntityType;END_GATEWAY:Lnet/minecraft/block/entity/BlockEntityType;
-
COMMAND_BLOCK
- Mappings:
Namespace Name Mixin selector official v
Lcmt;v:Lcmt;
intermediary field_11904
Lnet/minecraft/class_2591;field_11904:Lnet/minecraft/class_2591;
named COMMAND_BLOCK
Lnet/minecraft/block/entity/BlockEntityType;COMMAND_BLOCK:Lnet/minecraft/block/entity/BlockEntityType;
-
SHULKER_BOX
- Mappings:
Namespace Name Mixin selector official w
Lcmt;w:Lcmt;
intermediary field_11896
Lnet/minecraft/class_2591;field_11896:Lnet/minecraft/class_2591;
named SHULKER_BOX
Lnet/minecraft/block/entity/BlockEntityType;SHULKER_BOX:Lnet/minecraft/block/entity/BlockEntityType;
-
BED
- Mappings:
Namespace Name Mixin selector official x
Lcmt;x:Lcmt;
intermediary field_11910
Lnet/minecraft/class_2591;field_11910:Lnet/minecraft/class_2591;
named BED
Lnet/minecraft/block/entity/BlockEntityType;BED:Lnet/minecraft/block/entity/BlockEntityType;
-
CONDUIT
- Mappings:
Namespace Name Mixin selector official y
Lcmt;y:Lcmt;
intermediary field_11902
Lnet/minecraft/class_2591;field_11902:Lnet/minecraft/class_2591;
named CONDUIT
Lnet/minecraft/block/entity/BlockEntityType;CONDUIT:Lnet/minecraft/block/entity/BlockEntityType;
-
BARREL
- Mappings:
Namespace Name Mixin selector official z
Lcmt;z:Lcmt;
intermediary field_16411
Lnet/minecraft/class_2591;field_16411:Lnet/minecraft/class_2591;
named BARREL
Lnet/minecraft/block/entity/BlockEntityType;BARREL:Lnet/minecraft/block/entity/BlockEntityType;
-
SMOKER
- Mappings:
Namespace Name Mixin selector official A
Lcmt;A:Lcmt;
intermediary field_16414
Lnet/minecraft/class_2591;field_16414:Lnet/minecraft/class_2591;
named SMOKER
Lnet/minecraft/block/entity/BlockEntityType;SMOKER:Lnet/minecraft/block/entity/BlockEntityType;
-
BLAST_FURNACE
- Mappings:
Namespace Name Mixin selector official B
Lcmt;B:Lcmt;
intermediary field_16415
Lnet/minecraft/class_2591;field_16415:Lnet/minecraft/class_2591;
named BLAST_FURNACE
Lnet/minecraft/block/entity/BlockEntityType;BLAST_FURNACE:Lnet/minecraft/block/entity/BlockEntityType;
-
LECTERN
- Mappings:
Namespace Name Mixin selector official C
Lcmt;C:Lcmt;
intermediary field_16412
Lnet/minecraft/class_2591;field_16412:Lnet/minecraft/class_2591;
named LECTERN
Lnet/minecraft/block/entity/BlockEntityType;LECTERN:Lnet/minecraft/block/entity/BlockEntityType;
-
BELL
- Mappings:
Namespace Name Mixin selector official D
Lcmt;D:Lcmt;
intermediary field_16413
Lnet/minecraft/class_2591;field_16413:Lnet/minecraft/class_2591;
named BELL
Lnet/minecraft/block/entity/BlockEntityType;BELL:Lnet/minecraft/block/entity/BlockEntityType;
-
JIGSAW
- Mappings:
Namespace Name Mixin selector official E
Lcmt;E:Lcmt;
intermediary field_16549
Lnet/minecraft/class_2591;field_16549:Lnet/minecraft/class_2591;
named JIGSAW
Lnet/minecraft/block/entity/BlockEntityType;JIGSAW:Lnet/minecraft/block/entity/BlockEntityType;
-
CAMPFIRE
- Mappings:
Namespace Name Mixin selector official F
Lcmt;F:Lcmt;
intermediary field_17380
Lnet/minecraft/class_2591;field_17380:Lnet/minecraft/class_2591;
named CAMPFIRE
Lnet/minecraft/block/entity/BlockEntityType;CAMPFIRE:Lnet/minecraft/block/entity/BlockEntityType;
-
BEEHIVE
- Mappings:
Namespace Name Mixin selector official G
Lcmt;G:Lcmt;
intermediary field_20431
Lnet/minecraft/class_2591;field_20431:Lnet/minecraft/class_2591;
named BEEHIVE
Lnet/minecraft/block/entity/BlockEntityType;BEEHIVE:Lnet/minecraft/block/entity/BlockEntityType;
-
SCULK_SENSOR
- Mappings:
Namespace Name Mixin selector official H
Lcmt;H:Lcmt;
intermediary field_28117
Lnet/minecraft/class_2591;field_28117:Lnet/minecraft/class_2591;
named SCULK_SENSOR
Lnet/minecraft/block/entity/BlockEntityType;SCULK_SENSOR:Lnet/minecraft/block/entity/BlockEntityType;
-
factory
- Mappings:
Namespace Name Mixin selector official J
Lcmt;J:Lcmt$a;
intermediary field_11892
Lnet/minecraft/class_2591;field_11892:Lnet/minecraft/class_2591$class_5559;
named factory
Lnet/minecraft/block/entity/BlockEntityType;factory:Lnet/minecraft/block/entity/BlockEntityType$BlockEntityFactory;
-
blocks
- Mappings:
Namespace Name Mixin selector official K
Lcmt;K:Ljava/util/Set;
intermediary field_19315
Lnet/minecraft/class_2591;field_19315:Ljava/util/Set;
named blocks
Lnet/minecraft/block/entity/BlockEntityType;blocks:Ljava/util/Set;
-
type
private final com.mojang.datafixers.types.Type<?> type- Mappings:
Namespace Name Mixin selector official L
Lcmt;L:Lcom/mojang/datafixers/types/Type;
intermediary field_11909
Lnet/minecraft/class_2591;field_11909:Lcom/mojang/datafixers/types/Type;
named type
Lnet/minecraft/block/entity/BlockEntityType;type:Lcom/mojang/datafixers/types/Type;
-
-
Constructor Details
-
BlockEntityType
public BlockEntityType(BlockEntityType.BlockEntityFactory<? extends T> factory, Set<Block> blocks, com.mojang.datafixers.types.Type<?> type) - Mappings:
Namespace Name Mixin selector official <init>
Lcmt;<init>(Lcmt$a;Ljava/util/Set;Lcom/mojang/datafixers/types/Type;)V
intermediary <init>
Lnet/minecraft/class_2591;<init>(Lnet/minecraft/class_2591$class_5559;Ljava/util/Set;Lcom/mojang/datafixers/types/Type;)V
named <init>
Lnet/minecraft/block/entity/BlockEntityType;<init>(Lnet/minecraft/block/entity/BlockEntityType$BlockEntityFactory;Ljava/util/Set;Lcom/mojang/datafixers/types/Type;)V
-
-
Method Details
-
getId
- Mappings:
Namespace Name Mixin selector official a
Lcmt;a(Lcmt;)Lyt;
intermediary method_11033
Lnet/minecraft/class_2591;method_11033(Lnet/minecraft/class_2591;)Lnet/minecraft/class_2960;
named getId
Lnet/minecraft/block/entity/BlockEntityType;getId(Lnet/minecraft/block/entity/BlockEntityType;)Lnet/minecraft/util/Identifier;
-
create
private static <T extends BlockEntity> BlockEntityType<T> create(String id, BlockEntityType.Builder<T> builder) - Mappings:
Namespace Name Mixin selector official a
Lcmt;a(Ljava/lang/String;Lcmt$b;)Lcmt;
intermediary method_11030
Lnet/minecraft/class_2591;method_11030(Ljava/lang/String;Lnet/minecraft/class_2591$class_2592;)Lnet/minecraft/class_2591;
named create
Lnet/minecraft/block/entity/BlockEntityType;create(Ljava/lang/String;Lnet/minecraft/block/entity/BlockEntityType$Builder;)Lnet/minecraft/block/entity/BlockEntityType;
-
instantiate
- Mappings:
Namespace Name Mixin selector official a
Lcmt;a(Lgj;Lcov;)Lcmr;
intermediary method_11032
Lnet/minecraft/class_2591;method_11032(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2586;
named instantiate
Lnet/minecraft/block/entity/BlockEntityType;instantiate(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/entity/BlockEntity;
-
supports
- Mappings:
Namespace Name Mixin selector official a
Lcmt;a(Lcov;)Z
intermediary method_20526
Lnet/minecraft/class_2591;method_20526(Lnet/minecraft/class_2680;)Z
named supports
Lnet/minecraft/block/entity/BlockEntityType;supports(Lnet/minecraft/block/BlockState;)Z
-
get
- Mappings:
Namespace Name Mixin selector official a
Lcmt;a(Lcab;Lgj;)Lcmr;
intermediary method_24182
Lnet/minecraft/class_2591;method_24182(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;
named get
Lnet/minecraft/block/entity/BlockEntityType;get(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
-