Record Class BreezeDebugPayload.BreezeInfo
java.lang.Object
java.lang.Record
net.minecraft.network.protocol.common.custom.BreezeDebugPayload.BreezeInfo
- Enclosing class:
- BreezeDebugPayload
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionBreezeInfo(UUID uuid, int id, Integer attackTarget, BlockPos jumpTarget) Creates an instance of aBreezeInforecord class.BreezeInfo(FriendlyByteBuf p_311866_) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of theattackTargetrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intid()Returns the value of theidrecord component.Returns the value of thejumpTargetrecord component.toString()Returns a string representation of this record class.uuid()Returns the value of theuuidrecord component.voidwrite(FriendlyByteBuf p_311804_) 
- 
Field Details- 
uuidThe field for theuuidrecord component.
- 
idprivate final int idThe field for theidrecord component.
- 
attackTargetThe field for theattackTargetrecord component.
- 
jumpTargetThe field for thejumpTargetrecord component.
 
- 
- 
Constructor Details- 
BreezeInfo
- 
BreezeInfoCreates an instance of aBreezeInforecord class.- Parameters:
- uuid- the value for the- uuidrecord component
- id- the value for the- idrecord component
- attackTarget- the value for the- attackTargetrecord component
- jumpTarget- the value for the- jumpTargetrecord component
 
 
- 
- 
Method Details- 
write
- 
generateName
- 
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
uuidReturns the value of theuuidrecord component.- Returns:
- the value of the uuidrecord component
 
- 
idpublic int id()Returns the value of theidrecord component.- Returns:
- the value of the idrecord component
 
- 
attackTargetReturns the value of theattackTargetrecord component.- Returns:
- the value of the attackTargetrecord component
 
- 
jumpTargetReturns the value of thejumpTargetrecord component.- Returns:
- the value of the jumpTargetrecord component
 
 
-