Record Class DebugGoalInfo
java.lang.Object
java.lang.Record
org.geysermc.mcprotocollib.protocol.data.game.debug.DebugGoalInfo
- All Implemented Interfaces:
DebugInfo
public record DebugGoalInfo(List<DebugGoalInfo.DebugGoal> goals)
extends Record
implements DebugInfo
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDebugGoalInfo(List<DebugGoalInfo.DebugGoal> goals) Creates an instance of aDebugGoalInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.getType()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.
-
Constructor Details
-
DebugGoalInfo
Creates an instance of aDebugGoalInforecord class.- Parameters:
goals- the value for thegoalsrecord component
-
-
Method Details
-
getType
-
toString
-
hashCode
-
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
-