Record Class DebugBrainCustomPayload.Brain
java.lang.Object
java.lang.Record
net.minecraft.network.packet.s2c.custom.DebugBrainCustomPayload.Brain
- Record Components:
- uuid-
- entityId-
- name-
- profession-
- experience-
- 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 experience, 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 - zw$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 - experience- 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 SummaryFieldsModifier and TypeFieldDescriptionprivate final intThe field for theangerLevelrecord component.private final intThe field for theentityIdrecord component.private final intThe field for theexperiencerecord 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.
- 
Constructor SummaryConstructorsConstructorDescriptionBrain(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 SummaryModifier 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.intReturns the value of theexperiencerecord component.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) 
- 
Field Details- 
uuidThe field for theuuidrecord component.
- 
entityIdprivate final int entityIdThe field for theentityIdrecord component.
- 
nameThe field for thenamerecord component.
- 
professionThe field for theprofessionrecord component.
- 
experienceprivate final int experienceThe field for theexperiencerecord component.
- 
healthprivate final float healthThe field for thehealthrecord component.
- 
maxHealthprivate final float maxHealthThe field for themaxHealthrecord component.
- 
posThe field for theposrecord component.
- 
inventoryThe field for theinventoryrecord component.
- 
pathThe field for thepathrecord component.
- 
wantsGolemprivate final boolean wantsGolemThe field for thewantsGolemrecord component.
- 
angerLevelprivate final int angerLevelThe field for theangerLevelrecord component.
- 
possibleActivitiesThe field for thepossibleActivitiesrecord component.
- 
runningTasksThe field for therunningTasksrecord component.
- 
memoriesThe field for thememoriesrecord component.
- 
gossipsThe field for thegossipsrecord component.
- 
poisThe field for thepoisrecord component.
- 
potentialPoisThe 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;)V- intermediary - <init>- Lnet/minecraft/class_8708$class_4232;<init>(Lnet/minecraft/class_2540;)V- official - <init>- Lzw$a;<init>(Lvl;)V
 
- 
Brainpublic 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>- Lzw$a;<init>(Ljava/util/UUID;ILjava/lang/String;Ljava/lang/String;IFFLfbb;Ljava/lang/String;Leto;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- Lzw$a;a(Lvl;)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- Lzw$a;a(Lji;)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- Lzw$a;b(Lji;)Z
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 '=='.
- 
uuidReturns the value of theuuidrecord component.- Returns:
- the value of the uuidrecord component
 
- 
entityIdpublic int entityId()Returns the value of theentityIdrecord component.- Returns:
- the value of the entityIdrecord component
 
- 
nameReturns the value of thenamerecord component.- Returns:
- the value of the namerecord component
 
- 
professionReturns the value of theprofessionrecord component.- Returns:
- the value of the professionrecord component
 
- 
experiencepublic int experience()Returns the value of theexperiencerecord component.- Returns:
- the value of the experiencerecord component
 
- 
healthpublic float health()Returns the value of thehealthrecord component.- Returns:
- the value of the healthrecord component
 
- 
maxHealthpublic float maxHealth()Returns the value of themaxHealthrecord component.- Returns:
- the value of the maxHealthrecord component
 
- 
posReturns the value of theposrecord component.- Returns:
- the value of the posrecord component
 
- 
inventoryReturns the value of theinventoryrecord component.- Returns:
- the value of the inventoryrecord component
 
- 
pathReturns the value of thepathrecord component.- Returns:
- the value of the pathrecord component
 
- 
wantsGolempublic boolean wantsGolem()Returns the value of thewantsGolemrecord component.- Returns:
- the value of the wantsGolemrecord component
 
- 
angerLevelpublic int angerLevel()Returns the value of theangerLevelrecord component.- Returns:
- the value of the angerLevelrecord component
 
- 
possibleActivitiesReturns the value of thepossibleActivitiesrecord component.- Returns:
- the value of the possibleActivitiesrecord component
 
- 
runningTasksReturns the value of therunningTasksrecord component.- Returns:
- the value of the runningTasksrecord component
 
- 
memoriesReturns the value of thememoriesrecord component.- Returns:
- the value of the memoriesrecord component
 
- 
gossipsReturns the value of thegossipsrecord component.- Returns:
- the value of the gossipsrecord component
 
- 
poisReturns the value of thepoisrecord component.- Returns:
- the value of the poisrecord component
 
- 
potentialPoisReturns the value of thepotentialPoisrecord component.- Returns:
- the value of the potentialPoisrecord component
 
 
-