Class TimedWaitCondition
java.lang.Object
com.simibubi.create.content.logistics.trains.management.schedule.ScheduleDataEntry
com.simibubi.create.content.logistics.trains.management.schedule.condition.ScheduleWaitCondition
com.simibubi.create.content.logistics.trains.management.schedule.condition.TimedWaitCondition
- All Implemented Interfaces:
IScheduleInput
- Direct Known Subclasses:
IdleCargoCondition,ScheduledDelay
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.simibubi.create.content.logistics.trains.management.schedule.ScheduleDataEntry
data -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected net.minecraft.network.chat.ComponentformatTime(boolean compact) net.minecraft.world.item.ItemStackList<net.minecraft.network.chat.Component>getSecondLineTooltip(int slot) List<net.minecraft.network.chat.Component>getTitleAs(String type) getUnit()intgetValue()net.minecraft.network.chat.MutableComponentgetWaitingStatus(net.minecraft.world.level.Level level, Train train, net.minecraft.nbt.CompoundTag tag) voidprotected voidrequestDisplayIfNecessary(net.minecraft.nbt.CompoundTag context, int time) intMethods inherited from class com.simibubi.create.content.logistics.trains.management.schedule.condition.ScheduleWaitCondition
fromTag, requestStatusToUpdate, tickCompletion, writeMethods inherited from class com.simibubi.create.content.logistics.trains.management.schedule.ScheduleDataEntry
enumData, getData, intData, readAdditional, textData, writeAdditionalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.simibubi.create.content.logistics.trains.management.schedule.IScheduleInput
getId, getItem, getSummary, renderSpecialIcon, setItem, slotsTargeted
-
Constructor Details
-
TimedWaitCondition
public TimedWaitCondition()
-
-
Method Details
-
requestDisplayIfNecessary
protected void requestDisplayIfNecessary(net.minecraft.nbt.CompoundTag context, int time) -
totalWaitTicks
public int totalWaitTicks() -
formatTime
protected net.minecraft.network.chat.Component formatTime(boolean compact) -
getTitleAs
-
getSecondLineIcon
public net.minecraft.world.item.ItemStack getSecondLineIcon() -
getSecondLineTooltip
-
getValue
public int getValue() -
getUnit
-
initConfigurationWidgets
-
getWaitingStatus
public net.minecraft.network.chat.MutableComponent getWaitingStatus(net.minecraft.world.level.Level level, Train train, net.minecraft.nbt.CompoundTag tag) - Specified by:
getWaitingStatusin classScheduleWaitCondition
-