Package net.minecraft.block.entity
Interface BlockEntityType.BlockEntityFactory<T extends BlockEntity>
- Enclosing class:
BlockEntityType<T extends BlockEntity>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
private static interface BlockEntityType.BlockEntityFactory<T extends BlockEntity>
A functional interface for a factory that creates a new block entity
instance. This is usually not implemented directly; the block entity class's
constructor (such as
MyBlockEntity::MyBlockEntity
) can be used as the
implementation.- Mappings:
Namespace Name official dgx$a
intermediary net/minecraft/class_2591$class_5559
named net/minecraft/block/entity/BlockEntityType$BlockEntityFactory
-
Method Summary
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official create
Ldgx$a;create(Lhx;Ldjh;)Ldgv;
intermediary create
Lnet/minecraft/class_2591$class_5559;create(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2586;
named create
Lnet/minecraft/block/entity/BlockEntityType$BlockEntityFactory;create(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/entity/BlockEntity;
-