Package net.minecraft.entity.ai.brain
Class Schedule
java.lang.Object
net.minecraft.entity.ai.brain.Schedule
public class Schedule extends Object
- Mappings:
Namespace Name official biw
intermediary net/minecraft/class_4170
named net/minecraft/entity/ai/brain/Schedule
-
Field Summary
Fields Modifier and Type Field Description static Schedule
EMPTY
private Map<Activity,ScheduleRule>
scheduleRules
static Schedule
SIMPLE
static Schedule
VILLAGER_BABY
static Schedule
VILLAGER_DEFAULT
-
Constructor Summary
Constructors Constructor Description Schedule()
-
Method Summary
Modifier and Type Method Description protected void
addActivity(Activity activity)
Activity
getActivityForTime(int time)
protected List<ScheduleRule>
getOtherRules(Activity activity)
protected ScheduleRule
getRule(Activity activity)
protected static ScheduleBuilder
register(String id)
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector official a
Lbiw;a:Lbiw;
intermediary field_18603
Lnet/minecraft/class_4170;field_18603:Lnet/minecraft/class_4170;
named EMPTY
Lnet/minecraft/entity/ai/brain/Schedule;EMPTY:Lnet/minecraft/entity/ai/brain/Schedule;
-
SIMPLE
- Mappings:
Namespace Name Mixin selector official b
Lbiw;b:Lbiw;
intermediary field_18604
Lnet/minecraft/class_4170;field_18604:Lnet/minecraft/class_4170;
named SIMPLE
Lnet/minecraft/entity/ai/brain/Schedule;SIMPLE:Lnet/minecraft/entity/ai/brain/Schedule;
-
VILLAGER_BABY
- Mappings:
Namespace Name Mixin selector official c
Lbiw;c:Lbiw;
intermediary field_18605
Lnet/minecraft/class_4170;field_18605:Lnet/minecraft/class_4170;
named VILLAGER_BABY
Lnet/minecraft/entity/ai/brain/Schedule;VILLAGER_BABY:Lnet/minecraft/entity/ai/brain/Schedule;
-
VILLAGER_DEFAULT
- Mappings:
Namespace Name Mixin selector official d
Lbiw;d:Lbiw;
intermediary field_18606
Lnet/minecraft/class_4170;field_18606:Lnet/minecraft/class_4170;
named VILLAGER_DEFAULT
Lnet/minecraft/entity/ai/brain/Schedule;VILLAGER_DEFAULT:Lnet/minecraft/entity/ai/brain/Schedule;
-
scheduleRules
- Mappings:
Namespace Name Mixin selector official e
Lbiw;e:Ljava/util/Map;
intermediary field_18607
Lnet/minecraft/class_4170;field_18607:Ljava/util/Map;
named scheduleRules
Lnet/minecraft/entity/ai/brain/Schedule;scheduleRules:Ljava/util/Map;
-
-
Constructor Details
-
Schedule
public Schedule()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official a
Lbiw;a(Ljava/lang/String;)Lbix;
intermediary method_19217
Lnet/minecraft/class_4170;method_19217(Ljava/lang/String;)Lnet/minecraft/class_4171;
named register
Lnet/minecraft/entity/ai/brain/Schedule;register(Ljava/lang/String;)Lnet/minecraft/entity/ai/brain/ScheduleBuilder;
-
addActivity
- Mappings:
Namespace Name Mixin selector official a
Lbiw;a(Lbiu;)V
intermediary method_19215
Lnet/minecraft/class_4170;method_19215(Lnet/minecraft/class_4168;)V
named addActivity
Lnet/minecraft/entity/ai/brain/Schedule;addActivity(Lnet/minecraft/entity/ai/brain/Activity;)V
-
getRule
- Mappings:
Namespace Name Mixin selector official b
Lbiw;b(Lbiu;)Lbiy;
intermediary method_19218
Lnet/minecraft/class_4170;method_19218(Lnet/minecraft/class_4168;)Lnet/minecraft/class_4173;
named getRule
Lnet/minecraft/entity/ai/brain/Schedule;getRule(Lnet/minecraft/entity/ai/brain/Activity;)Lnet/minecraft/entity/ai/brain/ScheduleRule;
-
getOtherRules
- Mappings:
Namespace Name Mixin selector official c
Lbiw;c(Lbiu;)Ljava/util/List;
intermediary method_19219
Lnet/minecraft/class_4170;method_19219(Lnet/minecraft/class_4168;)Ljava/util/List;
named getOtherRules
Lnet/minecraft/entity/ai/brain/Schedule;getOtherRules(Lnet/minecraft/entity/ai/brain/Activity;)Ljava/util/List;
-
getActivityForTime
- Mappings:
Namespace Name Mixin selector official a
Lbiw;a(I)Lbiu;
intermediary method_19213
Lnet/minecraft/class_4170;method_19213(I)Lnet/minecraft/class_4168;
named getActivityForTime
Lnet/minecraft/entity/ai/brain/Schedule;getActivityForTime(I)Lnet/minecraft/entity/ai/brain/Activity;
-