Class RuleTest

java.lang.Object
net.minecraft.structure.rule.RuleTest
Direct Known Subclasses:
AlwaysTrueRuleTest, BlockMatchRuleTest, BlockStateMatchRuleTest, RandomBlockMatchRuleTest, RandomBlockStateMatchRuleTest, TagMatchRuleTest

public abstract class RuleTest
extends Object
Rule tests are used in structure generation to check if a block state matches some condition.
  • Field Details

    • field_25012

      public static final com.mojang.serialization.Codec<RuleTest> field_25012
  • Constructor Details

    • RuleTest

      public RuleTest()
  • Method Details