Record Class DebugBrainDump

java.lang.Object
java.lang.Record
org.geysermc.mcprotocollib.protocol.data.game.debug.DebugBrainDump
All Implemented Interfaces:
DebugInfo

public record DebugBrainDump(String name, String profession, int xp, float health, float maxHealth, String inventory, boolean wantsGolem, int angerLevel, List<String> activities, List<String> behaviors, List<String> memories, List<String> gossips, List<org.cloudburstmc.math.vector.Vector3i> pois, List<org.cloudburstmc.math.vector.Vector3i> potentialPois) extends Record implements DebugInfo
  • Constructor Summary

    Constructors
    Constructor
    Description
    DebugBrainDump(String name, String profession, int xp, float health, float maxHealth, String inventory, boolean wantsGolem, int angerLevel, List<String> activities, List<String> behaviors, List<String> memories, List<String> gossips, List<org.cloudburstmc.math.vector.Vector3i> pois, List<org.cloudburstmc.math.vector.Vector3i> potentialPois)
    Creates an instance of a DebugBrainDump record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the activities record component.
    int
    Returns the value of the angerLevel record component.
    Returns the value of the behaviors record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
     
    Returns the value of the gossips record component.
    final int
    Returns a hash code value for this object.
    float
    Returns the value of the health record component.
    Returns the value of the inventory record component.
    float
    Returns the value of the maxHealth record component.
    Returns the value of the memories record component.
    Returns the value of the name record component.
    List<org.cloudburstmc.math.vector.Vector3i>
    Returns the value of the pois record component.
    List<org.cloudburstmc.math.vector.Vector3i>
    Returns the value of the potentialPois record component.
    Returns the value of the profession record component.
    final String
    Returns a string representation of this record class.
    boolean
    Returns the value of the wantsGolem record component.
    int
    xp()
    Returns the value of the xp record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DebugBrainDump

      public DebugBrainDump(String name, String profession, int xp, float health, float maxHealth, String inventory, boolean wantsGolem, int angerLevel, List<String> activities, List<String> behaviors, List<String> memories, List<String> gossips, List<org.cloudburstmc.math.vector.Vector3i> pois, List<org.cloudburstmc.math.vector.Vector3i> potentialPois)
      Creates an instance of a DebugBrainDump record class.
      Parameters:
      name - the value for the name record component
      profession - the value for the profession record component
      xp - the value for the xp record component
      health - the value for the health record component
      maxHealth - the value for the maxHealth record component
      inventory - the value for the inventory record component
      wantsGolem - the value for the wantsGolem record component
      angerLevel - the value for the angerLevel record component
      activities - the value for the activities record component
      behaviors - the value for the behaviors record component
      memories - the value for the memories record component
      gossips - the value for the gossips record component
      pois - the value for the pois record component
      potentialPois - the value for the potentialPois record component
  • Method Details

    • getType

      public DebugSubscriptions getType()
      Specified by:
      getType in interface DebugInfo
    • toString

      public final 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • profession

      public String profession()
      Returns the value of the profession record component.
      Returns:
      the value of the profession record component
    • xp

      public int xp()
      Returns the value of the xp record component.
      Returns:
      the value of the xp record component
    • health

      public float health()
      Returns the value of the health record component.
      Returns:
      the value of the health record component
    • maxHealth

      public float maxHealth()
      Returns the value of the maxHealth record component.
      Returns:
      the value of the maxHealth record component
    • inventory

      public String inventory()
      Returns the value of the inventory record component.
      Returns:
      the value of the inventory record component
    • wantsGolem

      public boolean wantsGolem()
      Returns the value of the wantsGolem record component.
      Returns:
      the value of the wantsGolem record component
    • angerLevel

      public int angerLevel()
      Returns the value of the angerLevel record component.
      Returns:
      the value of the angerLevel record component
    • activities

      public List<String> activities()
      Returns the value of the activities record component.
      Returns:
      the value of the activities record component
    • behaviors

      public List<String> behaviors()
      Returns the value of the behaviors record component.
      Returns:
      the value of the behaviors record component
    • memories

      public List<String> memories()
      Returns the value of the memories record component.
      Returns:
      the value of the memories record component
    • gossips

      public List<String> gossips()
      Returns the value of the gossips record component.
      Returns:
      the value of the gossips record component
    • pois

      public List<org.cloudburstmc.math.vector.Vector3i> pois()
      Returns the value of the pois record component.
      Returns:
      the value of the pois record component
    • potentialPois

      public List<org.cloudburstmc.math.vector.Vector3i> potentialPois()
      Returns the value of the potentialPois record component.
      Returns:
      the value of the potentialPois record component