Class MaterialRules.FullLazyAbstractPredicate

java.lang.Object
net.minecraft.world.gen.surfacebuilder.MaterialRules.LazyAbstractPredicate
net.minecraft.world.gen.surfacebuilder.MaterialRules.FullLazyAbstractPredicate
All Implemented Interfaces:
MaterialRules.BooleanSupplier
Direct Known Subclasses:
MaterialRules.AboveYMaterialCondition.AboveYPredicate, MaterialRules.BiomeMaterialCondition.BiomePredicate, MaterialRules.MaterialRuleContext.BiomeTemperaturePredicate, MaterialRules.StoneDepthMaterialCondition.StoneDepthPredicate, MaterialRules.VerticalGradientMaterialCondition.VerticalGradientPredicate, MaterialRules.WaterMaterialCondition.WaterPredicate
Enclosing class:
MaterialRules

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

    • FullLazyAbstractPredicate

      protected FullLazyAbstractPredicate(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