Class RandomizedIntStateProvider
java.lang.Object
net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProvider
net.minecraft.world.level.levelgen.feature.stateproviders.RandomizedIntStateProvider
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<RandomizedIntStateProvider>
private IntegerProperty
private String
private BlockStateProvider
private IntProvider
-
Constructor Summary
ConstructorDescriptionRandomizedIntStateProvider(BlockStateProvider p_161566_, String p_161567_, IntProvider p_161568_)
RandomizedIntStateProvider(BlockStateProvider p_161562_, IntegerProperty p_161563_, IntProvider p_161564_)
-
Method Summary
Modifier and TypeMethodDescriptionprivate static IntegerProperty
findProperty(BlockState p_161571_, String p_161572_)
protected BlockStateProviderType<?>
type()
-
Field Details
-
CODEC
-
source
-
propertyName
-
property
-
values
-
-
Constructor Details
-
RandomizedIntStateProvider
public RandomizedIntStateProvider(BlockStateProvider p_161562_, IntegerProperty p_161563_, IntProvider p_161564_) -
RandomizedIntStateProvider
public RandomizedIntStateProvider(BlockStateProvider p_161566_, String p_161567_, IntProvider p_161568_)
-
-
Method Details
-
type
- Specified by:
type
in classBlockStateProvider
-
getState
- Specified by:
getState
in classBlockStateProvider
-
findProperty
-