Class ScheduleEntry
java.lang.Object
com.simibubi.create.content.trains.schedule.ScheduleEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, ScheduleEntry> -
Constructor Summary
ConstructorsConstructorDescriptionScheduleEntry(ScheduleInstruction instruction, List<List<ScheduleWaitCondition>> conditions) -
Method Summary
Modifier and TypeMethodDescriptionclone(net.minecraft.core.HolderLookup.Provider registries) static ScheduleEntryfromTag(net.minecraft.core.HolderLookup.Provider registries, net.minecraft.nbt.CompoundTag tag) net.minecraft.nbt.CompoundTagwrite(net.minecraft.core.HolderLookup.Provider registries)
-
Field Details
-
STREAM_CODEC
public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,ScheduleEntry> STREAM_CODEC -
instruction
-
conditions
-
-
Constructor Details
-
ScheduleEntry
public ScheduleEntry() -
ScheduleEntry
-
-
Method Details
-
clone
-
write
public net.minecraft.nbt.CompoundTag write(net.minecraft.core.HolderLookup.Provider registries) -
fromTag
public static ScheduleEntry fromTag(net.minecraft.core.HolderLookup.Provider registries, net.minecraft.nbt.CompoundTag tag)
-