Interface SurfaceRule
public interface SurfaceRule
SurfaceRules define how terrain surface is modified.
-
Nested Class Summary
Nested Classes -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic SurfaceRuleend()Returns the surface rules for the vanilla end.static SurfaceRulenether()Returns the surface rules for the vanilla nether.static SurfaceRuleReturns the surface rules for the vanilla overworld.static SurfaceRuleoverworldLike(boolean abovePreliminarySurface, 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
static 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
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.
-