类 BlockStateProvider

    • 字段详细资料

      • TYPE_CODEC

        public static final com.mojang.serialization.Codec<BlockStateProvider> TYPE_CODEC
        Mappings:
        Namespace Name Mixin selector
        official a Lcwf;a:Lcom/mojang/serialization/Codec;
        intermediary field_24937 Lnet/minecraft/class_4651;field_24937:Lcom/mojang/serialization/Codec;
        named TYPE_CODEC Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;TYPE_CODEC:Lcom/mojang/serialization/Codec;
    • 构造器详细资料

      • BlockStateProvider

        public BlockStateProvider()
    • 方法详细资料

      • getType

        protected abstract BlockStateProviderType<?> getType()
        Mappings:
        Namespace Name Mixin selector
        official a Lcwf;a()Lcwg;
        intermediary method_28862 Lnet/minecraft/class_4651;method_28862()Lnet/minecraft/class_4652;
        named getType Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;getType()Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;
      • getBlockState

        public abstract BlockState getBlockState​(Random random,
                                                 BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Lcwf;a(Ljava/util/Random;Lgb;)Lcjr;
        intermediary method_23455 Lnet/minecraft/class_4651;method_23455(Ljava/util/Random;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
        named getBlockState Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;getBlockState(Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;