Package net.minecraft.world.debug.data
Record Class BreezeDebugData
java.lang.Object
java.lang.Record
net.minecraft.world.debug.data.BreezeDebugData
- Record Components:
attackTarget-jumpTarget-
public record BreezeDebugData(Optional<Integer> attackTarget, Optional<BlockPos> jumpTarget)
extends Record
- Mappings:
Namespace Name named net/minecraft/world/debug/data/BreezeDebugDataintermediary net/minecraft/class_12007official bvjnamed attackTargetintermediary comp_4852official bnamed jumpTargetintermediary comp_4853official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for theattackTargetrecord component.The field for thejumpTargetrecord component.static final PacketCodec<ByteBuf, BreezeDebugData> -
Constructor Summary
Constructors -
Method Summary
Modifier 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.Returns the value of thejumpTargetrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
attackTarget
The field for theattackTargetrecord component. -
jumpTarget
The field for thejumpTargetrecord component. -
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/world/debug/data/BreezeDebugData;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_62846Lnet/minecraft/class_12007;field_62846:Lnet/minecraft/class_9139;official aLbvj;a:Laae;
-
-
Constructor Details
-
BreezeDebugData
-
-
Method Details
-
toString
Returns 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. -
hashCode
public 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. -
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). -
attackTarget
Returns the value of theattackTargetrecord component.- Returns:
- the value of the
attackTargetrecord component
-
jumpTarget
Returns the value of thejumpTargetrecord component.- Returns:
- the value of the
jumpTargetrecord component
-