接口 HeightProviderType<P extends HeightProvider>


  • public interface HeightProviderType<P extends HeightProvider>
    Mappings:
    Namespace Name
    official cxx
    intermediary net/minecraft/class_6123
    named net/minecraft/world/gen/heightprovider/HeightProviderType
    • 字段详细资料

      • CONSTANT

        static final HeightProviderType<ConstantHeightProvider> CONSTANT
        Mappings:
        Namespace Name Mixin selector
        official a Lcxx;a:Lcxx;
        intermediary field_31541 Lnet/minecraft/class_6123;field_31541:Lnet/minecraft/class_6123;
        named CONSTANT Lnet/minecraft/world/gen/heightprovider/HeightProviderType;CONSTANT:Lnet/minecraft/world/gen/heightprovider/HeightProviderType;
      • UNIFORM

        static final HeightProviderType<UniformHeightProvider> UNIFORM
        Mappings:
        Namespace Name Mixin selector
        official b Lcxx;b:Lcxx;
        intermediary field_31542 Lnet/minecraft/class_6123;field_31542:Lnet/minecraft/class_6123;
        named UNIFORM Lnet/minecraft/world/gen/heightprovider/HeightProviderType;UNIFORM:Lnet/minecraft/world/gen/heightprovider/HeightProviderType;
      • BIASED_TO_BOTTOM

        static final HeightProviderType<BiasedToBottomHeightProvider> BIASED_TO_BOTTOM
        Mappings:
        Namespace Name Mixin selector
        official c Lcxx;c:Lcxx;
        intermediary field_31543 Lnet/minecraft/class_6123;field_31543:Lnet/minecraft/class_6123;
        named BIASED_TO_BOTTOM Lnet/minecraft/world/gen/heightprovider/HeightProviderType;BIASED_TO_BOTTOM:Lnet/minecraft/world/gen/heightprovider/HeightProviderType;
    • 方法详细资料

      • codec

        com.mojang.serialization.Codec<P> codec()
        Mappings:
        Namespace Name Mixin selector
        official codec Lcxx;codec()Lcom/mojang/serialization/Codec;
        intermediary codec Lnet/minecraft/class_6123;codec()Lcom/mojang/serialization/Codec;
        named codec Lnet/minecraft/world/gen/heightprovider/HeightProviderType;codec()Lcom/mojang/serialization/Codec;
      • register

        static <P extends HeightProvider> HeightProviderType<P> register​(String id,
                                                                         com.mojang.serialization.Codec<P> codec)
        Mappings:
        Namespace Name Mixin selector
        official a Lcxx;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lcxx;
        intermediary method_35394 Lnet/minecraft/class_6123;method_35394(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_6123;
        named register Lnet/minecraft/world/gen/heightprovider/HeightProviderType;register(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/gen/heightprovider/HeightProviderType;