Package net.minecraft
Record Class class_9004.class_9005
java.lang.Object
java.lang.Record
net.minecraft.class_9004.class_9005
- Record Components:
uuid
-id
-attackTarget
-jumpTarget
-
- Enclosing class:
class_9004
public static record class_9004.class_9005(UUID uuid, int id, Integer attackTarget, BlockPos jumpTarget)
extends Record
- Mappings:
Namespace Name official xn$a
intermediary net/minecraft/class_9004$class_9005
named net/minecraft/class_9004$class_9005
official a
intermediary comp_2116
named uuid
official b
intermediary comp_2117
named id
official c
intermediary comp_2118
named attackTarget
official d
intermediary comp_2119
named jumpTarget
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Integer
The field for theattackTarget
record component.private final int
The field for theid
record component.private final BlockPos
The field for thejumpTarget
record component.private final UUID
The field for theuuid
record component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_9005
(UUID uUID, int int2, Integer integer, BlockPos blockPos) class_9005
(PacketByteBuf packetByteBuf) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattackTarget
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.int
id()
Returns the value of theid
record component.Returns the value of thejumpTarget
record component.void
method_55326
(PacketByteBuf packetByteBuf) toString()
Returns a string representation of this record class.uuid()
Returns the value of theuuid
record component.
-
Field Details
-
uuid
The field for theuuid
record component. -
id
private final int idThe field for theid
record component. -
attackTarget
The field for theattackTarget
record component. -
jumpTarget
The field for thejumpTarget
record component.
-
-
Constructor Details
-
class_9005
-
class_9005
-
-
Method Details
-
method_55326
- Mappings:
Namespace Name Mixin selector official a
Lxn$a;a(Lue;)V
intermediary method_55326
Lnet/minecraft/class_9004$class_9005;method_55326(Lnet/minecraft/class_2540;)V
named method_55326
Lnet/minecraft/class_9004$class_9005;method_55326(Lnet/minecraft/network/PacketByteBuf;)V
-
method_55325
- Mappings:
Namespace Name Mixin selector official a
Lxn$a;a()Ljava/lang/String;
intermediary method_55325
Lnet/minecraft/class_9004$class_9005;method_55325()Ljava/lang/String;
named method_55325
Lnet/minecraft/class_9004$class_9005;method_55325()Ljava/lang/String;
-
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
uuid
Returns the value of theuuid
record component.- Returns:
- the value of the
uuid
record component
-
id
public int id()Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-
attackTarget
Returns the value of theattackTarget
record component.- Returns:
- the value of the
attackTarget
record component
-
jumpTarget
Returns the value of thejumpTarget
record component.- Returns:
- the value of the
jumpTarget
record component
-