Interface NaturalSpawnCost


public interface NaturalSpawnCost
The natural spawn costs in a Biome. See Keys.NATURAL_SPAWNER_COST Alternatively use NaturalSpawner.
  • Nested Class Summary

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

    Modifier and Type
    Method
    Description
    double
    Returns the spawn cost budget.
    double
    Returns the charge cost.
    of(double budget, double charge)
     
  • Method Details

    • of

      static NaturalSpawnCost of(double budget, double charge)
    • budget

      double budget()
      Returns the spawn cost budget.
      Returns:
      The budget
    • charge

      double charge()
      Returns the charge cost.
      Returns:
      The charge