Class EntityInspectorEntry


  • public class EntityInspectorEntry
    extends Object
    EntityInspectorEntry
    • Constructor Detail

      • EntityInspectorEntry

        public EntityInspectorEntry​(String name,
                                    String type,
                                    String value,
                                    Consumer<String> callback)
        Default constructor
        Parameters:
        name - The name of the setting
        type - The type of the setting
        value - The start value of the setting
        callback - The labda wich gets called when the value changes
    • Method Detail

      • getName

        public String getName()
        Getter for the name
        Returns:
        returns the name
      • getType

        public String getType()
        Getter for the type
        Returns:
        returns the type
      • getValue

        public String getValue()
        Getter for the value
        Returns:
        returns the value
      • runCallback

        public void runCallback​(String arg)
        This function runs the callback of the item
        Parameters:
        arg - The argument of the callback