Package net.minecraft.entity.ai.brain
Class Schedule
java.lang.Object
net.minecraft.entity.ai.brain.Schedule
public class Schedule extends Object
-
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
-
SIMPLE
-
VILLAGER_BABY
-
VILLAGER_DEFAULT
-
scheduleRules
-
-
Constructor Details
-
Schedule
public Schedule()
-
-
Method Details
-
register
-
addActivity
-
getRule
-
getOtherRules
-
getActivityForTime
-