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 dyn$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 Ldyn$i;c:Ldyn$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 Ldyn$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 Ldyn$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> Ldyn$i;<init>(Ldyn$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 Ldyn$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 Ldyn$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 Ldyn$i;a()Z