Class SurfaceRules.LazyCondition
java.lang.Object
net.minecraft.world.level.levelgen.SurfaceRules.LazyCondition
- All Implemented Interfaces:
SurfaceRules.Condition
- Direct Known Subclasses:
SurfaceRules.LazyXZCondition, SurfaceRules.LazyYCondition
- Enclosing class:
SurfaceRules
private abstract static class SurfaceRules.LazyCondition
extends Object
implements SurfaceRules.Condition
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final SurfaceRules.Contextprivate long(package private) @Nullable Boolean -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
context
-
lastUpdate
private long lastUpdate -
result
@Nullable Boolean result
-
-
Constructor Details
-
LazyCondition
-
-
Method Details
-
test
public boolean test()- Specified by:
testin interfaceSurfaceRules.Condition
-
getContextLastUpdate
protected abstract long getContextLastUpdate() -
compute
protected abstract boolean compute()
-