Class WorkStationCompetitionTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<VillagerEntity>
net.minecraft.entity.ai.brain.task.WorkStationCompetitionTask
- Mappings:
Namespace Name official awp
intermediary net/minecraft/class_5326
named net/minecraft/entity/ai/brain/task/WorkStationCompetitionTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
requiredMemoryStates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
hasJobSite
(VillagerEntity villager) private boolean
isCompletedWorkStation
(PointOfInterestType poiType, VillagerProfession profession) private boolean
isUsingWorkStationAt
(GlobalPos pos, PointOfInterestType poiType, VillagerEntity villager) private static VillagerEntity
keepJobSiteForMoreExperiencedVillager
(VillagerEntity first, VillagerEntity second) protected void
run
(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, shouldRun, stop, tick, toString, tryStarting
-
Field Details
-
profession
- Mappings:
Namespace Name Mixin selector official a
Lawp;a:Lbjt;
intermediary field_25156
Lnet/minecraft/class_5326;field_25156:Lnet/minecraft/class_3852;
named profession
Lnet/minecraft/entity/ai/brain/task/WorkStationCompetitionTask;profession:Lnet/minecraft/village/VillagerProfession;
-
-
Constructor Details
-
WorkStationCompetitionTask
- Mappings:
Namespace Name Mixin selector official <init>
Lawp;<init>(Lbjt;)V
intermediary <init>
Lnet/minecraft/class_5326;<init>(Lnet/minecraft/class_3852;)V
named <init>
Lnet/minecraft/entity/ai/brain/task/WorkStationCompetitionTask;<init>(Lnet/minecraft/village/VillagerProfession;)V
-
-
Method Details
-
run
- Overrides:
run
in classTask<VillagerEntity>
- Mappings:
Namespace Name Mixin selector official a
Lawp;a(Labr;Lbjq;J)V
intermediary method_29258
Lnet/minecraft/class_5326;method_29258(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
named run
Lnet/minecraft/entity/ai/brain/task/WorkStationCompetitionTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
-
keepJobSiteForMoreExperiencedVillager
private static VillagerEntity keepJobSiteForMoreExperiencedVillager(VillagerEntity first, VillagerEntity second) - Mappings:
Namespace Name Mixin selector official a
Lawp;a(Lbjq;Lbjq;)Lbjq;
intermediary method_29255
Lnet/minecraft/class_5326;method_29255(Lnet/minecraft/class_1646;Lnet/minecraft/class_1646;)Lnet/minecraft/class_1646;
named keepJobSiteForMoreExperiencedVillager
Lnet/minecraft/entity/ai/brain/task/WorkStationCompetitionTask;keepJobSiteForMoreExperiencedVillager(Lnet/minecraft/entity/passive/VillagerEntity;Lnet/minecraft/entity/passive/VillagerEntity;)Lnet/minecraft/entity/passive/VillagerEntity;
-
isUsingWorkStationAt
private boolean isUsingWorkStationAt(GlobalPos pos, PointOfInterestType poiType, VillagerEntity villager) - Mappings:
Namespace Name Mixin selector official a
Lawp;a(Lgo;Lbdp;Lbjq;)Z
intermediary method_29257
Lnet/minecraft/class_5326;method_29257(Lnet/minecraft/class_4208;Lnet/minecraft/class_4158;Lnet/minecraft/class_1646;)Z
named isUsingWorkStationAt
Lnet/minecraft/entity/ai/brain/task/WorkStationCompetitionTask;isUsingWorkStationAt(Lnet/minecraft/util/dynamic/GlobalPos;Lnet/minecraft/world/poi/PointOfInterestType;Lnet/minecraft/entity/passive/VillagerEntity;)Z
-
isCompletedWorkStation
- Mappings:
Namespace Name Mixin selector official a
Lawp;a(Lbdp;Lbjt;)Z
intermediary method_29253
Lnet/minecraft/class_5326;method_29253(Lnet/minecraft/class_4158;Lnet/minecraft/class_3852;)Z
named isCompletedWorkStation
Lnet/minecraft/entity/ai/brain/task/WorkStationCompetitionTask;isCompletedWorkStation(Lnet/minecraft/world/poi/PointOfInterestType;Lnet/minecraft/village/VillagerProfession;)Z
-
hasJobSite
- Mappings:
Namespace Name Mixin selector official a
Lawp;a(Lbjq;)Z
intermediary method_29254
Lnet/minecraft/class_5326;method_29254(Lnet/minecraft/class_1646;)Z
named hasJobSite
Lnet/minecraft/entity/ai/brain/task/WorkStationCompetitionTask;hasJobSite(Lnet/minecraft/entity/passive/VillagerEntity;)Z
-