类 ThreeLayersFeatureSize


  • public class ThreeLayersFeatureSize
    extends FeatureSize
    Mappings:
    Namespace Name
    official cvo
    intermediary net/minecraft/class_5203
    named net/minecraft/world/gen/feature/size/ThreeLayersFeatureSize
    • 字段详细资料

      • CODEC

        public static final com.mojang.serialization.Codec<ThreeLayersFeatureSize> CODEC
        Mappings:
        Namespace Name Mixin selector
        official d Lcvo;d:Lcom/mojang/serialization/Codec;
        intermediary field_24924 Lnet/minecraft/class_5203;field_24924:Lcom/mojang/serialization/Codec;
        named CODEC Lnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;CODEC:Lcom/mojang/serialization/Codec;
      • limit

        private final int limit
        Mappings:
        Namespace Name Mixin selector
        official e Lcvo;e:I
        intermediary field_24150 Lnet/minecraft/class_5203;field_24150:I
        named limit Lnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;limit:I
      • upperLimit

        private final int upperLimit
        Mappings:
        Namespace Name Mixin selector
        official f Lcvo;f:I
        intermediary field_24151 Lnet/minecraft/class_5203;field_24151:I
        named upperLimit Lnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;upperLimit:I
      • lowerSize

        private final int lowerSize
        Mappings:
        Namespace Name Mixin selector
        official g Lcvo;g:I
        intermediary field_24152 Lnet/minecraft/class_5203;field_24152:I
        named lowerSize Lnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;lowerSize:I
      • middleSize

        private final int middleSize
        Mappings:
        Namespace Name Mixin selector
        official h Lcvo;h:I
        intermediary field_24153 Lnet/minecraft/class_5203;field_24153:I
        named middleSize Lnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;middleSize:I
      • upperSize

        private final int upperSize
        Mappings:
        Namespace Name Mixin selector
        official i Lcvo;i:I
        intermediary field_24154 Lnet/minecraft/class_5203;field_24154:I
        named upperSize Lnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;upperSize:I
    • 构造器详细资料

      • ThreeLayersFeatureSize

        public ThreeLayersFeatureSize​(int limit,
                                      int upperLimit,
                                      int lowerSize,
                                      int middleSize,
                                      int upperSize,
                                      OptionalInt minClippedHeight)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lcvo;<init>(IIIIILjava/util/OptionalInt;)V
        intermediary <init> Lnet/minecraft/class_5203;<init>(IIIIILjava/util/OptionalInt;)V
        named <init> Lnet/minecraft/world/gen/feature/size/ThreeLayersFeatureSize;<init>(IIIIILjava/util/OptionalInt;)V
    • 方法详细资料

      • getType

        protected FeatureSizeType<?> getType()
        指定者:
        getType 在类中 FeatureSize
        Mappings:
        Namespace Name Mixin selector
        official b Lcvm;b()Lcvn;
        intermediary method_28824 Lnet/minecraft/class_5201;method_28824()Lnet/minecraft/class_5202;
        named getType Lnet/minecraft/world/gen/feature/size/FeatureSize;getType()Lnet/minecraft/world/gen/feature/size/FeatureSizeType;
      • getRadius

        public int getRadius​(int height,
                             int y)
        The radius that the tree needs to be empty or replaceable in order for it to generate.
        指定者:
        getRadius 在类中 FeatureSize
        Mappings:
        Namespace Name Mixin selector
        official a Lcvm;a(II)I
        intermediary method_27378 Lnet/minecraft/class_5201;method_27378(II)I
        named getRadius Lnet/minecraft/world/gen/feature/size/FeatureSize;getRadius(II)I