Class Schedule
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<Schedule>
-
- net.minecraft.entity.ai.brain.schedule.Schedule
-
- All Implemented Interfaces:
IForgeRegistryEntry<Schedule>
public class Schedule extends ForgeRegistryEntry<Schedule>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
-
Field Summary
Fields Modifier and Type Field Description static Schedule
EMPTY
static Schedule
SIMPLE
private java.util.Map<Activity,ScheduleDuties>
timelines
static Schedule
VILLAGER_BABY
static Schedule
VILLAGER_DEFAULT
-
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
-
Constructor Summary
Constructors Constructor Description Schedule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
ensureTimelineExistsFor(Activity p_221379_1_)
Activity
getActivityAt(int p_221377_1_)
protected java.util.List<ScheduleDuties>
getAllTimelinesExceptFor(Activity p_221381_1_)
protected ScheduleDuties
getTimelineFor(Activity p_221382_1_)
protected static ScheduleBuilder
register(java.lang.String p_221380_0_)
-
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
-
-
-
Method Detail
-
register
protected static ScheduleBuilder register(java.lang.String p_221380_0_)
-
ensureTimelineExistsFor
protected void ensureTimelineExistsFor(Activity p_221379_1_)
-
getTimelineFor
protected ScheduleDuties getTimelineFor(Activity p_221382_1_)
-
getAllTimelinesExceptFor
protected java.util.List<ScheduleDuties> getAllTimelinesExceptFor(Activity p_221381_1_)
-
getActivityAt
public Activity getActivityAt(int p_221377_1_)
-
-