Class FeatureSizeType<P extends FeatureSize>

java.lang.Object
net.minecraft.world.gen.feature.size.FeatureSizeType<P>

public class FeatureSizeType<P extends FeatureSize> extends Object
Mappings:
Namespace Name
official cwr
intermediary net/minecraft/class_5202
named net/minecraft/world/gen/feature/size/FeatureSizeType
  • Field Details

    • TWO_LAYERS_FEATURE_SIZE

      public static final FeatureSizeType<TwoLayersFeatureSize> TWO_LAYERS_FEATURE_SIZE
      Mappings:
      Namespace Name Mixin selector
      official a Lcwr;a:Lcwr;
      intermediary field_24147 Lnet/minecraft/class_5202;field_24147:Lnet/minecraft/class_5202;
      named TWO_LAYERS_FEATURE_SIZE Lnet/minecraft/world/gen/feature/size/FeatureSizeType;TWO_LAYERS_FEATURE_SIZE:Lnet/minecraft/world/gen/feature/size/FeatureSizeType;
    • THREE_LAYERS_FEATURE_SIZE

      public static final FeatureSizeType<ThreeLayersFeatureSize> THREE_LAYERS_FEATURE_SIZE
      Mappings:
      Namespace Name Mixin selector
      official b Lcwr;b:Lcwr;
      intermediary field_24148 Lnet/minecraft/class_5202;field_24148:Lnet/minecraft/class_5202;
      named THREE_LAYERS_FEATURE_SIZE Lnet/minecraft/world/gen/feature/size/FeatureSizeType;THREE_LAYERS_FEATURE_SIZE:Lnet/minecraft/world/gen/feature/size/FeatureSizeType;
    • codec

      private final com.mojang.serialization.Codec<P extends FeatureSize> codec
      Mappings:
      Namespace Name Mixin selector
      official c Lcwr;c:Lcom/mojang/serialization/Codec;
      intermediary field_24923 Lnet/minecraft/class_5202;field_24923:Lcom/mojang/serialization/Codec;
      named codec Lnet/minecraft/world/gen/feature/size/FeatureSizeType;codec:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • FeatureSizeType

      private FeatureSizeType(com.mojang.serialization.Codec<P> codec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcwr;<init>(Lcom/mojang/serialization/Codec;)V
      intermediary <init> Lnet/minecraft/class_5202;<init>(Lcom/mojang/serialization/Codec;)V
      named <init> Lnet/minecraft/world/gen/feature/size/FeatureSizeType;<init>(Lcom/mojang/serialization/Codec;)V
  • Method Details

    • register

      private static <P extends FeatureSize> FeatureSizeType<P> register(String id, com.mojang.serialization.Codec<P> codec)
      Mappings:
      Namespace Name Mixin selector
      official a Lcwr;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lcwr;
      intermediary method_27382 Lnet/minecraft/class_5202;method_27382(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_5202;
      named register Lnet/minecraft/world/gen/feature/size/FeatureSizeType;register(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/gen/feature/size/FeatureSizeType;
    • getCodec

      public com.mojang.serialization.Codec<P> getCodec()
      Mappings:
      Namespace Name Mixin selector
      official a Lcwr;a()Lcom/mojang/serialization/Codec;
      intermediary method_28825 Lnet/minecraft/class_5202;method_28825()Lcom/mojang/serialization/Codec;
      named getCodec Lnet/minecraft/world/gen/feature/size/FeatureSizeType;getCodec()Lcom/mojang/serialization/Codec;