Record Class DiscardedQueryAnswerPayload
java.lang.Object
java.lang.Record
net.minecraft.network.protocol.login.custom.DiscardedQueryAnswerPayload
- All Implemented Interfaces:
CustomQueryAnswerPayload
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aDiscardedQueryAnswerPayloadrecord 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.final StringtoString()Returns a string representation of this record class.voidwrite(FriendlyByteBuf output)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DiscardedQueryAnswerPayload
public DiscardedQueryAnswerPayload()Creates an instance of aDiscardedQueryAnswerPayloadrecord class.
-
-
Method Details
-
write
- Specified by:
writein interfaceCustomQueryAnswerPayload
-
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.
-