Interface SurfaceRule


public interface SurfaceRule
SurfaceRules define how terrain surface is modified.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    end()
    Returns the surface rules for the vanilla end.
    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

      static SurfaceRule 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 roof
      bedrockFloor - whether to place a bedrock floor
      Returns:
      the custom surface rules
    • nether

      static SurfaceRule nether()
      Returns the surface rules for the vanilla nether.
      Returns:
      the surface rules.
    • end

      static SurfaceRule end()
      Returns the surface rules for the vanilla end.
      Returns:
      the surface rules.