net.minecraft.structure.rule

public abstract class RuleTest

net.minecraft.world.level.levelgen.structure.templatesystem.RuleTest
net.minecraft.class_3825
net.minecraft.structure.rule.RuleTest

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<RuleTest>
CODEC
field_25012
TYPE_CODEC

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public boolean
testAgainstWorldState(LevelReader level, BlockPos pos, RandomSource random)
method_1_5454(class_4538 arg0, class_2338 arg1, class_5819 arg2)
test(WorldView world, BlockPos pos, Random random)
public abstract boolean
test(BlockState state, BlockPos pos, RandomSource random)
method_16768(class_2680 arg0, class_2338 arg1, class_5819 arg2)
test(BlockState state, BlockPos pos, Random random)
protected abstract RuleTestType<?>
getType()
method_16766()
getType()
public static RuleTest
allOf(List<RuleTest> predicates)
method_1_7200(List<class_3825> arg0)
all(List<RuleTest> rules)
public static RuleTest
allOf(RuleTest... predicates)
method_1_7201(class_3825... arg0)
all(RuleTest... rules)