Class StationPoweredCondition
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.StationPoweredCondition
- All Implemented Interfaces:
IScheduleInput
-
Field Summary
Fields inherited from class com.simibubi.create.content.logistics.trains.management.schedule.ScheduleDataEntry
data -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocationgetId()Pair<net.minecraft.world.item.ItemStack,net.minecraft.network.chat.Component> net.minecraft.network.chat.MutableComponentgetWaitingStatus(net.minecraft.world.level.Level level, Train train, net.minecraft.nbt.CompoundTag tag) protected voidreadAdditional(net.minecraft.nbt.CompoundTag tag) booleantickCompletion(net.minecraft.world.level.Level level, Train train, net.minecraft.nbt.CompoundTag context) protected voidwriteAdditional(net.minecraft.nbt.CompoundTag tag) Methods inherited from class com.simibubi.create.content.logistics.trains.management.schedule.condition.ScheduleWaitCondition
fromTag, requestStatusToUpdate, writeMethods inherited from class com.simibubi.create.content.logistics.trains.management.schedule.ScheduleDataEntry
enumData, getData, intData, textDataMethods 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
getItem, getSecondLineIcon, getSecondLineTooltip, getTitleAs, initConfigurationWidgets, renderSpecialIcon, setItem, slotsTargeted
-
Constructor Details
-
StationPoweredCondition
public StationPoweredCondition()
-
-
Method Details
-
getSummary
-
tickCompletion
public boolean tickCompletion(net.minecraft.world.level.Level level, Train train, net.minecraft.nbt.CompoundTag context) - Specified by:
tickCompletionin classScheduleWaitCondition
-
writeAdditional
protected void writeAdditional(net.minecraft.nbt.CompoundTag tag) - Overrides:
writeAdditionalin classScheduleDataEntry
-
readAdditional
protected void readAdditional(net.minecraft.nbt.CompoundTag tag) - Overrides:
readAdditionalin classScheduleDataEntry
-
getId
public net.minecraft.resources.ResourceLocation getId() -
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
-