Record Class DiscardedQueryAnswerPayload
java.lang.Object
java.lang.Record
net.minecraft.network.protocol.login.custom.DiscardedQueryAnswerPayload
- All Implemented Interfaces:
- CustomQueryAnswerPayload
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionCreates an instance of aDiscardedQueryAnswerPayloadrecord class.
- 
Method SummaryModifier 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 p_294372_) 
- 
Field Details- 
INSTANCE
 
- 
- 
Constructor Details- 
DiscardedQueryAnswerPayloadpublic DiscardedQueryAnswerPayload()Creates an instance of aDiscardedQueryAnswerPayloadrecord class.
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- CustomQueryAnswerPayload
 
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates 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.
 
-