Class MaterialRules.LazyAbstractPredicate

java.lang.Object
net.minecraft.world.gen.surfacebuilder.MaterialRules.LazyAbstractPredicate
All Implemented Interfaces:
MaterialRules.BooleanSupplier
Direct Known Subclasses:
MaterialRules.FullLazyAbstractPredicate, MaterialRules.HorizontalLazyAbstractPredicate
Enclosing class:
MaterialRules

private abstract static class MaterialRules.LazyAbstractPredicate extends Object implements MaterialRules.BooleanSupplier
Mappings:
Namespace Name
named net/minecraft/world/gen/surfacebuilder/MaterialRules$LazyAbstractPredicate
intermediary net/minecraft/class_6686$class_6702
official dyx$i
  • Field Details

    • context

      protected final MaterialRules.MaterialRuleContext context
      Mappings:
      Namespace Name Mixin selector
      named context Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$LazyAbstractPredicate;context:Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;
      intermediary field_35623 Lnet/minecraft/class_6686$class_6702;field_35623:Lnet/minecraft/class_6686$class_6694;
      official c Ldyx$i;c:Ldyx$g;
    • uniqueValue

      private long uniqueValue
      Mappings:
      Namespace Name Mixin selector
      named uniqueValue Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$LazyAbstractPredicate;uniqueValue:J
      intermediary field_35622 Lnet/minecraft/class_6686$class_6702;field_35622:J
      official a Ldyx$i;a:J
    • result

      Mappings:
      Namespace Name Mixin selector
      named result Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$LazyAbstractPredicate;result:Ljava/lang/Boolean;
      intermediary field_35246 Lnet/minecraft/class_6686$class_6702;field_35246:Ljava/lang/Boolean;
      official d Ldyx$i;d:Ljava/lang/Boolean;
  • Constructor Details

    • LazyAbstractPredicate

      protected LazyAbstractPredicate(MaterialRules.MaterialRuleContext context)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$LazyAbstractPredicate;<init>(Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;)V
      intermediary <init> Lnet/minecraft/class_6686$class_6702;<init>(Lnet/minecraft/class_6686$class_6694;)V
      official <init> Ldyx$i;<init>(Ldyx$g;)V
  • Method Details

    • get

      public boolean get()
      Specified by:
      get in interface MaterialRules.BooleanSupplier
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BooleanSupplier;get()Z
      intermediary method_39069 Lnet/minecraft/class_6686$class_6692;method_39069()Z
      official b Ldyx$e;b()Z
    • getCurrentUniqueValue

      protected abstract long getCurrentUniqueValue()
      Returns a unique value for each block position. The result of this predicate will not be recalculated until this value changes.
      Returns:
      the unique value for this position
      Mappings:
      Namespace Name Mixin selector
      named getCurrentUniqueValue Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$LazyAbstractPredicate;getCurrentUniqueValue()J
      intermediary method_39479 Lnet/minecraft/class_6686$class_6702;method_39479()J
      official c Ldyx$i;c()J
    • test

      protected abstract boolean test()
      Mappings:
      Namespace Name Mixin selector
      named test Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$LazyAbstractPredicate;test()Z
      intermediary method_39074 Lnet/minecraft/class_6686$class_6702;method_39074()Z
      official a Ldyx$i;a()Z