类 SimpleBlockStateProvider


  • public class SimpleBlockStateProvider
    extends BlockStateProvider
    Mappings:
    Namespace Name
    official cwl
    intermediary net/minecraft/class_4656
    named net/minecraft/world/gen/stateprovider/SimpleBlockStateProvider
    • 字段详细资料

      • CODEC

        public static final com.mojang.serialization.Codec<SimpleBlockStateProvider> CODEC
        Mappings:
        Namespace Name Mixin selector
        official b Lcwl;b:Lcom/mojang/serialization/Codec;
        intermediary field_24945 Lnet/minecraft/class_4656;field_24945:Lcom/mojang/serialization/Codec;
        named CODEC Lnet/minecraft/world/gen/stateprovider/SimpleBlockStateProvider;CODEC:Lcom/mojang/serialization/Codec;
      • state

        private final BlockState state
        Mappings:
        Namespace Name Mixin selector
        official c Lcwl;c:Lcjr;
        intermediary field_21314 Lnet/minecraft/class_4656;field_21314:Lnet/minecraft/class_2680;
        named state Lnet/minecraft/world/gen/stateprovider/SimpleBlockStateProvider;state:Lnet/minecraft/block/BlockState;
    • 构造器详细资料

      • SimpleBlockStateProvider

        public SimpleBlockStateProvider​(BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lcwl;<init>(Lcjr;)V
        intermediary <init> Lnet/minecraft/class_4656;<init>(Lnet/minecraft/class_2680;)V
        named <init> Lnet/minecraft/world/gen/stateprovider/SimpleBlockStateProvider;<init>(Lnet/minecraft/block/BlockState;)V
    • 方法详细资料

      • getType

        protected BlockStateProviderType<?> getType()
        指定者:
        getType 在类中 BlockStateProvider
        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 BlockState getBlockState​(Random random,
                                        BlockPos pos)
        指定者:
        getBlockState 在类中 BlockStateProvider
        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;