Class RandomizedIntBlockStateProvider
java.lang.Object
net.minecraft.world.gen.stateprovider.BlockStateProvider
net.minecraft.world.gen.stateprovider.RandomizedIntBlockStateProvider
A block state provider that randomizes a single 
IntProperty of a block state provided by another provider.- Mappings:
- Namespace - Name - named - net/minecraft/world/gen/stateprovider/RandomizedIntBlockStateProvider- intermediary - net/minecraft/class_5929- official - ekk
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<RandomizedIntBlockStateProvider> private @Nullable IntPropertyprivate final Stringprivate final BlockStateProviderprivate final IntProviderFields inherited from class net.minecraft.world.gen.stateprovider.BlockStateProviderTYPE_CODEC
- 
Constructor SummaryConstructorsConstructorDescriptionRandomizedIntBlockStateProvider(BlockStateProvider source, String propertyName, IntProvider values) RandomizedIntBlockStateProvider(BlockStateProvider source, IntProperty property, IntProvider values) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns a provided block state.private static @Nullable IntPropertygetIntPropertyByName(BlockState state, String propertyName) protected BlockStateProviderType<?> getType()Returns the type of this block state provider.Methods inherited from class net.minecraft.world.gen.stateprovider.BlockStateProviderof, of
- 
Field Details- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/world/gen/stateprovider/RandomizedIntBlockStateProvider;CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_29301- Lnet/minecraft/class_5929;field_29301:Lcom/mojang/serialization/MapCodec;- official - b- Lekk;b:Lcom/mojang/serialization/MapCodec;
 
- 
source- Mappings:
- Namespace - Name - Mixin selector - named - source- Lnet/minecraft/world/gen/stateprovider/RandomizedIntBlockStateProvider;source:Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;- intermediary - field_29302- Lnet/minecraft/class_5929;field_29302:Lnet/minecraft/class_4651;- official - c- Lekk;c:Leke;
 
- 
propertyName- Mappings:
- Namespace - Name - Mixin selector - named - propertyName- Lnet/minecraft/world/gen/stateprovider/RandomizedIntBlockStateProvider;propertyName:Ljava/lang/String;- intermediary - field_29303- Lnet/minecraft/class_5929;field_29303:Ljava/lang/String;- official - d- Lekk;d:Ljava/lang/String;
 
- 
property- Mappings:
- Namespace - Name - Mixin selector - named - property- Lnet/minecraft/world/gen/stateprovider/RandomizedIntBlockStateProvider;property:Lnet/minecraft/state/property/IntProperty;- intermediary - field_29304- Lnet/minecraft/class_5929;field_29304:Lnet/minecraft/class_2758;- official - e- Lekk;e:Ldxx;
 
- 
values- Mappings:
- Namespace - Name - Mixin selector - named - values- Lnet/minecraft/world/gen/stateprovider/RandomizedIntBlockStateProvider;values:Lnet/minecraft/util/math/intprovider/IntProvider;- intermediary - field_29305- Lnet/minecraft/class_5929;field_29305:Lnet/minecraft/class_6017;- official - f- Lekk;f:Lbrq;
 
 
- 
- 
Constructor Details- 
RandomizedIntBlockStateProviderpublic RandomizedIntBlockStateProvider(BlockStateProvider source, IntProperty property, IntProvider values) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/world/gen/stateprovider/RandomizedIntBlockStateProvider;<init>(Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;Lnet/minecraft/state/property/IntProperty;Lnet/minecraft/util/math/intprovider/IntProvider;)V- intermediary - <init>- Lnet/minecraft/class_5929;<init>(Lnet/minecraft/class_4651;Lnet/minecraft/class_2758;Lnet/minecraft/class_6017;)V- official - <init>- Lekk;<init>(Leke;Ldxx;Lbrq;)V
 
- 
RandomizedIntBlockStateProviderpublic RandomizedIntBlockStateProvider(BlockStateProvider source, String propertyName, IntProvider values) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/world/gen/stateprovider/RandomizedIntBlockStateProvider;<init>(Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;Ljava/lang/String;Lnet/minecraft/util/math/intprovider/IntProvider;)V- intermediary - <init>- Lnet/minecraft/class_5929;<init>(Lnet/minecraft/class_4651;Ljava/lang/String;Lnet/minecraft/class_6017;)V- official - <init>- Lekk;<init>(Leke;Ljava/lang/String;Lbrq;)V
 
 
- 
- 
Method Details- 
getTypeReturns the type of this block state provider.- Specified by:
- getTypein class- BlockStateProvider
- Returns:
- the type of this block state provider
- Implementation Note:
- The returned block state provider type should be registered so that the typefield 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- Leke;a()Lekf;
 
- 
getReturns a provided block state.- Specified by:
- getin class- BlockStateProvider
- 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- Leke;a(Lazh;Lji;)Ldwy;
 
- 
getIntPropertyByName@Nullable private static @Nullable IntProperty getIntPropertyByName(BlockState state, String propertyName) - Mappings:
- Namespace - Name - Mixin selector - named - getIntPropertyByName- Lnet/minecraft/world/gen/stateprovider/RandomizedIntBlockStateProvider;getIntPropertyByName(Lnet/minecraft/block/BlockState;Ljava/lang/String;)Lnet/minecraft/state/property/IntProperty;- intermediary - method_34363- Lnet/minecraft/class_5929;method_34363(Lnet/minecraft/class_2680;Ljava/lang/String;)Lnet/minecraft/class_2758;- official - a- Lekk;a(Ldwy;Ljava/lang/String;)Ldxx;
 
 
-