Class LazyTickedScheduleCondition
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.LazyTickedScheduleCondition
- All Implemented Interfaces:
IScheduleInput
- Direct Known Subclasses:
CargoThresholdCondition
-
Field Summary
Fields inherited from class com.simibubi.create.content.logistics.trains.management.schedule.ScheduleDataEntry
data -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract booleanlazyTickCompletion(net.minecraft.world.level.Level level, Train train, net.minecraft.nbt.CompoundTag context) booleantickCompletion(net.minecraft.world.level.Level level, Train train, net.minecraft.nbt.CompoundTag context) Methods inherited from class com.simibubi.create.content.logistics.trains.management.schedule.condition.ScheduleWaitCondition
fromTag, getWaitingStatus, requestStatusToUpdate, 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, getSecondLineIcon, getSecondLineTooltip, getSummary, getTitleAs, initConfigurationWidgets, renderSpecialIcon, setItem, slotsTargeted
-
Constructor Details
-
LazyTickedScheduleCondition
public LazyTickedScheduleCondition(int tickRate)
-
-
Method Details
-
tickCompletion
public boolean tickCompletion(net.minecraft.world.level.Level level, Train train, net.minecraft.nbt.CompoundTag context) - Specified by:
tickCompletionin classScheduleWaitCondition
-
lazyTickCompletion
protected abstract boolean lazyTickCompletion(net.minecraft.world.level.Level level, Train train, net.minecraft.nbt.CompoundTag context)
-