Package net.minecraft.structure.rule
Class RandomBlockStateMatchRuleTest
java.lang.Object
net.minecraft.structure.rule.RuleTest
net.minecraft.structure.rule.RandomBlockStateMatchRuleTest
public class RandomBlockStateMatchRuleTest extends RuleTest
-
Field Summary
Fields Modifier and Type Field Description private BlockStateblockStatestatic com.mojang.serialization.Codec<RandomBlockStateMatchRuleTest>CODECprivate floatprobability -
Constructor Summary
Constructors Constructor Description RandomBlockStateMatchRuleTest(BlockState blockState, float float2) -
Method Summary
Modifier and Type Method Description protected RuleTestType<?>getType()booleantest(BlockState state, Random random)
-
Field Details
-
CODEC
-
blockState
-
probability
private final float probability
-
-
Constructor Details
-
Method Details