Class ScheduleWaitCondition
java.lang.Object
com.simibubi.create.content.logistics.trains.management.schedule.ScheduleDataEntry
com.simibubi.create.content.logistics.trains.management.schedule.condition.ScheduleWaitCondition
- All Implemented Interfaces:
IScheduleInput
- Direct Known Subclasses:
LazyTickedScheduleCondition,PlayerPassengerCondition,RedstoneLinkCondition,StationPoweredCondition,StationUnloadedCondition,TimedWaitCondition,TimeOfDayCondition
-
Field Summary
Fields inherited from class com.simibubi.create.content.logistics.trains.management.schedule.ScheduleDataEntry
data -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScheduleWaitConditionfromTag(net.minecraft.nbt.CompoundTag tag) abstract net.minecraft.network.chat.MutableComponentgetWaitingStatus(net.minecraft.world.level.Level level, Train train, net.minecraft.nbt.CompoundTag tag) protected voidrequestStatusToUpdate(net.minecraft.nbt.CompoundTag context) abstract booleantickCompletion(net.minecraft.world.level.Level level, Train train, net.minecraft.nbt.CompoundTag context) final net.minecraft.nbt.CompoundTagwrite()Methods 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, getSecondLineIcon, getSecondLineTooltip, getSummary, getTitleAs, initConfigurationWidgets, renderSpecialIcon, setItem, slotsTargeted
-
Constructor Details
-
ScheduleWaitCondition
public ScheduleWaitCondition()
-
-
Method Details
-
tickCompletion
public abstract boolean tickCompletion(net.minecraft.world.level.Level level, Train train, net.minecraft.nbt.CompoundTag context) -
requestStatusToUpdate
protected void requestStatusToUpdate(net.minecraft.nbt.CompoundTag context) -
write
public final net.minecraft.nbt.CompoundTag write() -
fromTag
-
getWaitingStatus
public abstract net.minecraft.network.chat.MutableComponent getWaitingStatus(net.minecraft.world.level.Level level, Train train, net.minecraft.nbt.CompoundTag tag)
-