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 cuq
intermediary net/minecraft/class_4629
named net/minecraft/world/gen/placer/BlockPlacer
  • Field Details

    • TYPE_CODEC

      public static final com.mojang.serialization.Codec<BlockPlacer> TYPE_CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lcuq;a:Lcom/mojang/serialization/Codec;
      intermediary field_24865 Lnet/minecraft/class_4629;field_24865:Lcom/mojang/serialization/Codec;
      named TYPE_CODEC Lnet/minecraft/world/gen/placer/BlockPlacer;TYPE_CODEC:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • BlockPlacer

      public BlockPlacer()
  • Method Details

    • generate

      public abstract void generate(WorldAccess world, BlockPos pos, BlockState state, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lcuq;a(Lbwq;Lgg;Lcks;Ljava/util/Random;)V
      intermediary method_23403 Lnet/minecraft/class_4629;method_23403(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Ljava/util/Random;)V
      named generate Lnet/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 a Lcuq;a()Lcur;
      intermediary method_28673 Lnet/minecraft/class_4629;method_28673()Lnet/minecraft/class_4630;
      named getType Lnet/minecraft/world/gen/placer/BlockPlacer;getType()Lnet/minecraft/world/gen/placer/BlockPlacerType;