类 BlockPlacer
- java.lang.Object
-
- net.minecraft.world.gen.placer.BlockPlacer
-
- 直接已知子类:
ColumnPlacer,DoublePlantPlacer,SimpleBlockPlacer
public abstract class BlockPlacer extends Object
- Mappings:
Namespace Name official ctlintermediary net/minecraft/class_4629named net/minecraft/world/gen/placer/BlockPlacer
-
-
字段概要
字段 修饰符和类型 字段 说明 static com.mojang.serialization.Codec<BlockPlacer>TYPE_CODEC
-
构造器概要
构造器 构造器 说明 BlockPlacer()
-
-
-
字段详细资料
-
TYPE_CODEC
public static final com.mojang.serialization.Codec<BlockPlacer> TYPE_CODEC
- Mappings:
Namespace Name Mixin selector official aLctl;a:Lcom/mojang/serialization/Codec;intermediary field_24865Lnet/minecraft/class_4629;field_24865:Lcom/mojang/serialization/Codec;named TYPE_CODECLnet/minecraft/world/gen/placer/BlockPlacer;TYPE_CODEC:Lcom/mojang/serialization/Codec;
-
-
方法详细资料
-
generate
public abstract void generate(WorldAccess world, BlockPos pos, BlockState state, Random random)
- Mappings:
Namespace Name Mixin selector official aLctl;a(Lbvs;Lgb;Lcjr;Ljava/util/Random;)Vintermediary method_23403Lnet/minecraft/class_4629;method_23403(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Ljava/util/Random;)Vnamed generateLnet/minecraft/world/gen/placer/BlockPlacer;generate(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Ljava/util/Random;)V
-
getType
protected abstract BlockPlacerType<?> getType()
- Mappings:
Namespace Name Mixin selector official aLctl;a()Lctm;intermediary method_28673Lnet/minecraft/class_4629;method_28673()Lnet/minecraft/class_4630;named getTypeLnet/minecraft/world/gen/placer/BlockPlacer;getType()Lnet/minecraft/world/gen/placer/BlockPlacerType;
-
-