Class MaterialRules.HorizontalLazyAbstractPredicate

java.lang.Object
net.minecraft.world.gen.surfacebuilder.MaterialRules.LazyAbstractPredicate
net.minecraft.world.gen.surfacebuilder.MaterialRules.HorizontalLazyAbstractPredicate
All Implemented Interfaces:
MaterialRules.BooleanSupplier
Direct Known Subclasses:
MaterialRules.MaterialRuleContext.NegativeRunDepthPredicate, MaterialRules.MaterialRuleContext.SteepSlopePredicate, MaterialRules.NoiseThresholdMaterialCondition.NoiseThresholdPredicate
Enclosing class:
MaterialRules

private abstract static class MaterialRules.HorizontalLazyAbstractPredicate extends MaterialRules.LazyAbstractPredicate
Mappings:
Namespace Name
official dak$j
intermediary net/minecraft/class_6686$class_6773
named net/minecraft/world/gen/surfacebuilder/MaterialRules$HorizontalLazyAbstractPredicate
  • Constructor Details

    • HorizontalLazyAbstractPredicate

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

    • getCurrentUniqueValue

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