Package net.minecraft.block.entity
Class BlockEntityType<T extends BlockEntity>
java.lang.Object
net.minecraft.block.entity.BlockEntityType<T>
Represents a type of block entities.
There is one instance of block entity for each placed block entity; this class
represents the type of the placed block entities, like chests or furnaces.
Block entity types are pre-defined and registered in Registries.BLOCK_ENTITY_TYPE
. To create a block
entity type, the builder should be used.
Blocks that have corresponding block entities must implement BlockEntityProvider
and list it in the builder of the block
entity type. Multiple blocks or block states can be associated with a single block
entity type.
- See Also:
- Mappings:
Namespace Name named net/minecraft/block/entity/BlockEntityType
intermediary net/minecraft/class_2591
official dqj
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static interface
A functional interface for a factory that creates a new block entity instance.static final class
BlockEntityType.Builder<T extends BlockEntity>
Builder forBlockEntityType
. -
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
<BrushableBlockEntity> static final BlockEntityType
<CalibratedSculkSensorBlockEntity> static final BlockEntityType
<CampfireBlockEntity> static final BlockEntityType
<ChestBlockEntity> static final BlockEntityType
<ChiseledBookshelfBlockEntity> static final BlockEntityType
<CommandBlockBlockEntity> static final BlockEntityType
<ComparatorBlockEntity> static final BlockEntityType
<ConduitBlockEntity> static final BlockEntityType
<CrafterBlockEntity> static final BlockEntityType
<DaylightDetectorBlockEntity> static final BlockEntityType
<DecoratedPotBlockEntity> 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
<HangingSignBlockEntity> static final BlockEntityType
<HopperBlockEntity> static final BlockEntityType
<JigsawBlockEntity> static final BlockEntityType
<JukeboxBlockEntity> static final BlockEntityType
<LecternBlockEntity> private static final Logger
static final BlockEntityType
<MobSpawnerBlockEntity> static final BlockEntityType
<PistonBlockEntity> private final RegistryEntry.Reference
<BlockEntityType<?>> static final BlockEntityType
<SculkCatalystBlockEntity> static final BlockEntityType
<SculkSensorBlockEntity> static final BlockEntityType
<SculkShriekerBlockEntity> static final BlockEntityType
<ShulkerBoxBlockEntity> static final BlockEntityType
<SignBlockEntity> static final BlockEntityType
<SkullBlockEntity> static final BlockEntityType
<SmokerBlockEntity> static final BlockEntityType
<StructureBlockBlockEntity> static final BlockEntityType
<TrappedChestBlockEntity> static final BlockEntityType
<TrialSpawnerBlockEntity> private final com.mojang.datafixers.types.Type
<?> static final BlockEntityType
<VaultBlockEntity> -
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) Returns the block entity instance of this type atpos
, ornull
if no such block entity exists.static @Nullable Identifier
getId
(BlockEntityType<?> type) Returns the block entity type's ID, ornull
if it is unregistered.instantiate
(BlockPos pos, BlockState state) Returns a new instance of the block entity.boolean
supports
(BlockState state) Returns whether the block entity type supportsstate
.
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/block/entity/BlockEntityType;LOGGER:Lorg/slf4j/Logger;
intermediary field_11893
Lnet/minecraft/class_2591;field_11893:Lorg/slf4j/Logger;
official S
Ldqj;S:Lorg/slf4j/Logger;
-
FURNACE
- Mappings:
Namespace Name Mixin selector named FURNACE
Lnet/minecraft/block/entity/BlockEntityType;FURNACE:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11903
Lnet/minecraft/class_2591;field_11903:Lnet/minecraft/class_2591;
official a
Ldqj;a:Ldqj;
-
CHEST
- Mappings:
Namespace Name Mixin selector named CHEST
Lnet/minecraft/block/entity/BlockEntityType;CHEST:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11914
Lnet/minecraft/class_2591;field_11914:Lnet/minecraft/class_2591;
official b
Ldqj;b:Ldqj;
-
TRAPPED_CHEST
- Mappings:
Namespace Name Mixin selector named TRAPPED_CHEST
Lnet/minecraft/block/entity/BlockEntityType;TRAPPED_CHEST:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11891
Lnet/minecraft/class_2591;field_11891:Lnet/minecraft/class_2591;
official c
Ldqj;c:Ldqj;
-
ENDER_CHEST
- Mappings:
Namespace Name Mixin selector named ENDER_CHEST
Lnet/minecraft/block/entity/BlockEntityType;ENDER_CHEST:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11901
Lnet/minecraft/class_2591;field_11901:Lnet/minecraft/class_2591;
official d
Ldqj;d:Ldqj;
-
JUKEBOX
- Mappings:
Namespace Name Mixin selector named JUKEBOX
Lnet/minecraft/block/entity/BlockEntityType;JUKEBOX:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11907
Lnet/minecraft/class_2591;field_11907:Lnet/minecraft/class_2591;
official e
Ldqj;e:Ldqj;
-
DISPENSER
- Mappings:
Namespace Name Mixin selector named DISPENSER
Lnet/minecraft/block/entity/BlockEntityType;DISPENSER:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11887
Lnet/minecraft/class_2591;field_11887:Lnet/minecraft/class_2591;
official f
Ldqj;f:Ldqj;
-
DROPPER
- Mappings:
Namespace Name Mixin selector named DROPPER
Lnet/minecraft/block/entity/BlockEntityType;DROPPER:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11899
Lnet/minecraft/class_2591;field_11899:Lnet/minecraft/class_2591;
official g
Ldqj;g:Ldqj;
-
SIGN
- Mappings:
Namespace Name Mixin selector named SIGN
Lnet/minecraft/block/entity/BlockEntityType;SIGN:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11911
Lnet/minecraft/class_2591;field_11911:Lnet/minecraft/class_2591;
official h
Ldqj;h:Ldqj;
-
HANGING_SIGN
- Mappings:
Namespace Name Mixin selector named HANGING_SIGN
Lnet/minecraft/block/entity/BlockEntityType;HANGING_SIGN:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_40330
Lnet/minecraft/class_2591;field_40330:Lnet/minecraft/class_2591;
official i
Ldqj;i:Ldqj;
-
MOB_SPAWNER
- Mappings:
Namespace Name Mixin selector named MOB_SPAWNER
Lnet/minecraft/block/entity/BlockEntityType;MOB_SPAWNER:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11889
Lnet/minecraft/class_2591;field_11889:Lnet/minecraft/class_2591;
official j
Ldqj;j:Ldqj;
-
PISTON
- Mappings:
Namespace Name Mixin selector named PISTON
Lnet/minecraft/block/entity/BlockEntityType;PISTON:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11897
Lnet/minecraft/class_2591;field_11897:Lnet/minecraft/class_2591;
official k
Ldqj;k:Ldqj;
-
BREWING_STAND
- Mappings:
Namespace Name Mixin selector named BREWING_STAND
Lnet/minecraft/block/entity/BlockEntityType;BREWING_STAND:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11894
Lnet/minecraft/class_2591;field_11894:Lnet/minecraft/class_2591;
official l
Ldqj;l:Ldqj;
-
ENCHANTING_TABLE
- Mappings:
Namespace Name Mixin selector named ENCHANTING_TABLE
Lnet/minecraft/block/entity/BlockEntityType;ENCHANTING_TABLE:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11912
Lnet/minecraft/class_2591;field_11912:Lnet/minecraft/class_2591;
official m
Ldqj;m:Ldqj;
-
END_PORTAL
- Mappings:
Namespace Name Mixin selector named END_PORTAL
Lnet/minecraft/block/entity/BlockEntityType;END_PORTAL:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11898
Lnet/minecraft/class_2591;field_11898:Lnet/minecraft/class_2591;
official n
Ldqj;n:Ldqj;
-
BEACON
- Mappings:
Namespace Name Mixin selector named BEACON
Lnet/minecraft/block/entity/BlockEntityType;BEACON:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11890
Lnet/minecraft/class_2591;field_11890:Lnet/minecraft/class_2591;
official o
Ldqj;o:Ldqj;
-
SKULL
- Mappings:
Namespace Name Mixin selector named SKULL
Lnet/minecraft/block/entity/BlockEntityType;SKULL:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11913
Lnet/minecraft/class_2591;field_11913:Lnet/minecraft/class_2591;
official p
Ldqj;p:Ldqj;
-
DAYLIGHT_DETECTOR
- Mappings:
Namespace Name Mixin selector named DAYLIGHT_DETECTOR
Lnet/minecraft/block/entity/BlockEntityType;DAYLIGHT_DETECTOR:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11900
Lnet/minecraft/class_2591;field_11900:Lnet/minecraft/class_2591;
official q
Ldqj;q:Ldqj;
-
HOPPER
- Mappings:
Namespace Name Mixin selector named HOPPER
Lnet/minecraft/block/entity/BlockEntityType;HOPPER:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11888
Lnet/minecraft/class_2591;field_11888:Lnet/minecraft/class_2591;
official r
Ldqj;r:Ldqj;
-
COMPARATOR
- Mappings:
Namespace Name Mixin selector named COMPARATOR
Lnet/minecraft/block/entity/BlockEntityType;COMPARATOR:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11908
Lnet/minecraft/class_2591;field_11908:Lnet/minecraft/class_2591;
official s
Ldqj;s:Ldqj;
-
BANNER
- Mappings:
Namespace Name Mixin selector named BANNER
Lnet/minecraft/block/entity/BlockEntityType;BANNER:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11905
Lnet/minecraft/class_2591;field_11905:Lnet/minecraft/class_2591;
official t
Ldqj;t:Ldqj;
-
STRUCTURE_BLOCK
- Mappings:
Namespace Name Mixin selector named STRUCTURE_BLOCK
Lnet/minecraft/block/entity/BlockEntityType;STRUCTURE_BLOCK:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11895
Lnet/minecraft/class_2591;field_11895:Lnet/minecraft/class_2591;
official u
Ldqj;u:Ldqj;
-
END_GATEWAY
- Mappings:
Namespace Name Mixin selector named END_GATEWAY
Lnet/minecraft/block/entity/BlockEntityType;END_GATEWAY:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11906
Lnet/minecraft/class_2591;field_11906:Lnet/minecraft/class_2591;
official v
Ldqj;v:Ldqj;
-
COMMAND_BLOCK
- Mappings:
Namespace Name Mixin selector named COMMAND_BLOCK
Lnet/minecraft/block/entity/BlockEntityType;COMMAND_BLOCK:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11904
Lnet/minecraft/class_2591;field_11904:Lnet/minecraft/class_2591;
official w
Ldqj;w:Ldqj;
-
SHULKER_BOX
- Mappings:
Namespace Name Mixin selector named SHULKER_BOX
Lnet/minecraft/block/entity/BlockEntityType;SHULKER_BOX:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11896
Lnet/minecraft/class_2591;field_11896:Lnet/minecraft/class_2591;
official x
Ldqj;x:Ldqj;
-
BED
- Mappings:
Namespace Name Mixin selector named BED
Lnet/minecraft/block/entity/BlockEntityType;BED:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11910
Lnet/minecraft/class_2591;field_11910:Lnet/minecraft/class_2591;
official y
Ldqj;y:Ldqj;
-
CONDUIT
- Mappings:
Namespace Name Mixin selector named CONDUIT
Lnet/minecraft/block/entity/BlockEntityType;CONDUIT:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_11902
Lnet/minecraft/class_2591;field_11902:Lnet/minecraft/class_2591;
official z
Ldqj;z:Ldqj;
-
BARREL
- Mappings:
Namespace Name Mixin selector named BARREL
Lnet/minecraft/block/entity/BlockEntityType;BARREL:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_16411
Lnet/minecraft/class_2591;field_16411:Lnet/minecraft/class_2591;
official A
Ldqj;A:Ldqj;
-
SMOKER
- Mappings:
Namespace Name Mixin selector named SMOKER
Lnet/minecraft/block/entity/BlockEntityType;SMOKER:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_16414
Lnet/minecraft/class_2591;field_16414:Lnet/minecraft/class_2591;
official B
Ldqj;B:Ldqj;
-
BLAST_FURNACE
- Mappings:
Namespace Name Mixin selector named BLAST_FURNACE
Lnet/minecraft/block/entity/BlockEntityType;BLAST_FURNACE:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_16415
Lnet/minecraft/class_2591;field_16415:Lnet/minecraft/class_2591;
official C
Ldqj;C:Ldqj;
-
LECTERN
- Mappings:
Namespace Name Mixin selector named LECTERN
Lnet/minecraft/block/entity/BlockEntityType;LECTERN:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_16412
Lnet/minecraft/class_2591;field_16412:Lnet/minecraft/class_2591;
official D
Ldqj;D:Ldqj;
-
BELL
- Mappings:
Namespace Name Mixin selector named BELL
Lnet/minecraft/block/entity/BlockEntityType;BELL:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_16413
Lnet/minecraft/class_2591;field_16413:Lnet/minecraft/class_2591;
official E
Ldqj;E:Ldqj;
-
JIGSAW
- Mappings:
Namespace Name Mixin selector named JIGSAW
Lnet/minecraft/block/entity/BlockEntityType;JIGSAW:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_16549
Lnet/minecraft/class_2591;field_16549:Lnet/minecraft/class_2591;
official F
Ldqj;F:Ldqj;
-
CAMPFIRE
- Mappings:
Namespace Name Mixin selector named CAMPFIRE
Lnet/minecraft/block/entity/BlockEntityType;CAMPFIRE:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_17380
Lnet/minecraft/class_2591;field_17380:Lnet/minecraft/class_2591;
official G
Ldqj;G:Ldqj;
-
BEEHIVE
- Mappings:
Namespace Name Mixin selector named BEEHIVE
Lnet/minecraft/block/entity/BlockEntityType;BEEHIVE:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_20431
Lnet/minecraft/class_2591;field_20431:Lnet/minecraft/class_2591;
official H
Ldqj;H:Ldqj;
-
SCULK_SENSOR
- Mappings:
Namespace Name Mixin selector named SCULK_SENSOR
Lnet/minecraft/block/entity/BlockEntityType;SCULK_SENSOR:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_28117
Lnet/minecraft/class_2591;field_28117:Lnet/minecraft/class_2591;
official I
Ldqj;I:Ldqj;
-
CALIBRATED_SCULK_SENSOR
- Mappings:
Namespace Name Mixin selector named CALIBRATED_SCULK_SENSOR
Lnet/minecraft/block/entity/BlockEntityType;CALIBRATED_SCULK_SENSOR:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_43258
Lnet/minecraft/class_2591;field_43258:Lnet/minecraft/class_2591;
official J
Ldqj;J:Ldqj;
-
SCULK_CATALYST
- Mappings:
Namespace Name Mixin selector named SCULK_CATALYST
Lnet/minecraft/block/entity/BlockEntityType;SCULK_CATALYST:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_37647
Lnet/minecraft/class_2591;field_37647:Lnet/minecraft/class_2591;
official K
Ldqj;K:Ldqj;
-
SCULK_SHRIEKER
- Mappings:
Namespace Name Mixin selector named SCULK_SHRIEKER
Lnet/minecraft/block/entity/BlockEntityType;SCULK_SHRIEKER:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_37648
Lnet/minecraft/class_2591;field_37648:Lnet/minecraft/class_2591;
official L
Ldqj;L:Ldqj;
-
CHISELED_BOOKSHELF
- Mappings:
Namespace Name Mixin selector named CHISELED_BOOKSHELF
Lnet/minecraft/block/entity/BlockEntityType;CHISELED_BOOKSHELF:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_40329
Lnet/minecraft/class_2591;field_40329:Lnet/minecraft/class_2591;
official M
Ldqj;M:Ldqj;
-
BRUSHABLE_BLOCK
- Mappings:
Namespace Name Mixin selector named BRUSHABLE_BLOCK
Lnet/minecraft/block/entity/BlockEntityType;BRUSHABLE_BLOCK:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_42780
Lnet/minecraft/class_2591;field_42780:Lnet/minecraft/class_2591;
official N
Ldqj;N:Ldqj;
-
DECORATED_POT
- Mappings:
Namespace Name Mixin selector named DECORATED_POT
Lnet/minecraft/block/entity/BlockEntityType;DECORATED_POT:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_42781
Lnet/minecraft/class_2591;field_42781:Lnet/minecraft/class_2591;
official O
Ldqj;O:Ldqj;
-
CRAFTER
- Mappings:
Namespace Name Mixin selector named CRAFTER
Lnet/minecraft/block/entity/BlockEntityType;CRAFTER:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_46808
Lnet/minecraft/class_2591;field_46808:Lnet/minecraft/class_2591;
official P
Ldqj;P:Ldqj;
-
TRIAL_SPAWNER
- Mappings:
Namespace Name Mixin selector named TRIAL_SPAWNER
Lnet/minecraft/block/entity/BlockEntityType;TRIAL_SPAWNER:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_47352
Lnet/minecraft/class_2591;field_47352:Lnet/minecraft/class_2591;
official Q
Ldqj;Q:Ldqj;
-
VAULT
- Mappings:
Namespace Name Mixin selector named VAULT
Lnet/minecraft/block/entity/BlockEntityType;VAULT:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_48859
Lnet/minecraft/class_2591;field_48859:Lnet/minecraft/class_2591;
official R
Ldqj;R:Ldqj;
-
factory
- Mappings:
Namespace Name Mixin selector named factory
Lnet/minecraft/block/entity/BlockEntityType;factory:Lnet/minecraft/block/entity/BlockEntityType$BlockEntityFactory;
intermediary field_11892
Lnet/minecraft/class_2591;field_11892:Lnet/minecraft/class_2591$class_5559;
official T
Ldqj;T:Ldqj$a;
-
blocks
- Mappings:
Namespace Name Mixin selector named blocks
Lnet/minecraft/block/entity/BlockEntityType;blocks:Ljava/util/Set;
intermediary field_19315
Lnet/minecraft/class_2591;field_19315:Ljava/util/Set;
official U
Ldqj;U:Ljava/util/Set;
-
type
private final com.mojang.datafixers.types.Type<?> type- Mappings:
Namespace Name Mixin selector named type
Lnet/minecraft/block/entity/BlockEntityType;type:Lcom/mojang/datafixers/types/Type;
intermediary field_11909
Lnet/minecraft/class_2591;field_11909:Lcom/mojang/datafixers/types/Type;
official V
Ldqj;V:Lcom/mojang/datafixers/types/Type;
-
registryEntry
- Mappings:
Namespace Name Mixin selector named registryEntry
Lnet/minecraft/block/entity/BlockEntityType;registryEntry:Lnet/minecraft/registry/entry/RegistryEntry$Reference;
intermediary field_45786
Lnet/minecraft/class_2591;field_45786:Lnet/minecraft/class_6880$class_6883;
official W
Ldqj;W:Ljm$c;
-
-
Constructor Details
-
BlockEntityType
public BlockEntityType(BlockEntityType.BlockEntityFactory<? extends T> factory, Set<Block> blocks, com.mojang.datafixers.types.Type<?> type) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/block/entity/BlockEntityType;<init>(Lnet/minecraft/block/entity/BlockEntityType$BlockEntityFactory;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
official <init>
Ldqj;<init>(Ldqj$a;Ljava/util/Set;Lcom/mojang/datafixers/types/Type;)V
-
-
Method Details
-
getId
Returns the block entity type's ID, ornull
if it is unregistered.This should never return
null
under normal circumstances.- Returns:
- the block entity type's ID, or
null
if it is unregistered - Mappings:
Namespace Name Mixin selector named getId
Lnet/minecraft/block/entity/BlockEntityType;getId(Lnet/minecraft/block/entity/BlockEntityType;)Lnet/minecraft/util/Identifier;
intermediary method_11033
Lnet/minecraft/class_2591;method_11033(Lnet/minecraft/class_2591;)Lnet/minecraft/class_2960;
official a
Ldqj;a(Ldqj;)Lakr;
-
create
private static <T extends BlockEntity> BlockEntityType<T> create(String id, BlockEntityType.Builder<T> builder) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/block/entity/BlockEntityType;create(Ljava/lang/String;Lnet/minecraft/block/entity/BlockEntityType$Builder;)Lnet/minecraft/block/entity/BlockEntityType;
intermediary method_11030
Lnet/minecraft/class_2591;method_11030(Ljava/lang/String;Lnet/minecraft/class_2591$class_2592;)Lnet/minecraft/class_2591;
official a
Ldqj;a(Ljava/lang/String;Ldqj$b;)Ldqj;
-
instantiate
Returns a new instance of the block entity.- Returns:
- a new instance of the block entity
- See Also:
- Mappings:
Namespace Name Mixin selector named instantiate
Lnet/minecraft/block/entity/BlockEntityType;instantiate(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/entity/BlockEntity;
intermediary method_11032
Lnet/minecraft/class_2591;method_11032(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2586;
official a
Ldqj;a(Ljd;Ldtc;)Ldqh;
-
supports
Returns whether the block entity type supportsstate
.The block, not the block state, determines the corresponding block entity type; therefore, for states of the same block, the return value is the same.
- Returns:
- whether the block entity type supports
state
- Mappings:
Namespace Name Mixin selector named supports
Lnet/minecraft/block/entity/BlockEntityType;supports(Lnet/minecraft/block/BlockState;)Z
intermediary method_20526
Lnet/minecraft/class_2591;method_20526(Lnet/minecraft/class_2680;)Z
official a
Ldqj;a(Ldtc;)Z
-
getRegistryEntry
- Mappings:
Namespace Name Mixin selector named getRegistryEntry
Lnet/minecraft/block/entity/BlockEntityType;getRegistryEntry()Lnet/minecraft/registry/entry/RegistryEntry$Reference;
intermediary method_53254
Lnet/minecraft/class_2591;method_53254()Lnet/minecraft/class_6880$class_6883;
official a
Ldqj;a()Ljm$c;
-
get
Returns the block entity instance of this type atpos
, ornull
if no such block entity exists.- Returns:
- the block entity instance of this type at
pos
, ornull
if no such block entity exists - See Also:
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/block/entity/BlockEntityType;get(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
intermediary method_24182
Lnet/minecraft/class_2591;method_24182(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;
official a
Ldqj;a(Ldcc;Ljd;)Ldqh;
-