Class ScheduleRule

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

public class ScheduleRule extends Object
Mappings:
Namespace Name
official cad
intermediary net/minecraft/class_4173
named net/minecraft/entity/ai/brain/ScheduleRule
  • Field Details

    • entries

      private final List<ScheduleRuleEntry> entries
      Mappings:
      Namespace Name Mixin selector
      official a Lcad;a:Ljava/util/List;
      intermediary field_18612 Lnet/minecraft/class_4173;field_18612:Ljava/util/List;
      named entries Lnet/minecraft/entity/ai/brain/ScheduleRule;entries:Ljava/util/List;
    • prioritizedEntryIndex

      private int prioritizedEntryIndex
      Mappings:
      Namespace Name Mixin selector
      official b Lcad;b:I
      intermediary field_18613 Lnet/minecraft/class_4173;field_18613:I
      named prioritizedEntryIndex Lnet/minecraft/entity/ai/brain/ScheduleRule;prioritizedEntryIndex:I
  • Constructor Details

    • ScheduleRule

      public ScheduleRule()
  • Method Details

    • getEntries

      public ImmutableList<ScheduleRuleEntry> getEntries()
      Mappings:
      Namespace Name Mixin selector
      official a Lcad;a()Lcom/google/common/collect/ImmutableList;
      intermediary method_35214 Lnet/minecraft/class_4173;method_35214()Lcom/google/common/collect/ImmutableList;
      named getEntries Lnet/minecraft/entity/ai/brain/ScheduleRule;getEntries()Lcom/google/common/collect/ImmutableList;
    • add

      public ScheduleRule add(int startTime, float priority)
      Mappings:
      Namespace Name Mixin selector
      official a Lcad;a(IF)Lcad;
      intermediary method_19227 Lnet/minecraft/class_4173;method_19227(IF)Lnet/minecraft/class_4173;
      named add Lnet/minecraft/entity/ai/brain/ScheduleRule;add(IF)Lnet/minecraft/entity/ai/brain/ScheduleRule;
    • add

      public ScheduleRule add(Collection<ScheduleRuleEntry> entries)
      Mappings:
      Namespace Name Mixin selector
      official a Lcad;a(Ljava/util/Collection;)Lcad;
      intermediary method_35215 Lnet/minecraft/class_4173;method_35215(Ljava/util/Collection;)Lnet/minecraft/class_4173;
      named add Lnet/minecraft/entity/ai/brain/ScheduleRule;add(Ljava/util/Collection;)Lnet/minecraft/entity/ai/brain/ScheduleRule;
    • sort

      private void sort()
      Mappings:
      Namespace Name Mixin selector
      official b Lcad;b()V
      intermediary method_19229 Lnet/minecraft/class_4173;method_19229()V
      named sort Lnet/minecraft/entity/ai/brain/ScheduleRule;sort()V
    • getPriority

      public float getPriority(int time)
      Mappings:
      Namespace Name Mixin selector
      official a Lcad;a(I)F
      intermediary method_19226 Lnet/minecraft/class_4173;method_19226(I)F
      named getPriority Lnet/minecraft/entity/ai/brain/ScheduleRule;getPriority(I)F