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 abc$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

    • uuid

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    • Brain

      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> Labc$a;<init>(Lws;)V
    • Brain

      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> Labc$a;<init>(Ljava/util/UUID;ILjava/lang/String;Ljava/lang/String;IFFLfbx;Ljava/lang/String;Leuk;ZILjava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/Set;Ljava/util/Set;)V
  • Method Details

    • write

      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 Labc$a;a(Lws;)V
    • isPointOfInterest

      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 Labc$a;a(Ljh;)Z
    • isPotentialJobSite

      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 Labc$a;b(Ljh;)Z
    • 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 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

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

      public int entityId()
      Returns the value of the entityId record component.
      Returns:
      the value of the entityId record component
    • 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
    • pos

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

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

      @Nullable public @Nullable Path path()
      Returns the value of the path record component.
      Returns:
      the value of the path 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
    • possibleActivities

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

      public List<String> runningTasks()
      Returns the value of the runningTasks record component.
      Returns:
      the value of the runningTasks 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<BlockPos> pois()
      Returns the value of the pois record component.
      Returns:
      the value of the pois record component
    • potentialPois

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