类 SimpleBlockStateProvider
- java.lang.Object
-
- net.minecraft.world.gen.stateprovider.BlockStateProvider
-
- net.minecraft.world.gen.stateprovider.SimpleBlockStateProvider
-
public class SimpleBlockStateProvider extends BlockStateProvider
- Mappings:
Namespace Name official cwlintermediary net/minecraft/class_4656named net/minecraft/world/gen/stateprovider/SimpleBlockStateProvider
-
-
字段概要
字段 修饰符和类型 字段 说明 static com.mojang.serialization.Codec<SimpleBlockStateProvider>CODECprivate BlockStatestate-
从类继承的字段 net.minecraft.world.gen.stateprovider.BlockStateProvider
TYPE_CODEC
-
-
构造器概要
构造器 构造器 说明 SimpleBlockStateProvider(BlockState state)
-
-
-
字段详细资料
-
CODEC
public static final com.mojang.serialization.Codec<SimpleBlockStateProvider> CODEC
- Mappings:
Namespace Name Mixin selector official bLcwl;b:Lcom/mojang/serialization/Codec;intermediary field_24945Lnet/minecraft/class_4656;field_24945:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/stateprovider/SimpleBlockStateProvider;CODEC:Lcom/mojang/serialization/Codec;
-
state
private final BlockState state
- Mappings:
Namespace Name Mixin selector official cLcwl;c:Lcjr;intermediary field_21314Lnet/minecraft/class_4656;field_21314:Lnet/minecraft/class_2680;named stateLnet/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;)Vintermediary <init>Lnet/minecraft/class_4656;<init>(Lnet/minecraft/class_2680;)Vnamed <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 aLcwf;a()Lcwg;intermediary method_28862Lnet/minecraft/class_4651;method_28862()Lnet/minecraft/class_4652;named getTypeLnet/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 aLcwf;a(Ljava/util/Random;Lgb;)Lcjr;intermediary method_23455Lnet/minecraft/class_4651;method_23455(Ljava/util/Random;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;named getBlockStateLnet/minecraft/world/gen/stateprovider/BlockStateProvider;getBlockState(Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
-