Skip to content

mergeToCompoundTag

inline fun mergeToCompoundTag(compoundTag: CompoundTag, builderAction: NbtCompoundBuilder.() -> Unit)

Builds entries via knbt's NbtCompoundBuilder DSL and puts each of them into the existing compoundTag.