Class 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 cur
intermediary net/minecraft/class_4630
named net/minecraft/world/gen/placer/BlockPlacerType
  • Field Details

    • SIMPLE_BLOCK_PLACER

      public static final BlockPlacerType<SimpleBlockPlacer> SIMPLE_BLOCK_PLACER
      Mappings:
      Namespace Name Mixin selector
      official a Lcur;a:Lcur;
      intermediary field_21223 Lnet/minecraft/class_4630;field_21223:Lnet/minecraft/class_4630;
      named SIMPLE_BLOCK_PLACER Lnet/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 b Lcur;b:Lcur;
      intermediary field_21224 Lnet/minecraft/class_4630;field_21224:Lnet/minecraft/class_4630;
      named DOUBLE_PLANT_PLACER Lnet/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 c Lcur;c:Lcur;
      intermediary field_21225 Lnet/minecraft/class_4630;field_21225:Lnet/minecraft/class_4630;
      named COLUMN_PLACER Lnet/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 d Lcur;d:Lcom/mojang/serialization/Codec;
      intermediary field_24866 Lnet/minecraft/class_4630;field_24866:Lcom/mojang/serialization/Codec;
      named codec Lnet/minecraft/world/gen/placer/BlockPlacerType;codec:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • BlockPlacerType

      private BlockPlacerType(com.mojang.serialization.Codec<P> codec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcur;<init>(Lcom/mojang/serialization/Codec;)V
      intermediary <init> Lnet/minecraft/class_4630;<init>(Lcom/mojang/serialization/Codec;)V
      named <init> Lnet/minecraft/world/gen/placer/BlockPlacerType;<init>(Lcom/mojang/serialization/Codec;)V
  • Method Details

    • register

      private static <P extends BlockPlacer> BlockPlacerType<P> register(String id, com.mojang.serialization.Codec<P> codec)
      Mappings:
      Namespace Name Mixin selector
      official a Lcur;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lcur;
      intermediary method_23405 Lnet/minecraft/class_4630;method_23405(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_4630;
      named register Lnet/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 a Lcur;a()Lcom/mojang/serialization/Codec;
      intermediary method_28674 Lnet/minecraft/class_4630;method_28674()Lcom/mojang/serialization/Codec;
      named getCodec Lnet/minecraft/world/gen/placer/BlockPlacerType;getCodec()Lcom/mojang/serialization/Codec;