Interface Biome.Builder

All Superinterfaces:
AbstractBuilder<Biome>, Builder<Biome,Biome.Builder>, CopyableBuilder<Biome,Biome.Builder>, ResettableBuilder<Biome,Biome.Builder>
Enclosing interface:
Biome

public static interface Biome.Builder extends Builder<Biome,Biome.Builder>, CopyableBuilder<Biome,Biome.Builder>
A builder to create Biomes.
  • Method Summary

    Modifier and Type
    Method
    Description
    add(Key<? extends Value<V>> key, V value)
    Adds the given Key with the given value.

    Methods inherited from interface net.kyori.adventure.builder.AbstractBuilder

    build

    Methods inherited from interface org.spongepowered.api.util.Builder

    reset

    Methods inherited from interface org.spongepowered.api.util.CopyableBuilder

    from
  • Method Details

    • add

      <V> Biome.Builder add(Key<? extends Value<V>> key, V value)
      Adds the given Key with the given value.
      Type Parameters:
      V - The type of the value
      Parameters:
      key - The key to assign the value with
      value - The value to assign with the key
      Returns:
      This builder, for chaining