Record Class DebugBrainDump

java.lang.Object
java.lang.Record
net.minestom.server.network.debug.info.DebugBrainDump

public record DebugBrainDump(String name, String profession, int xp, float health, float maxHealth, String inventory, boolean wantsGolen, int angerLevel, List<String> activities, List<String> behaviors, List<String> memories, List<String> gossips, Set<Point> pois, Set<Point> potentialPois) extends Record
  • Field Details

  • Constructor Details

    • DebugBrainDump

      public DebugBrainDump(String name, String profession, int xp, float health, float maxHealth, String inventory, boolean wantsGolen, int angerLevel, List<String> activities, List<String> behaviors, List<String> memories, List<String> gossips, Set<Point> pois, Set<Point> 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
      wantsGolen - the value for the wantsGolen 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

    • 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 the compare method from their corresponding wrapper classes.
      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
    • wantsGolen

      public boolean wantsGolen()
      Returns the value of the wantsGolen record component.
      Returns:
      the value of the wantsGolen 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 Set<Point> pois()
      Returns the value of the pois record component.
      Returns:
      the value of the pois record component
    • potentialPois

      public Set<Point> potentialPois()
      Returns the value of the potentialPois record component.
      Returns:
      the value of the potentialPois record component