Interface EnumSetting.EnumValue

All Known Implementing Classes:
ItemFilter, Orientation, PacketTranslationError
Enclosing interface:
EnumSetting<T extends EnumSetting.EnumValue>

public static interface EnumSetting.EnumValue
Represents a single value of an enum setting. Required to be implemented by the enum.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.network.chat.Component
    The component of the enum value.
  • Method Details

    • component

      net.minecraft.network.chat.Component component()
      The component of the enum value. Used for displaying the value in the settings menu.
      Returns:
      The component of the enum value.