Class HeightMatchTest
java.lang.Object
net.minecraft.world.level.levelgen.structure.templatesystem.RuleTest
net.minecraft.world.level.levelgen.structure.templatesystem.HeightMatchTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<HeightMatchTest> private final intprivate final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RuleTestType<?> getType()static RuleTestmax(int maxInclusive) static RuleTestmin(int minInclusive) booleantest(BlockState blockState, BlockPos pos, RandomSource random)
-
Field Details
-
CODEC
-
minInclusive
private final int minInclusive -
maxInclusive
private final int maxInclusive
-
-
Constructor Details
-
HeightMatchTest
public HeightMatchTest(int minInclusive, int maxInclusive)
-
-
Method Details