Class SimpleBlockStateProvider
java.lang.Object
net.minecraft.world.gen.stateprovider.BlockStateProvider
net.minecraft.world.gen.stateprovider.SimpleBlockStateProvider
- Mappings:
Namespace Name official dozintermediary net/minecraft/class_4656named net/minecraft/world/gen/stateprovider/SimpleBlockStateProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SimpleBlockStateProvider>private final BlockStateFields inherited from class net.minecraft.world.gen.stateprovider.BlockStateProvider
TYPE_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a provided block state.protected BlockStateProviderType<?>getType()Returns the type of this block state provider.Methods inherited from class net.minecraft.world.gen.stateprovider.BlockStateProvider
of, of
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official bLdoz;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
- Mappings:
Namespace Name Mixin selector official cLdoz;c:Ldby;intermediary field_21314Lnet/minecraft/class_4656;field_21314:Lnet/minecraft/class_2680;named stateLnet/minecraft/world/gen/stateprovider/SimpleBlockStateProvider;state:Lnet/minecraft/block/BlockState;
-
-
Constructor Details
-
SimpleBlockStateProvider
- Mappings:
Namespace Name Mixin selector official <init>Ldoz;<init>(Ldby;)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
-
-
Method Details
-
getType
Returns the type of this block state provider.- Specified by:
getTypein classBlockStateProvider- Returns:
- the type of this block state provider
- Mappings:
Namespace Name Mixin selector official aLdoq;a()Ldor;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;
-
get
Returns a provided block state.- Specified by:
getin classBlockStateProvider- Returns:
- a provided block state
- Mappings:
Namespace Name Mixin selector official aLdoq;a(Lapf;Lgu;)Ldby;intermediary method_23455Lnet/minecraft/class_4651;method_23455(Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;named getLnet/minecraft/world/gen/stateprovider/BlockStateProvider;get(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-