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 dbi$j
intermediary net/minecraft/class_6686$class_6773
named net/minecraft/world/gen/surfacebuilder/MaterialRules$HorizontalLazyAbstractPredicate
-
Field Summary
Fields inherited from class net.minecraft.world.gen.surfacebuilder.MaterialRules.LazyAbstractPredicate
context, result
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
-
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 official <init>
Ldbi$i;<init>(Ldbi$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 classMaterialRules.LazyAbstractPredicate
- Returns:
- the unique value for this position
- Mappings:
Namespace Name Mixin selector official c
Ldbi$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
-