net.minecraft.structure.rule

public class HeightMatchRuleTest

extends RuleTest

net.minecraft.world.level.levelgen.structure.templatesystem.HeightMatchTest
net.minecraft.world.level.levelgen.structure.templatesystem.HeightMatchTest
net.minecraft.class_1_1146
net.minecraft.structure.rule.HeightMatchRuleTest

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<HeightMatchRuleTest>
CODEC
CODEC
field_1_7922
CODEC
private final int
minInclusive
minInclusive
field_1_7924
minInclusive
private final int
maxInclusive
maxInclusive
field_1_7923
maxInclusive

Constructor summary

ModifierConstructor
public (int minInclusive, int maxInclusive)

Method summary

Modifier and TypeMethod
public static RuleTest
min(int minInclusive)
min(int minInclusive)
method_1_7235(int arg0)
atLeast(int maxInclusive)
public static RuleTest
max(int maxInclusive)
max(int maxInclusive)
method_1_7234(int arg0)
atMost(int minInclusive)
public boolean
test(BlockState blockState, BlockPos pos, RandomSource random)
test(BlockState blockState, BlockPos pos, RandomSource random)
method_16768(class_2680 arg0, class_2338 arg1, class_5819 arg2)
test(BlockState arg0, BlockPos arg1, Random arg2)
protected RuleTestType<?>
getType()
getType()
method_16766()
getType()