Package net.minecraft.block.entity
Class BlockEntityType.Builder<T extends BlockEntity>
java.lang.Object
net.minecraft.block.entity.BlockEntityType.Builder<T>
- Enclosing class:
- BlockEntityType<T extends BlockEntity>
public static final class BlockEntityType.Builder<T extends BlockEntity> extends Object
- Mappings:
Namespace Name official cft$b
intermediary net/minecraft/class_2591$class_2592
named net/minecraft/block/entity/BlockEntityType$Builder
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
Builder(BlockEntityType.BlockEntityFactory<? extends T> factory, Set<Block> blocks)
-
Method Summary
Modifier and Type Method Description BlockEntityType<T>
build(com.mojang.datafixers.types.Type<?> type)
static <T extends BlockEntity>
BlockEntityType.Builder<T>create(BlockEntityType.BlockEntityFactory<? extends T> factory, Block[] blocks)
-
Field Details
-
factory
- Mappings:
Namespace Name Mixin selector official a
Lcft$b;a:Lcft$a;
intermediary field_11915
Lnet/minecraft/class_2591$class_2592;field_11915:Lnet/minecraft/class_2591$class_5559;
named factory
Lnet/minecraft/block/entity/BlockEntityType$Builder;factory:Lnet/minecraft/block/entity/BlockEntityType$BlockEntityFactory;
-
blocks
- Mappings:
Namespace Name Mixin selector official b
Lcft$b;b:Ljava/util/Set;
intermediary field_19316
Lnet/minecraft/class_2591$class_2592;field_19316:Ljava/util/Set;
named blocks
Lnet/minecraft/block/entity/BlockEntityType$Builder;blocks:Ljava/util/Set;
-
-
Constructor Details
-
Builder
- Mappings:
Namespace Name Mixin selector official <init>
Lcft$b;<init>(Lcft$a;Ljava/util/Set;)V
intermediary <init>
Lnet/minecraft/class_2591$class_2592;<init>(Lnet/minecraft/class_2591$class_5559;Ljava/util/Set;)V
named <init>
Lnet/minecraft/block/entity/BlockEntityType$Builder;<init>(Lnet/minecraft/block/entity/BlockEntityType$BlockEntityFactory;Ljava/util/Set;)V
-
-
Method Details
-
create
public static <T extends BlockEntity> BlockEntityType.Builder<T> create(BlockEntityType.BlockEntityFactory<? extends T> factory, Block[] blocks)- Mappings:
Namespace Name Mixin selector official a
Lcft$b;a(Lcft$a;[Lbwu;)Lcft$b;
intermediary method_20528
Lnet/minecraft/class_2591$class_2592;method_20528(Lnet/minecraft/class_2591$class_5559;[Lnet/minecraft/class_2248;)Lnet/minecraft/class_2591$class_2592;
named create
Lnet/minecraft/block/entity/BlockEntityType$Builder;create(Lnet/minecraft/block/entity/BlockEntityType$BlockEntityFactory;[Lnet/minecraft/block/Block;)Lnet/minecraft/block/entity/BlockEntityType$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official a
Lcft$b;a(Lcom/mojang/datafixers/types/Type;)Lcft;
intermediary method_11034
Lnet/minecraft/class_2591$class_2592;method_11034(Lcom/mojang/datafixers/types/Type;)Lnet/minecraft/class_2591;
named build
Lnet/minecraft/block/entity/BlockEntityType$Builder;build(Lcom/mojang/datafixers/types/Type;)Lnet/minecraft/block/entity/BlockEntityType;
-