Record Class BreezeDebugPayload
java.lang.Object
java.lang.Record
net.minecraft.network.protocol.common.custom.BreezeDebugPayload
- All Implemented Interfaces:
- CustomPacketPayload
public record BreezeDebugPayload(BreezeDebugPayload.BreezeInfo breezeInfo)
extends Record
implements CustomPacketPayload
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final BreezeDebugPayload.BreezeInfoThe field for thebreezeInforecord component.static final ResourceLocation
- 
Constructor SummaryConstructorsConstructorDescriptionBreezeDebugPayload(FriendlyByteBuf p_312069_) BreezeDebugPayload(BreezeDebugPayload.BreezeInfo breezeInfo) Creates an instance of aBreezeDebugPayloadrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of thebreezeInforecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()final StringtoString()Returns a string representation of this record class.voidwrite(FriendlyByteBuf p_312126_) 
- 
Field Details- 
breezeInfoThe field for thebreezeInforecord component.
- 
ID
 
- 
- 
Constructor Details- 
BreezeDebugPayload
- 
BreezeDebugPayloadCreates an instance of aBreezeDebugPayloadrecord class.- Parameters:
- breezeInfo- the value for the- breezeInforecord component
 
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- CustomPacketPayload
 
- 
id- Specified by:
- idin interface- CustomPacketPayload
 
- 
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. All components in this record class are compared withObjects::equals(Object,Object).
- 
breezeInfoReturns the value of thebreezeInforecord component.- Returns:
- the value of the breezeInforecord component
 
 
-