Class SimpleBlockStateProvider
java.lang.Object
net.minecraft.world.gen.stateprovider.BlockStateProvider
net.minecraft.world.gen.stateprovider.SimpleBlockStateProvider
- Mappings:
Namespace Name named net/minecraft/world/gen/stateprovider/SimpleBlockStateProvider
intermediary net/minecraft/class_4656
official efn
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<SimpleBlockStateProvider> private final BlockState
Fields inherited from class net.minecraft.world.gen.stateprovider.BlockStateProvider
TYPE_CODEC
-
Constructor Summary
-
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 named CODEC
Lnet/minecraft/world/gen/stateprovider/SimpleBlockStateProvider;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_24945
Lnet/minecraft/class_4656;field_24945:Lcom/mojang/serialization/MapCodec;
official b
Lefn;b:Lcom/mojang/serialization/MapCodec;
-
state
- Mappings:
Namespace Name Mixin selector named state
Lnet/minecraft/world/gen/stateprovider/SimpleBlockStateProvider;state:Lnet/minecraft/block/BlockState;
intermediary field_21314
Lnet/minecraft/class_4656;field_21314:Lnet/minecraft/class_2680;
official c
Lefn;c:Ldsd;
-
-
Constructor Details
-
SimpleBlockStateProvider
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/stateprovider/SimpleBlockStateProvider;<init>(Lnet/minecraft/block/BlockState;)V
intermediary <init>
Lnet/minecraft/class_4656;<init>(Lnet/minecraft/class_2680;)V
official <init>
Lefn;<init>(Ldsd;)V
-
-
Method Details
-
getType
Returns the type of this block state provider.- Specified by:
getType
in classBlockStateProvider
- Returns:
- the type of this block state provider
- Implementation Note:
- The returned block state provider type should be registered so that the
type
field is properly serialized. - Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;getType()Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;
intermediary method_28862
Lnet/minecraft/class_4651;method_28862()Lnet/minecraft/class_4652;
official a
Lefe;a()Leff;
-
get
Returns a provided block state.- Specified by:
get
in classBlockStateProvider
- Returns:
- a provided block state
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;get(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
intermediary method_23455
Lnet/minecraft/class_4651;method_23455(Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
official a
Lefe;a(Lazh;Liz;)Ldsd;
-