Package net.minecraft.entity.ai.brain
Class ScheduleRule
java.lang.Object
net.minecraft.entity.ai.brain.ScheduleRule
public class ScheduleRule extends Object
- Mappings:
Namespace Name official biy
intermediary net/minecraft/class_4173
named net/minecraft/entity/ai/brain/ScheduleRule
-
Field Summary
Fields Modifier and Type Field Description private List<ScheduleRuleEntry>
entries
private int
prioritizedEntryIndex
-
Constructor Summary
Constructors Constructor Description ScheduleRule()
-
Method Summary
Modifier and Type Method Description ScheduleRule
add(int startTime, float priority)
float
getPriority(int time)
private void
sort()
-
Field Details
-
entries
- Mappings:
Namespace Name Mixin selector official a
Lbiy;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
Lbiy;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
-
add
- Mappings:
Namespace Name Mixin selector official a
Lbiy;a(IF)Lbiy;
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;
-
sort
private void sort()- Mappings:
Namespace Name Mixin selector official b
Lbiy;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
Lbiy;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
-