类 ConstantHeightProvider


  • public class ConstantHeightProvider
    extends HeightProvider
    Mappings:
    Namespace Name
    official cxv
    intermediary net/minecraft/class_6121
    named net/minecraft/world/gen/heightprovider/ConstantHeightProvider
    • 字段详细资料

      • ZERO

        public static final ConstantHeightProvider ZERO
        Mappings:
        Namespace Name Mixin selector
        official a Lcxv;a:Lcxv;
        intermediary field_31536 Lnet/minecraft/class_6121;field_31536:Lnet/minecraft/class_6121;
        named ZERO Lnet/minecraft/world/gen/heightprovider/ConstantHeightProvider;ZERO:Lnet/minecraft/world/gen/heightprovider/ConstantHeightProvider;
      • CONSTANT_CODEC

        public static final com.mojang.serialization.Codec<ConstantHeightProvider> CONSTANT_CODEC
        Mappings:
        Namespace Name Mixin selector
        official b Lcxv;b:Lcom/mojang/serialization/Codec;
        intermediary field_31537 Lnet/minecraft/class_6121;field_31537:Lcom/mojang/serialization/Codec;
        named CONSTANT_CODEC Lnet/minecraft/world/gen/heightprovider/ConstantHeightProvider;CONSTANT_CODEC:Lcom/mojang/serialization/Codec;
      • offset

        private final YOffset offset
        Mappings:
        Namespace Name Mixin selector
        official d Lcxv;d:Lcpe;
        intermediary field_31538 Lnet/minecraft/class_6121;field_31538:Lnet/minecraft/class_5843;
        named offset Lnet/minecraft/world/gen/heightprovider/ConstantHeightProvider;offset:Lnet/minecraft/world/gen/YOffset;
    • 构造器详细资料

      • ConstantHeightProvider

        private ConstantHeightProvider​(YOffset offset)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lcxv;<init>(Lcpe;)V
        intermediary <init> Lnet/minecraft/class_6121;<init>(Lnet/minecraft/class_5843;)V
        named <init> Lnet/minecraft/world/gen/heightprovider/ConstantHeightProvider;<init>(Lnet/minecraft/world/gen/YOffset;)V
    • 方法详细资料

      • create

        public static ConstantHeightProvider create​(YOffset offset)
        Mappings:
        Namespace Name Mixin selector
        official a Lcxv;a(Lcpe;)Lcxv;
        intermediary method_35383 Lnet/minecraft/class_6121;method_35383(Lnet/minecraft/class_5843;)Lnet/minecraft/class_6121;
        named create Lnet/minecraft/world/gen/heightprovider/ConstantHeightProvider;create(Lnet/minecraft/world/gen/YOffset;)Lnet/minecraft/world/gen/heightprovider/ConstantHeightProvider;
      • getOffset

        public YOffset getOffset()
        Mappings:
        Namespace Name Mixin selector
        official b Lcxv;b()Lcpe;
        intermediary method_35385 Lnet/minecraft/class_6121;method_35385()Lnet/minecraft/class_5843;
        named getOffset Lnet/minecraft/world/gen/heightprovider/ConstantHeightProvider;getOffset()Lnet/minecraft/world/gen/YOffset;
      • get

        public int get​(Random random,
                       HeightContext context)
        指定者:
        get 在类中 HeightProvider
        Mappings:
        Namespace Name Mixin selector
        official a Lcxw;a(Ljava/util/Random;Lcpg;)I
        intermediary method_35391 Lnet/minecraft/class_6122;method_35391(Ljava/util/Random;Lnet/minecraft/class_5868;)I
        named get Lnet/minecraft/world/gen/heightprovider/HeightProvider;get(Ljava/util/Random;Lnet/minecraft/world/gen/HeightContext;)I
      • equals

        public boolean equals​(Object object)
        覆盖:
        equals 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official equals Lcxv;equals(Ljava/lang/Object;)Z
        intermediary equals Lnet/minecraft/class_6121;equals(Ljava/lang/Object;)Z
        named equals Lnet/minecraft/world/gen/heightprovider/ConstantHeightProvider;equals(Ljava/lang/Object;)Z
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official hashCode Lcxv;hashCode()I
        intermediary hashCode Lnet/minecraft/class_6121;hashCode()I
        named hashCode Lnet/minecraft/world/gen/heightprovider/ConstantHeightProvider;hashCode()I
      • getType

        public HeightProviderType<?> getType()
        指定者:
        getType 在类中 HeightProvider
        Mappings:
        Namespace Name Mixin selector
        official a Lcxw;a()Lcxx;
        intermediary method_35388 Lnet/minecraft/class_6122;method_35388()Lnet/minecraft/class_6123;
        named getType Lnet/minecraft/world/gen/heightprovider/HeightProvider;getType()Lnet/minecraft/world/gen/heightprovider/HeightProviderType;
      • toString

        public String toString()
        覆盖:
        toString 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official toString Lcxv;toString()Ljava/lang/String;
        intermediary toString Lnet/minecraft/class_6121;toString()Ljava/lang/String;
        named toString Lnet/minecraft/world/gen/heightprovider/ConstantHeightProvider;toString()Ljava/lang/String;