net.minecraft.structure.rule

public class RandomBlockMatchRuleTest

extends RuleTest

net.minecraft.world.level.levelgen.structure.templatesystem.RandomBlockMatchTest
net.minecraft.world.level.levelgen.structure.templatesystem.RandomBlockMatchTest
net.minecraft.class_3824
net.minecraft.structure.rule.RandomBlockMatchRuleTest

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<RandomBlockMatchRuleTest>
CODEC
CODEC
field_25009
CODEC
private final Block
block
block
field_16880
block
private final float
probability
probability
field_16879
probability

Constructor summary

ModifierConstructor
public (Block block, 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()