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, wait
getMillisecondValue, read
public java.lang.String getId()
DayCareDuration
getId
in interface DayCareDuration
public int getPriority()
DayCareDuration
getPriority
in interface DayCareDuration
public abstract net.minecraft.util.text.ITextComponent getDisplay()
DayCareDuration
getDisplay
in interface DayCareDuration