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 ctm$k
intermediary net/minecraft/class_6686$class_6774
named net/minecraft/world/gen/surfacebuilder/MaterialRules$FullLazyAbstractPredicate
-
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
-
FullLazyAbstractPredicate
- Mappings:
Namespace Name Mixin selector official <init>
Lctm$i;<init>(Lctm$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
Lctm$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
-