Class ScheduleBuilder

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

public class ScheduleBuilder extends Object
Mappings:
Namespace Name
official cgx
intermediary net/minecraft/class_4171
named net/minecraft/entity/ai/brain/ScheduleBuilder
  • Field Details

    • schedule

      private final Schedule schedule
      Mappings:
      Namespace Name Mixin selector
      official a Lcgx;a:Lcgw;
      intermediary field_18608 Lnet/minecraft/class_4171;field_18608:Lnet/minecraft/class_4170;
      named schedule Lnet/minecraft/entity/ai/brain/ScheduleBuilder;schedule:Lnet/minecraft/entity/ai/brain/Schedule;
    • activities

      private final List<ScheduleBuilder.ActivityEntry> activities
      Mappings:
      Namespace Name Mixin selector
      official b Lcgx;b:Ljava/util/List;
      intermediary field_18609 Lnet/minecraft/class_4171;field_18609:Ljava/util/List;
      named activities Lnet/minecraft/entity/ai/brain/ScheduleBuilder;activities:Ljava/util/List;
  • Constructor Details

    • ScheduleBuilder

      public ScheduleBuilder(Schedule schedule)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcgx;<init>(Lcgw;)V
      intermediary <init> Lnet/minecraft/class_4171;<init>(Lnet/minecraft/class_4170;)V
      named <init> Lnet/minecraft/entity/ai/brain/ScheduleBuilder;<init>(Lnet/minecraft/entity/ai/brain/Schedule;)V
  • Method Details

    • withActivity

      public ScheduleBuilder withActivity(int startTime, Activity activity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcgx;a(ILcgu;)Lcgx;
      intermediary method_19221 Lnet/minecraft/class_4171;method_19221(ILnet/minecraft/class_4168;)Lnet/minecraft/class_4171;
      named withActivity Lnet/minecraft/entity/ai/brain/ScheduleBuilder;withActivity(ILnet/minecraft/entity/ai/brain/Activity;)Lnet/minecraft/entity/ai/brain/ScheduleBuilder;
    • build

      public Schedule build()
      Mappings:
      Namespace Name Mixin selector
      official a Lcgx;a()Lcgw;
      intermediary method_19220 Lnet/minecraft/class_4171;method_19220()Lnet/minecraft/class_4170;
      named build Lnet/minecraft/entity/ai/brain/ScheduleBuilder;build()Lnet/minecraft/entity/ai/brain/Schedule;