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 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.private final @Nullable Path
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.@Nullable Path
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 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
- 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
- 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
- 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
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
-