net.minecraft.structure.rule

public class RandomBlockStateMatchRuleTest

extends RuleTest

net.minecraft.world.level.levelgen.structure.templatesystem.RandomBlockStateMatchTest
net.minecraft.world.level.levelgen.structure.templatesystem.RandomBlockStateMatchTest
net.minecraft.class_3823
net.minecraft.structure.rule.RandomBlockStateMatchRuleTest

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<RandomBlockStateMatchRuleTest>
CODEC
CODEC
field_25010
CODEC
private final BlockState
blockState
blockState
field_16878
blockState
private final float
probability
probability
field_16877
probability

Constructor summary

ModifierConstructor
public (BlockState blockState, float probability)

Method summary

Modifier and TypeMethod
public boolean
test(BlockState blockState, RandomSource random)
test(BlockState blockState, RandomSource random)
method_16768(class_2680 arg0, class_5819 arg1)
test(BlockState arg0, Random arg1)
protected RuleTestType<?>
getType()
getType()
method_16766()
getType()