Class WorkStationCompetitionTask

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

public class WorkStationCompetitionTask extends Object
Mappings:
Namespace Name
official bmj
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 Lbmj;a()Lbky;
      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 Lbmj;a(Lcbh;Lcbh;)Lcbh;
      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 Lbmj;a(Lhd;Lhe;Lcbh;)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 Lbmj;a(Lhe;Lcbk;)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