Class PlayerPassengerCondition
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.PlayerPassengerCondition
- 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 TypeMethodDescriptionbooleannet.minecraft.resources.ResourceLocationgetId()Pair<net.minecraft.world.item.ItemStack,net.minecraft.network.chat.Component> intList<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) voidbooleantickCompletion(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, 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
getItem, getSecondLineIcon, getSecondLineTooltip, renderSpecialIcon, setItem, slotsTargeted
-
Constructor Details
-
PlayerPassengerCondition
public PlayerPassengerCondition()
-
-
Method Details
-
getSummary
-
getId
public net.minecraft.resources.ResourceLocation getId() -
getTarget
public int getTarget() -
canOvershoot
public boolean canOvershoot() -
getTitleAs
-
initConfigurationWidgets
-
tickCompletion
public boolean tickCompletion(net.minecraft.world.level.Level level, Train train, net.minecraft.nbt.CompoundTag context) - Specified by:
tickCompletionin classScheduleWaitCondition
-
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
-