Interface Keyed

All Known Subinterfaces:
MultiUserPlatform, Platform, SimpleWorld, World
All Known Implementing Classes:
AbstractPlatform, AbstractWorld, BiomeType, BlockCategory, BlockType, EntityType, FluidCategory, FluidType, GameMode, ItemCategory, ItemType, NullWorld, WeatherType, WorldWrapper

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
    Method
    Description
    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.
      Returns:
      an id