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
- Enclosing class:
MaterialRules
private abstract static class MaterialRules.HorizontalLazyAbstractPredicate
extends MaterialRules.LazyAbstractPredicate
- Mappings:
Namespace Name named net/minecraft/world/gen/surfacebuilder/MaterialRules$HorizontalLazyAbstractPredicate
intermediary net/minecraft/class_6686$class_6773
official dzm$j
-
Field Summary
Fields inherited from class net.minecraft.world.gen.surfacebuilder.MaterialRules.LazyAbstractPredicate
context, result
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionprotected long
Returns a unique value for each block position.Methods inherited from class net.minecraft.world.gen.surfacebuilder.MaterialRules.LazyAbstractPredicate
get, test
-
Constructor Details
-
HorizontalLazyAbstractPredicate
- 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>
Ldzm$i;<init>(Ldzm$g;)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 classMaterialRules.LazyAbstractPredicate
- 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
Ldzm$i;c()J
-