Record Class DebugStickState
java.lang.Object
java.lang.Record
net.minestom.server.item.component.DebugStickState
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Codec
<DebugStickState> static final DebugStickState
static final NetworkBuffer.Type
<DebugStickState> -
Constructor Summary
ConstructorsConstructorDescriptionDebugStickState
(@NotNull Map<String, String> state) Creates an instance of aDebugStickState
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.@NotNull DebugStickState
@NotNull DebugStickState
state()
Returns the value of thestate
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
EMPTY
-
CODEC
-
NETWORK_TYPE
-
-
Constructor Details
-
DebugStickState
-
-
Method Details
-
set
@NotNull public @NotNull DebugStickState set(@NotNull @NotNull String key, @NotNull @NotNull String value) -
remove
-
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)
. -
state
-