Class DestinationInstruction
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.DestinationInstruction
- 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> protected voidmodifyEditBox(net.minecraft.client.gui.components.EditBox box) @Nullable DiscoveredPathstart(ScheduleRuntime runtime, net.minecraft.world.level.Level level) booleanMethods inherited from class com.simibubi.create.content.trains.schedule.destination.TextScheduleInstruction
getLabelText, getTitleAs, 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
-
DestinationInstruction
public DestinationInstruction()
-
-
Method Details
-
getSummary
public net.createmod.catnip.data.Pair<net.minecraft.world.item.ItemStack,net.minecraft.network.chat.Component> getSummary() -
supportsConditions
public boolean supportsConditions()- Specified by:
supportsConditionsin classScheduleInstruction
-
getId
public net.minecraft.resources.ResourceLocation getId() -
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
-
start
@Nullable public @Nullable DiscoveredPath start(ScheduleRuntime runtime, net.minecraft.world.level.Level level) - Specified by:
startin classScheduleInstruction
-