Record Class MarkerNbtResponseMessage
java.lang.Object
java.lang.Record
fr.ghostrider584.axiom.network.packet.server.MarkerNbtResponseMessage
- All Implemented Interfaces:
net.minestom.server.network.packet.server.SendablePacket, net.minestom.server.network.packet.server.ServerPacket, net.minestom.server.network.packet.server.ServerPacket.Play
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minestom.server.network.packet.server.ServerPacket
net.minestom.server.network.packet.server.ServerPacket.ComponentHolding, net.minestom.server.network.packet.server.ServerPacket.Configuration, net.minestom.server.network.packet.server.ServerPacket.Login, net.minestom.server.network.packet.server.ServerPacket.Play, net.minestom.server.network.packet.server.ServerPacket.Status -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minestom.server.network.NetworkBuffer.Type<MarkerNbtResponseMessage> -
Constructor Summary
ConstructorsConstructorDescriptionMarkerNbtResponseMessage(UUID uuid, net.kyori.adventure.nbt.BinaryTag nbtData) Creates an instance of aMarkerNbtResponseMessagerecord class. -
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.net.kyori.adventure.nbt.BinaryTagnbtData()Returns the value of thenbtDatarecord component.final StringtoString()Returns a string representation of this record class.uuid()Returns the value of theuuidrecord component.
-
Field Details
-
TYPE
-
-
Constructor Details
-
MarkerNbtResponseMessage
Creates an instance of aMarkerNbtResponseMessagerecord class.- Parameters:
uuid- the value for theuuidrecord componentnbtData- the value for thenbtDatarecord 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). -
uuid
Returns the value of theuuidrecord component.- Returns:
- the value of the
uuidrecord component
-
nbtData
public net.kyori.adventure.nbt.BinaryTag nbtData()Returns the value of thenbtDatarecord component.- Returns:
- the value of the
nbtDatarecord component
-