Class Schedule

java.lang.Object
net.minecraft.entity.ai.brain.Schedule

public class Schedule extends Object
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/Schedule
intermediary net/minecraft/class_4170
official crp
  • Field Details

    • WORK_TIME

      public static final int WORK_TIME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named WORK_TIME Lnet/minecraft/entity/ai/brain/Schedule;WORK_TIME:I
      intermediary field_30692 Lnet/minecraft/class_4170;field_30692:I
      official a Lcrp;a:I
    • field_30693

      public static final int field_30693
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30693 Lnet/minecraft/entity/ai/brain/Schedule;field_30693:I
      intermediary field_30693 Lnet/minecraft/class_4170;field_30693:I
      official b Lcrp;b:I
    • EMPTY

      public static final Schedule EMPTY
      Mappings:
      Namespace Name Mixin selector
      named EMPTY Lnet/minecraft/entity/ai/brain/Schedule;EMPTY:Lnet/minecraft/entity/ai/brain/Schedule;
      intermediary field_18603 Lnet/minecraft/class_4170;field_18603:Lnet/minecraft/class_4170;
      official c Lcrp;c:Lcrp;
    • SIMPLE

      public static final Schedule SIMPLE
      Mappings:
      Namespace Name Mixin selector
      named SIMPLE Lnet/minecraft/entity/ai/brain/Schedule;SIMPLE:Lnet/minecraft/entity/ai/brain/Schedule;
      intermediary field_18604 Lnet/minecraft/class_4170;field_18604:Lnet/minecraft/class_4170;
      official d Lcrp;d:Lcrp;
    • VILLAGER_BABY

      public static final Schedule VILLAGER_BABY
      Mappings:
      Namespace Name Mixin selector
      named VILLAGER_BABY Lnet/minecraft/entity/ai/brain/Schedule;VILLAGER_BABY:Lnet/minecraft/entity/ai/brain/Schedule;
      intermediary field_18605 Lnet/minecraft/class_4170;field_18605:Lnet/minecraft/class_4170;
      official e Lcrp;e:Lcrp;
    • VILLAGER_DEFAULT

      public static final Schedule VILLAGER_DEFAULT
      Mappings:
      Namespace Name Mixin selector
      named VILLAGER_DEFAULT Lnet/minecraft/entity/ai/brain/Schedule;VILLAGER_DEFAULT:Lnet/minecraft/entity/ai/brain/Schedule;
      intermediary field_18606 Lnet/minecraft/class_4170;field_18606:Lnet/minecraft/class_4170;
      official f Lcrp;f:Lcrp;
    • scheduleRules

      private final Map<Activity,ScheduleRule> scheduleRules
      Mappings:
      Namespace Name Mixin selector
      named scheduleRules Lnet/minecraft/entity/ai/brain/Schedule;scheduleRules:Ljava/util/Map;
      intermediary field_18607 Lnet/minecraft/class_4170;field_18607:Ljava/util/Map;
      official g Lcrp;g:Ljava/util/Map;
  • Constructor Details

    • Schedule

      public Schedule()
  • Method Details

    • register

      protected static ScheduleBuilder register(String id)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/entity/ai/brain/Schedule;register(Ljava/lang/String;)Lnet/minecraft/entity/ai/brain/ScheduleBuilder;
      intermediary method_19217 Lnet/minecraft/class_4170;method_19217(Ljava/lang/String;)Lnet/minecraft/class_4171;
      official a Lcrp;a(Ljava/lang/String;)Lcrq;
    • addActivity

      protected void addActivity(Activity activity)
      Mappings:
      Namespace Name Mixin selector
      named addActivity Lnet/minecraft/entity/ai/brain/Schedule;addActivity(Lnet/minecraft/entity/ai/brain/Activity;)V
      intermediary method_19215 Lnet/minecraft/class_4170;method_19215(Lnet/minecraft/class_4168;)V
      official a Lcrp;a(Lcrn;)V
    • getRule

      protected ScheduleRule getRule(Activity activity)
      Mappings:
      Namespace Name Mixin selector
      named getRule Lnet/minecraft/entity/ai/brain/Schedule;getRule(Lnet/minecraft/entity/ai/brain/Activity;)Lnet/minecraft/entity/ai/brain/ScheduleRule;
      intermediary method_19218 Lnet/minecraft/class_4170;method_19218(Lnet/minecraft/class_4168;)Lnet/minecraft/class_4173;
      official b Lcrp;b(Lcrn;)Lcrr;
    • getOtherRules

      protected List<ScheduleRule> getOtherRules(Activity activity)
      Mappings:
      Namespace Name Mixin selector
      named getOtherRules Lnet/minecraft/entity/ai/brain/Schedule;getOtherRules(Lnet/minecraft/entity/ai/brain/Activity;)Ljava/util/List;
      intermediary method_19219 Lnet/minecraft/class_4170;method_19219(Lnet/minecraft/class_4168;)Ljava/util/List;
      official c Lcrp;c(Lcrn;)Ljava/util/List;
    • getActivityForTime

      public Activity getActivityForTime(int time)
      Mappings:
      Namespace Name Mixin selector
      named getActivityForTime Lnet/minecraft/entity/ai/brain/Schedule;getActivityForTime(I)Lnet/minecraft/entity/ai/brain/Activity;
      intermediary method_19213 Lnet/minecraft/class_4170;method_19213(I)Lnet/minecraft/class_4168;
      official a Lcrp;a(I)Lcrn;