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 Summary
Modifier and TypeFieldDescriptionprivate final int
The field for theangerLevel
record component.private final int
The field for theentityId
record component.The field for thegossips
record component.private final float
The field for thehealth
record component.private final String
The field for theinventory
record component.private final float
The field for themaxHealth
record component.The field for thememories
record component.private final String
The field for thename
record component.The field for thepath
record component.The field for thepois
record component.private final Vec3d
The field for thepos
record component.The field for thepossibleActivities
record component.The field for thepotentialPois
record component.private final String
The field for theprofession
record component.The field for therunningTasks
record component.private final UUID
The field for theuuid
record component.private final boolean
The field for thewantsGolem
record component.private final int
The field for thexp
record component. -
Constructor Summary
ConstructorDescriptionBrain
(UUID uuid, int entityId, String name, String profession, int xp, float health, float maxHealth, Vec3d vec3d, String string, @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) Brain
(PacketByteBuf buf) -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the value of theangerLevel
record component.int
entityId()
Returns the value of theentityId
record component.final boolean
Indicates whether some other object is "equal to" this one.gossips()
Returns the value of thegossips
record component.final int
hashCode()
Returns a hash code value for this object.float
health()
Returns the value of thehealth
record component.Returns the value of theinventory
record component.boolean
boolean
float
Returns the value of themaxHealth
record component.memories()
Returns the value of thememories
record component.name()
Returns the value of thename
record component.path()
Returns the value of thepath
record component.pois()
Returns the value of thepois
record component.pos()
Returns the value of thepos
record component.Returns the value of thepossibleActivities
record component.Returns the value of thepotentialPois
record component.Returns the value of theprofession
record component.Returns the value of therunningTasks
record component.final String
toString()
Returns a string representation of this record class.uuid()
Returns the value of theuuid
record component.boolean
Returns the value of thewantsGolem
record component.void
write
(PacketByteBuf buf) int
xp()
Returns the value of thexp
record component.
-
Field Details
-
uuid
The field for theuuid
record component. -
entityId
private final int entityIdThe field for theentityId
record component. -
name
The field for thename
record component. -
profession
The field for theprofession
record component. -
xp
private final int xpThe field for thexp
record component. -
health
private final float healthThe field for thehealth
record component. -
maxHealth
private final float maxHealthThe field for themaxHealth
record component. -
pos
The field for thepos
record component. -
inventory
The field for theinventory
record component. -
path
The field for thepath
record component. -
wantsGolem
private final boolean wantsGolemThe field for thewantsGolem
record component. -
angerLevel
private final int angerLevelThe field for theangerLevel
record component. -
possibleActivities
The field for thepossibleActivities
record component. -
runningTasks
The field for therunningTasks
record component. -
memories
The field for thememories
record component. -
gossips
The field for thegossips
record component. -
pois
The field for thepois
record component. -
potentialPois
The field for thepotentialPois
record component.
-
-
Constructor Details
-
Brain
- 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
- 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
- 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
- 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
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. -
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. -
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 '=='. -
uuid
Returns the value of theuuid
record component.- Returns:
- the value of the
uuid
record component
-
entityId
public int entityId()Returns the value of theentityId
record component.- Returns:
- the value of the
entityId
record component
-
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-
profession
Returns the value of theprofession
record component.- Returns:
- the value of the
profession
record component
-
xp
public int xp()Returns the value of thexp
record component.- Returns:
- the value of the
xp
record component
-
health
public float health()Returns the value of thehealth
record component.- Returns:
- the value of the
health
record component
-
maxHealth
public float maxHealth()Returns the value of themaxHealth
record component.- Returns:
- the value of the
maxHealth
record component
-
pos
Returns the value of thepos
record component.- Returns:
- the value of the
pos
record component
-
inventory
Returns the value of theinventory
record component.- Returns:
- the value of the
inventory
record component
-
path
Returns the value of thepath
record component.- Returns:
- the value of the
path
record component
-
wantsGolem
public boolean wantsGolem()Returns the value of thewantsGolem
record component.- Returns:
- the value of the
wantsGolem
record component
-
angerLevel
public int angerLevel()Returns the value of theangerLevel
record component.- Returns:
- the value of the
angerLevel
record component
-
possibleActivities
Returns the value of thepossibleActivities
record component.- Returns:
- the value of the
possibleActivities
record component
-
runningTasks
Returns the value of therunningTasks
record component.- Returns:
- the value of the
runningTasks
record component
-
memories
Returns the value of thememories
record component.- Returns:
- the value of the
memories
record component
-
gossips
Returns the value of thegossips
record component.- Returns:
- the value of the
gossips
record component
-
pois
Returns the value of thepois
record component.- Returns:
- the value of the
pois
record component
-
potentialPois
Returns the value of thepotentialPois
record component.- Returns:
- the value of the
potentialPois
record component
-