Interface SurfaceRule.Factory
- Enclosing interface:
- SurfaceRule
public static interface SurfaceRule.Factory
-
Method Summary
Modifier and TypeMethodDescriptionend()
Returns the surface rules for the vanilla end.nether()
Returns the surface rules for the vanilla nether.Returns the surface rules for the vanilla overworld.overworldLike
(boolean abovePreliminarySurface, boolean bedrockRoof, boolean bedrockFloor) Returns the surface rules for a vanilla like overworld.
-
Method Details
-
overworld
SurfaceRule overworld()Returns the surface rules for the vanilla overworld.- Returns:
- the surface rules
-
overworldLike
SurfaceRule overworldLike(boolean abovePreliminarySurface, boolean bedrockRoof, boolean bedrockFloor) Returns the surface rules for a vanilla like overworld.- Parameters:
abovePreliminarySurface
-bedrockRoof
- whether to place a bedrock roofbedrockFloor
- whether to place a bedrock floor- Returns:
- the custom surface rules
-
nether
SurfaceRule nether()Returns the surface rules for the vanilla nether.- Returns:
- the surface rules.
-
end
SurfaceRule end()Returns the surface rules for the vanilla end.- Returns:
- the surface rules.
-