Class FetchPackagesInstruction
java.lang.Object
com.simibubi.create.content.trains.schedule.ScheduleDataEntry
com.simibubi.create.content.trains.schedule.destination.ScheduleInstruction
com.simibubi.create.content.trains.schedule.destination.TextScheduleInstruction
com.simibubi.create.content.trains.schedule.destination.FetchPackagesInstruction
- All Implemented Interfaces:
IScheduleInput
-
Field Summary
Fields inherited from class com.simibubi.create.content.trains.schedule.destination.ScheduleInstruction
STREAM_CODECFields inherited from class com.simibubi.create.content.trains.schedule.ScheduleDataEntry
data -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocationgetId()net.minecraft.world.item.ItemStackList<net.minecraft.network.chat.Component> getSecondLineTooltip(int slot) net.createmod.catnip.data.Pair<net.minecraft.world.item.ItemStack, net.minecraft.network.chat.Component> List<net.minecraft.network.chat.Component> getTitleAs(String type) protected voidmodifyEditBox(net.minecraft.client.gui.components.EditBox box) start(ScheduleRuntime runtime, net.minecraft.world.level.Level level) booleanMethods inherited from class com.simibubi.create.content.trains.schedule.destination.TextScheduleInstruction
getLabelText, initConfigurationWidgetsMethods inherited from class com.simibubi.create.content.trains.schedule.destination.ScheduleInstruction
fromTag, writeMethods inherited from class com.simibubi.create.content.trains.schedule.ScheduleDataEntry
enumData, getData, intData, readAdditional, setData, 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.trains.schedule.IScheduleInput
getItem, renderSpecialIcon, setItem, slotsTargeted
-
Constructor Details
-
FetchPackagesInstruction
public FetchPackagesInstruction()
-
-
Method Details
-
getSummary
public net.createmod.catnip.data.Pair<net.minecraft.world.item.ItemStack,net.minecraft.network.chat.Component> getSummary() -
getTitleAs
- Specified by:
getTitleAsin interfaceIScheduleInput- Overrides:
getTitleAsin classTextScheduleInstruction
-
getSecondLineIcon
public net.minecraft.world.item.ItemStack getSecondLineIcon() -
getFilter
-
getFilterForRegex
-
getSecondLineTooltip
-
modifyEditBox
protected void modifyEditBox(net.minecraft.client.gui.components.EditBox box) - Overrides:
modifyEditBoxin classTextScheduleInstruction
-
getId
public net.minecraft.resources.ResourceLocation getId() -
supportsConditions
public boolean supportsConditions()- Specified by:
supportsConditionsin classScheduleInstruction
-
start
- Specified by:
startin classScheduleInstruction
-