Class MaterialRules.LazyAbstractPredicate
java.lang.Object
net.minecraft.world.gen.surfacebuilder.MaterialRules.LazyAbstractPredicate
- All Implemented Interfaces:
MaterialRules.BooleanSupplier
- Direct Known Subclasses:
MaterialRules.FullLazyAbstractPredicate
,MaterialRules.HorizontalLazyAbstractPredicate
- Enclosing class:
MaterialRules
private abstract static class MaterialRules.LazyAbstractPredicate
extends Object
implements MaterialRules.BooleanSupplier
- Mappings:
Namespace Name official dht$i
intermediary net/minecraft/class_6686$class_6702
named net/minecraft/world/gen/surfacebuilder/MaterialRules$LazyAbstractPredicate
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
-
Field Details
-
context
- Mappings:
Namespace Name Mixin selector official c
Ldht$i;c:Ldht$g;
intermediary field_35623
Lnet/minecraft/class_6686$class_6702;field_35623:Lnet/minecraft/class_6686$class_6694;
named context
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$LazyAbstractPredicate;context:Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$MaterialRuleContext;
-
uniqueValue
private long uniqueValue- Mappings:
Namespace Name Mixin selector official a
Ldht$i;a:J
intermediary field_35622
Lnet/minecraft/class_6686$class_6702;field_35622:J
named uniqueValue
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$LazyAbstractPredicate;uniqueValue:J
-
result
- Mappings:
Namespace Name Mixin selector official d
Ldht$i;d:Ljava/lang/Boolean;
intermediary field_35246
Lnet/minecraft/class_6686$class_6702;field_35246:Ljava/lang/Boolean;
named result
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$LazyAbstractPredicate;result:Ljava/lang/Boolean;
-
-
Constructor Details
-
LazyAbstractPredicate
- Mappings:
Namespace Name Mixin selector official <init>
Ldht$i;<init>(Ldht$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
-
get
public boolean get()- Specified by:
get
in interfaceMaterialRules.BooleanSupplier
- Mappings:
Namespace Name Mixin selector official b
Ldht$e;b()Z
intermediary method_39069
Lnet/minecraft/class_6686$class_6692;method_39069()Z
named get
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$BooleanSupplier;get()Z
-
getCurrentUniqueValue
protected abstract long getCurrentUniqueValue()Returns a unique value for each block position. The result of this predicate will not be recalculated until this value changes.- Returns:
- the unique value for this position
- Mappings:
Namespace Name Mixin selector official c
Ldht$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
-
test
protected abstract boolean test()- Mappings:
Namespace Name Mixin selector official a
Ldht$i;a()Z
intermediary method_39074
Lnet/minecraft/class_6686$class_6702;method_39074()Z
named test
Lnet/minecraft/world/gen/surfacebuilder/MaterialRules$LazyAbstractPredicate;test()Z
-