Interface SurfaceRule
public interface SurfaceRule
SurfaceRules define how terrain surface is modified.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA condition forsurface rulesstatic interfacestatic interfaceAn anchor point for a vertical position used in somesurface rule conditions
- 
Method SummaryStatic 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 nearSurface, boolean bedrockRoof, boolean bedrockFloor) Returns the surface rules for a vanilla like overworld.
- 
Method Details- 
overworldReturns the surface rules for the vanilla overworld.- Returns:
- the surface rules
 
- 
overworldLikeReturns the surface rules for a vanilla like overworld.- Parameters:
- nearSurface- whether to only apply most surface rules to the surface of the world
- bedrockRoof- whether to place a bedrock roof
- bedrockFloor- whether to place a bedrock floor
- Returns:
- the custom surface rules
 
- 
netherReturns the surface rules for the vanilla nether.- Returns:
- the surface rules.
 
- 
endReturns the surface rules for the vanilla end.- Returns:
- the surface rules.
 
 
-