Interface SurfaceRule.Factory

Enclosing interface:
SurfaceRule

public static interface SurfaceRule.Factory
  • Method Summary

    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

      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 roof
      bedrockFloor - 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

      Returns the surface rules for the vanilla end.
      Returns:
      the surface rules.