Class ScheduleRule

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

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

    • entries

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

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

    • ScheduleRule

      public ScheduleRule()
  • Method Details

    • getEntries

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

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

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

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

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