Package net.minecraft.world.debug.data
Record Class GoalSelectorDebugData
java.lang.Object
java.lang.Record
net.minecraft.world.debug.data.GoalSelectorDebugData
- Record Components:
goals-
- Mappings:
Namespace Name named net/minecraft/world/debug/data/GoalSelectorDebugDataintermediary net/minecraft/class_12011official bvnnamed goalsintermediary comp_4857official b
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<GoalSelectorDebugData.Goal> The field for thegoalsrecord component.static final PacketCodec<ByteBuf, GoalSelectorDebugData> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.goals()Returns the value of thegoalsrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
goals
The field for thegoalsrecord component. -
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/world/debug/data/GoalSelectorDebugData;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_62857Lnet/minecraft/class_12011;field_62857:Lnet/minecraft/class_9139;official aLbvn;a:Laae;
-
-
Constructor Details
-
GoalSelectorDebugData
-
-
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). -
goals
Returns the value of thegoalsrecord component.- Returns:
- the value of the
goalsrecord component
-