Interface ExclusiveGEOResource

All Superinterfaces:
io.github.thebusybiscuit.slimefun5.api.geo.GEOResource, io.github.thebusybiscuit.slimefun5.libraries.keys.Keyed

public interface ExclusiveGEOResource extends io.github.thebusybiscuit.slimefun5.api.geo.GEOResource
A resource that is exclusive to certain PlanetaryWorlds
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the PlanetaryWorlds that this resource is exclusive to
    default void
     

    Methods inherited from interface io.github.thebusybiscuit.slimefun5.api.geo.GEOResource

    getDefaultSupply, getItem, getMaxDeviation, getName, getName, isObtainableFromGEOMiner

    Methods inherited from interface io.github.thebusybiscuit.slimefun5.libraries.keys.Keyed

    getKey
  • Method Details

    • getWorlds

      @Nonnull Set<PlanetaryWorld> getWorlds()
      Returns the PlanetaryWorlds that this resource is exclusive to
      Returns:
      a Set of PlanetaryWorlds. The set must be treated as immutable
    • register

      default void register()
      Specified by:
      register in interface io.github.thebusybiscuit.slimefun5.api.geo.GEOResource