Class RedstoneLinkCondition
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.RedstoneLinkCondition
- All Implemented Interfaces:
IScheduleInput
-
Field Summary
FieldsFields inherited from class com.simibubi.create.content.logistics.trains.management.schedule.ScheduleDataEntry
data -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocationgetId()net.minecraft.world.item.ItemStackgetItem(int slot) List<net.minecraft.network.chat.Component>getSecondLineTooltip(int slot) Pair<net.minecraft.world.item.ItemStack,net.minecraft.network.chat.Component> List<net.minecraft.network.chat.Component>getTitleAs(String type) net.minecraft.network.chat.MutableComponentgetWaitingStatus(net.minecraft.world.level.Level level, Train train, net.minecraft.nbt.CompoundTag tag) voidbooleanprotected voidreadAdditional(net.minecraft.nbt.CompoundTag tag) voidsetItem(int slot, net.minecraft.world.item.ItemStack stack) intbooleantickCompletion(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
getSecondLineIcon, renderSpecialIcon
-
Field Details
-
freq
-
-
Constructor Details
-
RedstoneLinkCondition
public RedstoneLinkCondition()
-
-
Method Details
-
slotsTargeted
public int slotsTargeted() -
getSummary
-
getSecondLineTooltip
-
getTitleAs
-
tickCompletion
public boolean tickCompletion(net.minecraft.world.level.Level level, Train train, net.minecraft.nbt.CompoundTag context) - Specified by:
tickCompletionin classScheduleWaitCondition
-
setItem
public void setItem(int slot, net.minecraft.world.item.ItemStack stack) -
getItem
public net.minecraft.world.item.ItemStack getItem(int slot) -
getId
public net.minecraft.resources.ResourceLocation getId() -
writeAdditional
protected void writeAdditional(net.minecraft.nbt.CompoundTag tag) - Overrides:
writeAdditionalin classScheduleDataEntry
-
lowActivation
public boolean lowActivation() -
readAdditional
protected void readAdditional(net.minecraft.nbt.CompoundTag tag) - Overrides:
readAdditionalin classScheduleDataEntry
-
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
-