Class InvertRuleTest

java.lang.Object
net.minecraft.world.level.levelgen.structure.templatesystem.RuleTest
dev.latvian.mods.kubejs.level.ruletest.InvertRuleTest

public class InvertRuleTest extends net.minecraft.world.level.levelgen.structure.templatesystem.RuleTest
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.MapCodec<InvertRuleTest>
     
    final net.minecraft.world.level.levelgen.structure.templatesystem.RuleTest
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    InvertRuleTest(net.minecraft.world.level.levelgen.structure.templatesystem.RuleTest t)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected net.minecraft.world.level.levelgen.structure.templatesystem.RuleTestType<?>
     
    boolean
    test(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.util.RandomSource random)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<InvertRuleTest> CODEC
    • original

      public final net.minecraft.world.level.levelgen.structure.templatesystem.RuleTest original
  • Constructor Details

    • InvertRuleTest

      public InvertRuleTest(net.minecraft.world.level.levelgen.structure.templatesystem.RuleTest t)
  • Method Details

    • test

      public boolean test(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.util.RandomSource random)
      Specified by:
      test in class net.minecraft.world.level.levelgen.structure.templatesystem.RuleTest
    • getType

      protected net.minecraft.world.level.levelgen.structure.templatesystem.RuleTestType<?> getType()
      Specified by:
      getType in class net.minecraft.world.level.levelgen.structure.templatesystem.RuleTest