Class ScheduleDataEntry

java.lang.Object
com.simibubi.create.content.trains.schedule.ScheduleDataEntry
All Implemented Interfaces:
IScheduleInput
Direct Known Subclasses:
ScheduleInstruction, ScheduleWaitCondition

public abstract class ScheduleDataEntry extends Object implements IScheduleInput
  • Field Details

    • data

      protected net.minecraft.nbt.CompoundTag data
  • Constructor Details

    • ScheduleDataEntry

      public ScheduleDataEntry()
  • Method Details

    • getData

      public net.minecraft.nbt.CompoundTag getData()
      Specified by:
      getData in interface IScheduleInput
    • setData

      public void setData(net.minecraft.core.HolderLookup.Provider registries, net.minecraft.nbt.CompoundTag data)
      Specified by:
      setData in interface IScheduleInput
    • writeAdditional

      protected void writeAdditional(net.minecraft.core.HolderLookup.Provider registries, net.minecraft.nbt.CompoundTag tag)
    • readAdditional

      protected void readAdditional(net.minecraft.core.HolderLookup.Provider registries, net.minecraft.nbt.CompoundTag tag)
    • enumData

      protected <T> T enumData(String key, Class<T> enumClass)
    • textData

      protected String textData(String key)
    • intData

      protected int intData(String key)