Class WorkStationCompetitionTask

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

public class WorkStationCompetitionTask extends Object
Mappings:
Namespace Name
official bjb
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 Lbjb;a()Lbhq;
      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 Lbjb;a(Lbxz;Lbxz;)Lbxz;
      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 Lbjb;a(Lhc;Lhd;Lbxz;)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 Lbjb;a(Lhd;Lbyc;)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