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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDebugBrainDump(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 aDebugBrainDumprecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactivitiesrecord component.intReturns the value of theangerLevelrecord component.Returns the value of thebehaviorsrecord component.final booleanIndicates whether some other object is "equal to" this one.gossips()Returns the value of thegossipsrecord component.final inthashCode()Returns a hash code value for this object.floathealth()Returns the value of thehealthrecord component.Returns the value of theinventoryrecord component.floatReturns the value of themaxHealthrecord component.memories()Returns the value of thememoriesrecord component.name()Returns the value of thenamerecord component.pois()Returns the value of thepoisrecord component.Returns the value of thepotentialPoisrecord component.Returns the value of theprofessionrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of thewantsGolenrecord component.intxp()Returns the value of thexprecord component.
-
Field Details
-
SERIALIZER
-
-
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 aDebugBrainDumprecord class.- Parameters:
name- the value for thenamerecord componentprofession- the value for theprofessionrecord componentxp- the value for thexprecord componenthealth- the value for thehealthrecord componentmaxHealth- the value for themaxHealthrecord componentinventory- the value for theinventoryrecord componentwantsGolen- the value for thewantsGolenrecord componentangerLevel- the value for theangerLevelrecord componentactivities- the value for theactivitiesrecord componentbehaviors- the value for thebehaviorsrecord componentmemories- the value for thememoriesrecord componentgossips- the value for thegossipsrecord componentpois- the value for thepoisrecord componentpotentialPois- the value for thepotentialPoisrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
profession
Returns the value of theprofessionrecord component.- Returns:
- the value of the
professionrecord component
-
xp
public int xp()Returns the value of thexprecord component.- Returns:
- the value of the
xprecord component
-
health
public float health()Returns the value of thehealthrecord component.- Returns:
- the value of the
healthrecord component
-
maxHealth
public float maxHealth()Returns the value of themaxHealthrecord component.- Returns:
- the value of the
maxHealthrecord component
-
inventory
Returns the value of theinventoryrecord component.- Returns:
- the value of the
inventoryrecord component
-
wantsGolen
public boolean wantsGolen()Returns the value of thewantsGolenrecord component.- Returns:
- the value of the
wantsGolenrecord component
-
angerLevel
public int angerLevel()Returns the value of theangerLevelrecord component.- Returns:
- the value of the
angerLevelrecord component
-
activities
-
behaviors
-
memories
-
gossips
-
pois
-
potentialPois
-