类 BlockPlacerType<P extends BlockPlacer>
- java.lang.Object
-
- net.minecraft.world.gen.placer.BlockPlacerType<P>
-
public class BlockPlacerType<P extends BlockPlacer> extends Object
- Mappings:
Namespace Name official ctmintermediary net/minecraft/class_4630named net/minecraft/world/gen/placer/BlockPlacerType
-
-
字段概要
字段 修饰符和类型 字段 说明 private com.mojang.serialization.Codec<P>codecstatic BlockPlacerType<ColumnPlacer>COLUMN_PLACERstatic BlockPlacerType<DoublePlantPlacer>DOUBLE_PLANT_PLACERstatic BlockPlacerType<SimpleBlockPlacer>SIMPLE_BLOCK_PLACER
-
构造器概要
构造器 限定符 构造器 说明 privateBlockPlacerType(com.mojang.serialization.Codec<P> codec)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 com.mojang.serialization.Codec<P>getCodec()private static <P extends BlockPlacer>
BlockPlacerType<P>register(String id, com.mojang.serialization.Codec<P> codec)
-
-
-
字段详细资料
-
SIMPLE_BLOCK_PLACER
public static final BlockPlacerType<SimpleBlockPlacer> SIMPLE_BLOCK_PLACER
- Mappings:
Namespace Name Mixin selector official aLctm;a:Lctm;intermediary field_21223Lnet/minecraft/class_4630;field_21223:Lnet/minecraft/class_4630;named SIMPLE_BLOCK_PLACERLnet/minecraft/world/gen/placer/BlockPlacerType;SIMPLE_BLOCK_PLACER:Lnet/minecraft/world/gen/placer/BlockPlacerType;
-
DOUBLE_PLANT_PLACER
public static final BlockPlacerType<DoublePlantPlacer> DOUBLE_PLANT_PLACER
- Mappings:
Namespace Name Mixin selector official bLctm;b:Lctm;intermediary field_21224Lnet/minecraft/class_4630;field_21224:Lnet/minecraft/class_4630;named DOUBLE_PLANT_PLACERLnet/minecraft/world/gen/placer/BlockPlacerType;DOUBLE_PLANT_PLACER:Lnet/minecraft/world/gen/placer/BlockPlacerType;
-
COLUMN_PLACER
public static final BlockPlacerType<ColumnPlacer> COLUMN_PLACER
- Mappings:
Namespace Name Mixin selector official cLctm;c:Lctm;intermediary field_21225Lnet/minecraft/class_4630;field_21225:Lnet/minecraft/class_4630;named COLUMN_PLACERLnet/minecraft/world/gen/placer/BlockPlacerType;COLUMN_PLACER:Lnet/minecraft/world/gen/placer/BlockPlacerType;
-
codec
private final com.mojang.serialization.Codec<P extends BlockPlacer> codec
- Mappings:
Namespace Name Mixin selector official dLctm;d:Lcom/mojang/serialization/Codec;intermediary field_24866Lnet/minecraft/class_4630;field_24866:Lcom/mojang/serialization/Codec;named codecLnet/minecraft/world/gen/placer/BlockPlacerType;codec:Lcom/mojang/serialization/Codec;
-
-
构造器详细资料
-
BlockPlacerType
private BlockPlacerType(com.mojang.serialization.Codec<P> codec)
- Mappings:
Namespace Name Mixin selector official <init>Lctm;<init>(Lcom/mojang/serialization/Codec;)Vintermediary <init>Lnet/minecraft/class_4630;<init>(Lcom/mojang/serialization/Codec;)Vnamed <init>Lnet/minecraft/world/gen/placer/BlockPlacerType;<init>(Lcom/mojang/serialization/Codec;)V
-
-
方法详细资料
-
register
private static <P extends BlockPlacer> BlockPlacerType<P> register(String id, com.mojang.serialization.Codec<P> codec)
- Mappings:
Namespace Name Mixin selector official aLctm;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lctm;intermediary method_23405Lnet/minecraft/class_4630;method_23405(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_4630;named registerLnet/minecraft/world/gen/placer/BlockPlacerType;register(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/gen/placer/BlockPlacerType;
-
getCodec
public com.mojang.serialization.Codec<P> getCodec()
- Mappings:
Namespace Name Mixin selector official aLctm;a()Lcom/mojang/serialization/Codec;intermediary method_28674Lnet/minecraft/class_4630;method_28674()Lcom/mojang/serialization/Codec;named getCodecLnet/minecraft/world/gen/placer/BlockPlacerType;getCodec()Lcom/mojang/serialization/Codec;
-
-