Record Class NodeValue.Bot
java.lang.Object
java.lang.Record
com.soulfiremc.server.script.NodeValue.Bot
- All Implemented Interfaces:
NodeValue
- Enclosing interface:
NodeValue
Runtime bot reference (not JSON-serializable).
-
Nested Class Summary
Nested classes/interfaces inherited from interface NodeValue
NodeValue.Bot, NodeValue.Json, NodeValue.ValueList -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Bot
Creates an instance of aBotrecord class.- Parameters:
bot- the value for thebotrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
bot
Returns the value of thebotrecord component.- Returns:
- the value of the
botrecord component
-