Interface ValueOutputExtension
- All Known Subinterfaces:
ValueOutput
- All Known Implementing Classes:
TagValueOutput
public interface ValueOutputExtension
Extension class for
ValueOutput
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
putChild
(String key, ValueIOSerializable child) Store the givenchild
object at the givenkey
.private ValueOutput
self()
default void
store
(CompoundTag tag) Store the elements of the giventag
in the root level of this object, with the same keys as in thetag
.
-
Method Details
-
self
-
store
Store the elements of the giventag
in the root level of this object, with the same keys as in thetag
.- Parameters:
tag
- the tag to store into this object
-
putChild
Store the givenchild
object at the givenkey
.- Parameters:
key
- the key to put the child atchild
- the child to store at the given key
-