public abstract class AbstractDuration extends java.lang.Object implements DayCareDuration
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
id |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDuration(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
abstract net.minecraft.util.text.ITextComponent |
getDisplay()
Get the display TextComponent
|
java.lang.String |
getId()
The unique identifier of the day care duration logic
|
int |
getPriority()
Gets the duration type's priority (higher priority = will be calculated first)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMillisecondValue, readpublic java.lang.String getId()
DayCareDurationgetId in interface DayCareDurationpublic int getPriority()
DayCareDurationgetPriority in interface DayCareDurationpublic abstract net.minecraft.util.text.ITextComponent getDisplay()
DayCareDurationgetDisplay in interface DayCareDuration