Interface ValueOutputExtension
- All Known Subinterfaces:
ValueOutput
- All Known Implementing Classes:
TagValueOutput
public interface ValueOutputExtension
Extension class for
ValueOutput-
Method Summary
Modifier and TypeMethodDescriptiondefault voidputChild(String key, ValueIOSerializable child) Store the givenchildobject at the givenkey.private ValueOutputself()default voidstore(CompoundTag tag) Store the elements of the giventagin the root level of this object, with the same keys as in thetag.
-
Method Details
-
self
-
store
Store the elements of the giventagin 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 givenchildobject at the givenkey.- Parameters:
key- the key to put the child atchild- the child to store at the given key
-