Contents
Record Class SignalTag
java.lang.Object
java.lang.Record
com.hypixel.hytale.builtin.triggervolumes.effect.SignalTag
A single key/value tag carried by a signal event. A signal may carry several of these so receivers
can filter on more than one key (see
TagCondition with Source: EVENT). A blank value
is normalized to null, which a TagCondition treats as "matches any value for this key".-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.Builds a tag list from index-aligned key/value arrays (the editor-friendly representation).
-
Constructor Details
-
SignalTag
-
-
Method Details
-
zip
-
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). -
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-