Interface SurfaceRule
public interface SurfaceRule
SurfaceRules define how terrain surface is modified.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A condition forsurface rules
static interface
static interface
An anchor point for a vertical position used in somesurface rule conditions
-
Method Summary
Modifier and TypeMethodDescriptionstatic SurfaceRule
end()
Returns the surface rules for the vanilla end.static SurfaceRule
nether()
Returns the surface rules for the vanilla nether.static SurfaceRule
Returns the surface rules for the vanilla overworld.static SurfaceRule
overworldLike
(boolean nearSurface, boolean bedrockRoof, boolean bedrockFloor) Returns the surface rules for a vanilla like overworld.
-
Method Details
-
overworld
Returns the surface rules for the vanilla overworld.- Returns:
- the surface rules
-
overworldLike
Returns the surface rules for a vanilla like overworld.- Parameters:
nearSurface
- whether to only apply most surface rules to the surface of the worldbedrockRoof
- whether to place a bedrock roofbedrockFloor
- whether to place a bedrock floor- Returns:
- the custom surface rules
-
nether
Returns the surface rules for the vanilla nether.- Returns:
- the surface rules.
-
end
Returns the surface rules for the vanilla end.- Returns:
- the surface rules.
-