Package net.minecraft.world.gen.placer
Class BlockPlacer
java.lang.Object
net.minecraft.world.gen.placer.BlockPlacer
- Direct Known Subclasses:
ColumnPlacer,DoublePlantPlacer,SimpleBlockPlacer
public abstract class BlockPlacer extends Object
- Mappings:
Namespace Name official cquintermediary net/minecraft/class_4629named net/minecraft/world/gen/placer/BlockPlacer
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<BlockPlacer>TYPE_CODEC -
Constructor Summary
Constructors Constructor Description BlockPlacer() -
Method Summary
Modifier and Type Method Description abstract voidgenerate(WorldAccess world, BlockPos pos, BlockState state, Random random)protected abstract BlockPlacerType<?>getType()
-
Field Details
-
TYPE_CODEC
- Mappings:
Namespace Name Mixin selector official aLcqu;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;
-
-
Constructor Details
-
BlockPlacer
public BlockPlacer()
-
-
Method Details
-
generate
- Mappings:
Namespace Name Mixin selector official aLcqu;a(Lbtw;Lfx;Lcht;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
- Mappings:
Namespace Name Mixin selector official aLcqu;a()Lcqv;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;
-