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
official vu$a
intermediary net/minecraft/class_8708$class_4232
named net/minecraft/network/packet/s2c/custom/DebugBrainCustomPayload$Brain
official a
intermediary comp_1659
named uuid
official b
intermediary comp_1660
named entityId
official c
intermediary comp_1661
named name
official d
intermediary comp_1662
named profession
official e
intermediary comp_1663
named xp
official f
intermediary comp_1664
named health
official g
intermediary comp_1665
named maxHealth
official h
intermediary comp_1666
named pos
official i
intermediary comp_1667
named inventory
official j
intermediary comp_1668
named path
official k
intermediary comp_1669
named wantsGolem
official l
intermediary comp_1670
named angerLevel
official m
intermediary comp_1671
named possibleActivities
official n
intermediary comp_1672
named runningTasks
official o
intermediary comp_1673
named memories
official p
intermediary comp_1674
named gossips
official q
intermediary comp_1675
named pois
official r
intermediary comp_1676
named potentialPois
  • 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
      official <init> Lvu$a;<init>(Lso;)V
      intermediary <init> Lnet/minecraft/class_8708$class_4232;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/custom/DebugBrainCustomPayload$Brain;<init>(Lnet/minecraft/network/PacketByteBuf;)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
      official <init> Lvu$a;<init>(Ljava/util/UUID;ILjava/lang/String;Ljava/lang/String;IFFLehn;Ljava/lang/String;Lebb;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
      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
  • Method Details

    • write

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

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

      public boolean isPotentialJobSite(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lvu$a;b(Lgw;)Z
      intermediary method_29388 Lnet/minecraft/class_8708$class_4232;method_29388(Lnet/minecraft/class_2338;)Z
      named isPotentialJobSite Lnet/minecraft/network/packet/s2c/custom/DebugBrainCustomPayload$Brain;isPotentialJobSite(Lnet/minecraft/util/math/BlockPos;)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