接口 ValueOutputExtension
- 所有已知子接口:
ValueOutput
- 所有已知实现类:
TagValueOutput
public interface ValueOutputExtension
Extension class for
ValueOutput
-
方法概要
修饰符和类型方法说明default 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
.
-
方法详细资料
-
self
-
store
Store the elements of the giventag
in the root level of this object, with the same keys as in thetag
.- 参数:
tag
- the tag to store into this object
-
putChild
Store the givenchild
object at the givenkey
.- 参数:
key
- the key to put the child atchild
- the child to store at the given key
-