Record Class DebugBrainCustomPayload.Brain

java.lang.Object
java.lang.Record
net.minecraft.network.packet.s2c.custom.DebugBrainCustomPayload.Brain
Record Components:
uuid -
entityId -
name -
profession -
xp -
health -
maxHealth -
pos -
inventory -
path -
wantsGolem -
angerLevel -
possibleActivities -
runningTasks -
memories -
gossips -
pois -
potentialPois -
Enclosing class:
DebugBrainCustomPayload

public static record DebugBrainCustomPayload.Brain(UUID uuid, int entityId, String name, String profession, int xp, float health, float maxHealth, Vec3d pos, String inventory, @Nullable Path path, boolean wantsGolem, int angerLevel, List<String> possibleActivities, List<String> runningTasks, List<String> memories, List<String> gossips, Set<BlockPos> pois, Set<BlockPos> potentialPois) extends Record
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/custom/DebugBrainCustomPayload$Brain
intermediary net/minecraft/class_8708$class_4232
official aau$a
named uuid
intermediary comp_1659
official a
named entityId
intermediary comp_1660
official b
named name
intermediary comp_1661
official c
named profession
intermediary comp_1662
official d
named xp
intermediary comp_1663
official e
named health
intermediary comp_1664
official f
named maxHealth
intermediary comp_1665
official g
named pos
intermediary comp_1666
official h
named inventory
intermediary comp_1667
official i
named path
intermediary comp_1668
official j
named wantsGolem
intermediary comp_1669
official k
named angerLevel
intermediary comp_1670
official l
named possibleActivities
intermediary comp_1671
official m
named runningTasks
intermediary comp_1672
official n
named memories
intermediary comp_1673
official o
named gossips
intermediary comp_1674
official p
named pois
intermediary comp_1675
official q
named potentialPois
intermediary comp_1676
official r
  • Field Details Link icon

    • uuid Link icon

      private final UUID uuid
      The field for the uuid record component.
    • entityId Link icon

      private final int entityId
      The field for the entityId record component.
    • name Link icon

      private final String name
      The field for the name record component.
    • profession Link icon

      private final String profession
      The field for the profession record component.
    • xp Link icon

      private final int xp
      The field for the xp record component.
    • health Link icon

      private final float health
      The field for the health record component.
    • maxHealth Link icon

      private final float maxHealth
      The field for the maxHealth record component.
    • pos Link icon

      private final Vec3d pos
      The field for the pos record component.
    • inventory Link icon

      private final String inventory
      The field for the inventory record component.
    • path Link icon

      @Nullable private final @Nullable Path path
      The field for the path record component.
    • wantsGolem Link icon

      private final boolean wantsGolem
      The field for the wantsGolem record component.
    • angerLevel Link icon

      private final int angerLevel
      The field for the angerLevel record component.
    • possibleActivities Link icon

      private final List<String> possibleActivities
      The field for the possibleActivities record component.
    • runningTasks Link icon

      private final List<String> runningTasks
      The field for the runningTasks record component.
    • memories Link icon

      private final List<String> memories
      The field for the memories record component.
    • gossips Link icon

      private final List<String> gossips
      The field for the gossips record component.
    • pois Link icon

      private final Set<BlockPos> pois
      The field for the pois record component.
    • potentialPois Link icon

      private final Set<BlockPos> potentialPois
      The field for the potentialPois record component.
  • Constructor Details Link icon

    • Brain Link icon

      public Brain(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/custom/DebugBrainCustomPayload$Brain;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_8708$class_4232;<init>(Lnet/minecraft/class_2540;)V
      official <init> Laau$a;<init>(Lwm;)V
    • Brain Link icon

      public Brain(UUID uuid, int entityId, String name, String profession, int xp, float health, float maxHealth, Vec3d vec3d, String string, @Nullable @Nullable Path path, boolean wantsGolem, int angerLevel, List<String> list, List<String> list2, List<String> list3, List<String> list4, Set<BlockPos> set, Set<BlockPos> set2)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/custom/DebugBrainCustomPayload$Brain;<init>(Ljava/util/UUID;ILjava/lang/String;Ljava/lang/String;IFFLnet/minecraft/util/math/Vec3d;Ljava/lang/String;Lnet/minecraft/entity/ai/pathing/Path;ZILjava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/Set;Ljava/util/Set;)V
      intermediary <init> Lnet/minecraft/class_8708$class_4232;<init>(Ljava/util/UUID;ILjava/lang/String;Ljava/lang/String;IFFLnet/minecraft/class_243;Ljava/lang/String;Lnet/minecraft/class_11;ZILjava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/Set;Ljava/util/Set;)V
      official <init> Laau$a;<init>(Ljava/util/UUID;ILjava/lang/String;Ljava/lang/String;IFFLevs;Ljava/lang/String;Leok;ZILjava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/Set;Ljava/util/Set;)V
  • Method Details Link icon

    • write Link icon

      public void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/custom/DebugBrainCustomPayload$Brain;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_53032 Lnet/minecraft/class_8708$class_4232;method_53032(Lnet/minecraft/class_2540;)V
      official a Laau$a;a(Lwm;)V
    • isPointOfInterest Link icon

      public boolean isPointOfInterest(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named isPointOfInterest Lnet/minecraft/network/packet/s2c/custom/DebugBrainCustomPayload$Brain;isPointOfInterest(Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_23151 Lnet/minecraft/class_8708$class_4232;method_23151(Lnet/minecraft/class_2338;)Z
      official a Laau$a;a(Liz;)Z
    • isPotentialJobSite Link icon

      public boolean isPotentialJobSite(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named isPotentialJobSite Lnet/minecraft/network/packet/s2c/custom/DebugBrainCustomPayload$Brain;isPotentialJobSite(Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_29388 Lnet/minecraft/class_8708$class_4232;method_29388(Lnet/minecraft/class_2338;)Z
      official b Laau$a;b(Liz;)Z
    • toString Link icon

      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 Link icon

      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 Link icon

      public final boolean equals(Object object)
      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:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • uuid Link icon

      public UUID uuid()
      Returns the value of the uuid record component.
      Returns:
      the value of the uuid record component
    • entityId Link icon

      public int entityId()
      Returns the value of the entityId record component.
      Returns:
      the value of the entityId record component
    • name Link icon

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

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

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

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

      public float maxHealth()
      Returns the value of the maxHealth record component.
      Returns:
      the value of the maxHealth record component
    • pos Link icon

      public Vec3d pos()
      Returns the value of the pos record component.
      Returns:
      the value of the pos record component
    • inventory Link icon

      public String inventory()
      Returns the value of the inventory record component.
      Returns:
      the value of the inventory record component
    • path Link icon

      @Nullable public @Nullable Path path()
      Returns the value of the path record component.
      Returns:
      the value of the path record component
    • wantsGolem Link icon

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

      public int angerLevel()
      Returns the value of the angerLevel record component.
      Returns:
      the value of the angerLevel record component
    • possibleActivities Link icon

      public List<String> possibleActivities()
      Returns the value of the possibleActivities record component.
      Returns:
      the value of the possibleActivities record component
    • runningTasks Link icon

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

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

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

      public Set<BlockPos> pois()
      Returns the value of the pois record component.
      Returns:
      the value of the pois record component
    • potentialPois Link icon

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