Class DoublePlantPlacer

java.lang.Object
net.minecraft.world.gen.placer.BlockPlacer
net.minecraft.world.gen.placer.DoublePlantPlacer

public class DoublePlantPlacer extends BlockPlacer
Mappings:
Namespace Name
official cut
intermediary net/minecraft/class_4632
named net/minecraft/world/gen/placer/DoublePlantPlacer
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<DoublePlantPlacer> CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Lcut;b:Lcom/mojang/serialization/Codec;
      intermediary field_24868 Lnet/minecraft/class_4632;field_24868:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/placer/DoublePlantPlacer;CODEC:Lcom/mojang/serialization/Codec;
    • INSTANCE

      public static final DoublePlantPlacer INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official c Lcut;c:Lcut;
      intermediary field_24869 Lnet/minecraft/class_4632;field_24869:Lnet/minecraft/class_4632;
      named INSTANCE Lnet/minecraft/world/gen/placer/DoublePlantPlacer;INSTANCE:Lnet/minecraft/world/gen/placer/DoublePlantPlacer;
  • Constructor Details

    • DoublePlantPlacer

      public DoublePlantPlacer()
  • Method Details

    • getType

      protected BlockPlacerType<?> getType()
      Specified by:
      getType in class BlockPlacer
      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;
    • generate

      public void generate(WorldAccess world, BlockPos pos, BlockState state, Random random)
      Specified by:
      generate in class BlockPlacer
      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