Interface ClockTimeMarker
- All Known Implementing Classes:
ClockTimeMarkerImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RegistryKey<ClockTimeMarker> static final Codec<RegistryKey<ClockTimeMarker>> static final RegistryKey<ClockTimeMarker> static final RegistryKey<ClockTimeMarker> static final RegistryKey<ClockTimeMarker> static final RegistryKey<ClockTimeMarker> static final RegistryKey<ClockTimeMarker> static final RegistryKey<ClockTimeMarker> -
Method Summary
Modifier and TypeMethodDescriptionclock()static ClockTimeMarkercreate(RegistryKey<WorldClock> clock, int ticks, @Nullable Integer periodTicks, boolean showInCommands) static RegistryKey<ClockTimeMarker> booleanintticks()
-
Field Details
-
CODEC
-
CLOCK_TIME_MARKER
-
DAY
-
NOON
-
NIGHT
-
MIDNIGHT
-
WAKE_UP_FROM_SLEEP
-
ROLL_VILLAGE_SIEGE
-
-
Method Details
-
create
static ClockTimeMarker create(RegistryKey<WorldClock> clock, int ticks, @Nullable @Nullable Integer periodTicks, boolean showInCommands) -
key
-
clock
RegistryKey<WorldClock> clock() -
ticks
int ticks() -
periodTicks
-
showInCommands
boolean showInCommands()
-