Class WorkStationCompetitionTask

java.lang.Object
net.minecraft.entity.ai.brain.task.WorkStationCompetitionTask

public class WorkStationCompetitionTask extends Object
Mappings:
Namespace Name
official bhg
intermediary net/minecraft/class_5326
named net/minecraft/entity/ai/brain/task/WorkStationCompetitionTask
  • Constructor Details

    • WorkStationCompetitionTask

      public WorkStationCompetitionTask()
  • Method Details

    • create

      public static Task<VillagerEntity> create()
      Mappings:
      Namespace Name Mixin selector
      official a Lbhg;a()Lbfv;
      intermediary method_47006 Lnet/minecraft/class_5326;method_47006()Lnet/minecraft/class_7893;
      named create Lnet/minecraft/entity/ai/brain/task/WorkStationCompetitionTask;create()Lnet/minecraft/entity/ai/brain/task/Task;
    • keepJobSiteForMoreExperiencedVillager

      private static VillagerEntity keepJobSiteForMoreExperiencedVillager(VillagerEntity first, VillagerEntity second)
      Mappings:
      Namespace Name Mixin selector
      official a Lbhg;a(Lbwc;Lbwc;)Lbwc;
      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 static boolean isUsingWorkStationAt(GlobalPos pos, RegistryEntry<PointOfInterestType> poiType, VillagerEntity villager)
      Mappings:
      Namespace Name Mixin selector
      official a Lbhg;a(Lgy;Lgz;Lbwc;)Z
      intermediary method_29257 Lnet/minecraft/class_5326;method_29257(Lnet/minecraft/class_4208;Lnet/minecraft/class_6880;Lnet/minecraft/class_1646;)Z
      named isUsingWorkStationAt Lnet/minecraft/entity/ai/brain/task/WorkStationCompetitionTask;isUsingWorkStationAt(Lnet/minecraft/util/math/GlobalPos;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/entity/passive/VillagerEntity;)Z
    • isCompletedWorkStation

      private static boolean isCompletedWorkStation(RegistryEntry<PointOfInterestType> poiType, VillagerProfession profession)
      Mappings:
      Namespace Name Mixin selector
      official a Lbhg;a(Lgz;Lbwf;)Z
      intermediary method_29253 Lnet/minecraft/class_5326;method_29253(Lnet/minecraft/class_6880;Lnet/minecraft/class_3852;)Z
      named isCompletedWorkStation Lnet/minecraft/entity/ai/brain/task/WorkStationCompetitionTask;isCompletedWorkStation(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/village/VillagerProfession;)Z