Class BiomeRegistry

java.lang.Object
net.pl3x.map.core.registry.Registry<@NotNull Biome>
net.pl3x.map.core.registry.BiomeRegistry
All Implemented Interfaces:
Iterable<Biome>

public class BiomeRegistry extends Registry<@NotNull Biome>
  • Field Details

  • Constructor Details

    • BiomeRegistry

      public BiomeRegistry()
  • Method Details

    • init

      public void init(@NotNull @NotNull World world)
    • register

      @NotNull public @NotNull Biome register(@NotNull @NotNull String id, int color, int foliage, int grass, int water, @NotNull Biome.GrassModifier grassModifier)
    • get

      @NotNull public @NotNull Biome get(@NotNull @NotNull String id)
      Overrides:
      get in class Registry<@NotNull Biome>
    • saveToDisk

      public void saveToDisk(@NotNull @NotNull World world)