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
-
Field Summary
Modifier and TypeFieldDescriptionprotected final SurfaceRules.Context
private long
(package private) Boolean
-
Constructor Summary
-
Method Summary
-
Field Details
-
context
-
lastUpdate
private long lastUpdate -
result
-
-
Constructor Details
-
LazyCondition
-
-
Method Details
-
test
public boolean test()- Specified by:
test
in interfaceSurfaceRules.Condition
-
getContextLastUpdate
protected abstract long getContextLastUpdate() -
compute
protected abstract boolean compute()
-