Interface EntityProperty<T>

Type Parameters:
T - The type of the value of this property

public interface EntityProperty<T>
Class that represents a unique property
  • Method Details

    • getDefaultValue

      T getDefaultValue()
      The default value of this property, if this is provided in PropertyHolder.setProperty(EntityProperty, Object) as the value the property will be removed from the holder
      Returns:
      The default value of this property
    • getName

      String getName()
      Returns:
      The name of this property
    • isPlayerModifiable

      boolean isPlayerModifiable()
      Returns:
      Whether this property can be modified by players using commands