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$Brainintermediary net/minecraft/class_8708$class_4232official aag$anamed uuidintermediary comp_1659official anamed entityIdintermediary comp_1660official bnamed nameintermediary comp_1661official cnamed professionintermediary comp_1662official dnamed xpintermediary comp_1663official enamed healthintermediary comp_1664official fnamed maxHealthintermediary comp_1665official gnamed posintermediary comp_1666official hnamed inventoryintermediary comp_1667official inamed pathintermediary comp_1668official jnamed wantsGolemintermediary comp_1669official knamed angerLevelintermediary comp_1670official lnamed possibleActivitiesintermediary comp_1671official mnamed runningTasksintermediary comp_1672official nnamed memoriesintermediary comp_1673official onamed gossipsintermediary comp_1674official pnamed poisintermediary comp_1675official qnamed potentialPoisintermediary comp_1676official r
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for theangerLevelrecord component.private final intThe field for theentityIdrecord component.The field for thegossipsrecord component.private final floatThe field for thehealthrecord component.private final StringThe field for theinventoryrecord component.private final floatThe field for themaxHealthrecord component.The field for thememoriesrecord component.private final StringThe field for thenamerecord component.The field for thepathrecord component.The field for thepoisrecord component.private final Vec3dThe field for theposrecord component.The field for thepossibleActivitiesrecord component.The field for thepotentialPoisrecord component.private final StringThe field for theprofessionrecord component.The field for therunningTasksrecord component.private final UUIDThe field for theuuidrecord component.private final booleanThe field for thewantsGolemrecord component.private final intThe field for thexprecord component. -
Constructor Summary
ConstructorsConstructorDescriptionBrain(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 TypeMethodDescriptionintReturns the value of theangerLevelrecord component.intentityId()Returns the value of theentityIdrecord component.final booleanIndicates whether some other object is "equal to" this one.gossips()Returns the value of thegossipsrecord component.final inthashCode()Returns a hash code value for this object.floathealth()Returns the value of thehealthrecord component.Returns the value of theinventoryrecord component.booleanbooleanfloatReturns the value of themaxHealthrecord component.memories()Returns the value of thememoriesrecord component.name()Returns the value of thenamerecord component.path()Returns the value of thepathrecord component.pois()Returns the value of thepoisrecord component.pos()Returns the value of theposrecord component.Returns the value of thepossibleActivitiesrecord component.Returns the value of thepotentialPoisrecord component.Returns the value of theprofessionrecord component.Returns the value of therunningTasksrecord component.final StringtoString()Returns a string representation of this record class.uuid()Returns the value of theuuidrecord component.booleanReturns the value of thewantsGolemrecord component.voidwrite(PacketByteBuf buf) intxp()Returns the value of thexprecord component.
-
Field Details
-
uuid
The field for theuuidrecord component. -
entityId
private final int entityIdThe field for theentityIdrecord component. -
name
The field for thenamerecord component. -
profession
The field for theprofessionrecord component. -
xp
private final int xpThe field for thexprecord component. -
health
private final float healthThe field for thehealthrecord component. -
maxHealth
private final float maxHealthThe field for themaxHealthrecord component. -
pos
The field for theposrecord component. -
inventory
The field for theinventoryrecord component. -
path
The field for thepathrecord component. -
wantsGolem
private final boolean wantsGolemThe field for thewantsGolemrecord component. -
angerLevel
private final int angerLevelThe field for theangerLevelrecord component. -
possibleActivities
The field for thepossibleActivitiesrecord component. -
runningTasks
The field for therunningTasksrecord component. -
memories
The field for thememoriesrecord component. -
gossips
The field for thegossipsrecord component. -
pois
The field for thepoisrecord component. -
potentialPois
The field for thepotentialPoisrecord component.
-
-
Constructor Details
-
Brain
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/network/packet/s2c/custom/DebugBrainCustomPayload$Brain;<init>(Lnet/minecraft/network/PacketByteBuf;)Vintermediary <init>Lnet/minecraft/class_8708$class_4232;<init>(Lnet/minecraft/class_2540;)Vofficial <init>Laag$a;<init>(Lvw;)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;)Vintermediary <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;)Vofficial <init>Laag$a;<init>(Ljava/util/UUID;ILjava/lang/String;Ljava/lang/String;IFFLexc;Ljava/lang/String;Leps;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 writeLnet/minecraft/network/packet/s2c/custom/DebugBrainCustomPayload$Brain;write(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_53032Lnet/minecraft/class_8708$class_4232;method_53032(Lnet/minecraft/class_2540;)Vofficial aLaag$a;a(Lvw;)V
-
isPointOfInterest
- Mappings:
Namespace Name Mixin selector named isPointOfInterestLnet/minecraft/network/packet/s2c/custom/DebugBrainCustomPayload$Brain;isPointOfInterest(Lnet/minecraft/util/math/BlockPos;)Zintermediary method_23151Lnet/minecraft/class_8708$class_4232;method_23151(Lnet/minecraft/class_2338;)Zofficial aLaag$a;a(Ljd;)Z
-
isPotentialJobSite
- Mappings:
Namespace Name Mixin selector named isPotentialJobSiteLnet/minecraft/network/packet/s2c/custom/DebugBrainCustomPayload$Brain;isPotentialJobSite(Lnet/minecraft/util/math/BlockPos;)Zintermediary method_29388Lnet/minecraft/class_8708$class_4232;method_29388(Lnet/minecraft/class_2338;)Zofficial bLaag$a;b(Ljd;)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 theuuidrecord component.- Returns:
- the value of the
uuidrecord component
-
entityId
public int entityId()Returns the value of theentityIdrecord component.- Returns:
- the value of the
entityIdrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
profession
Returns the value of theprofessionrecord component.- Returns:
- the value of the
professionrecord component
-
xp
public int xp()Returns the value of thexprecord component.- Returns:
- the value of the
xprecord component
-
health
public float health()Returns the value of thehealthrecord component.- Returns:
- the value of the
healthrecord component
-
maxHealth
public float maxHealth()Returns the value of themaxHealthrecord component.- Returns:
- the value of the
maxHealthrecord component
-
pos
Returns the value of theposrecord component.- Returns:
- the value of the
posrecord component
-
inventory
Returns the value of theinventoryrecord component.- Returns:
- the value of the
inventoryrecord component
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
wantsGolem
public boolean wantsGolem()Returns the value of thewantsGolemrecord component.- Returns:
- the value of the
wantsGolemrecord component
-
angerLevel
public int angerLevel()Returns the value of theangerLevelrecord component.- Returns:
- the value of the
angerLevelrecord component
-
possibleActivities
Returns the value of thepossibleActivitiesrecord component.- Returns:
- the value of the
possibleActivitiesrecord component
-
runningTasks
Returns the value of therunningTasksrecord component.- Returns:
- the value of the
runningTasksrecord component
-
memories
Returns the value of thememoriesrecord component.- Returns:
- the value of the
memoriesrecord component
-
gossips
Returns the value of thegossipsrecord component.- Returns:
- the value of the
gossipsrecord component
-
pois
Returns the value of thepoisrecord component.- Returns:
- the value of the
poisrecord component
-
potentialPois
Returns the value of thepotentialPoisrecord component.- Returns:
- the value of the
potentialPoisrecord component
-