Interface GeyserStringEnumProperty

All Superinterfaces:
GeyserEntityProperty<String>

public interface GeyserStringEnumProperty extends GeyserEntityProperty<String>
Represents a string-backed enum property. There are a few key limitations:
  • There cannot be more than 16 values
  • The values' names cannot be longer than 32 chars, must start with a letter, and may contain numbers and underscores
Since:
2.9.0
  • Method Details

    • values

      List<String> values()
      Returns:
      an unmodifiable list of all registered values
      Since:
      2.9.0