Class AllMatchRuleTest
java.lang.Object
net.minecraft.world.level.levelgen.structure.templatesystem.RuleTest
dev.latvian.mods.kubejs.level.ruletest.AllMatchRuleTest
public class AllMatchRuleTest
extends net.minecraft.world.level.levelgen.structure.templatesystem.RuleTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<AllMatchRuleTest> final List<net.minecraft.world.level.levelgen.structure.templatesystem.RuleTest> -
Constructor Summary
ConstructorsConstructorDescriptionAllMatchRuleTest(List<net.minecraft.world.level.levelgen.structure.templatesystem.RuleTest> rules) -
Method Summary
-
Field Details
-
CODEC
-
rules
-
-
Constructor Details
-
AllMatchRuleTest
public AllMatchRuleTest() -
AllMatchRuleTest
public AllMatchRuleTest(List<net.minecraft.world.level.levelgen.structure.templatesystem.RuleTest> rules)
-
-
Method Details
-
test
public boolean test(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.util.RandomSource random) - Specified by:
testin classnet.minecraft.world.level.levelgen.structure.templatesystem.RuleTest
-
getType
protected net.minecraft.world.level.levelgen.structure.templatesystem.RuleTestType<?> getType()- Specified by:
getTypein classnet.minecraft.world.level.levelgen.structure.templatesystem.RuleTest
-