Interface ValueOutputExtension

All Known Subinterfaces:
ValueOutput
All Known Implementing Classes:
TagValueOutput

public interface ValueOutputExtension
Extension class for ValueOutput
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Store the given child object at the given key.
    private ValueOutput
     
    default void
    Store the elements of the given tag in the root level of this object, with the same keys as in the tag.
  • Method Details

    • self

      private ValueOutput self()
    • store

      default void store(CompoundTag tag)
      Store the elements of the given tag in the root level of this object, with the same keys as in the tag.
      Parameters:
      tag - the tag to store into this object
    • putChild

      default void putChild(String key, ValueIOSerializable child)
      Store the given child object at the given key.
      Parameters:
      key - the key to put the child at
      child - the child to store at the given key