Interface ADIotaHolderReadOnly

All Superinterfaces:
at.petrak.hexcasting.api.addldata.ADIotaHolder

public interface ADIotaHolderReadOnly extends at.petrak.hexcasting.api.addldata.ADIotaHolder
A helper interface extending ADIotaHolder for read-only iota holders.
  • Method Summary

    Modifier and Type
    Method
    Description
    static @NotNull at.petrak.hexcasting.api.addldata.ADIotaHolder
    ofStatic(@Nullable at.petrak.hexcasting.api.casting.iota.Iota iota)
    Wraps an iota in a read-only iota holder.
    default boolean
     
    default boolean
    writeIota(@Nullable at.petrak.hexcasting.api.casting.iota.Iota iota, boolean simulate)
     

    Methods inherited from interface at.petrak.hexcasting.api.addldata.ADIotaHolder

    emptyIota, readIota, readIotaTag
  • Method Details

    • writeIota

      default boolean writeIota(@Nullable @Nullable at.petrak.hexcasting.api.casting.iota.Iota iota, boolean simulate)
      Specified by:
      writeIota in interface at.petrak.hexcasting.api.addldata.ADIotaHolder
    • writeable

      default boolean writeable()
      Specified by:
      writeable in interface at.petrak.hexcasting.api.addldata.ADIotaHolder
    • ofStatic

      @NotNull static @NotNull at.petrak.hexcasting.api.addldata.ADIotaHolder ofStatic(@Nullable @Nullable at.petrak.hexcasting.api.casting.iota.Iota iota)
      Wraps an iota in a read-only iota holder.