Interface Keyed

All Known Subinterfaces:
All Known Implementing Classes:
AbstractWorld, BiomeType, BlockCategory, BlockType, EntityType, FluidCategory, FluidType, GameMode, ItemCategory, ItemType, NullWorld, WeatherType

public interface Keyed
Represents an objects that can be added to a registry and referenced by an id which is unique within its registry.
  • Method Summary

    Modifier and Type
    The id of this object in the registry.
  • Method Details

    • getId

      String getId()
      The id of this object in the registry. Must be unique, and lowercase. Certain registries (e.g Namespaced ones) may have additional restrictions.
      an id