Closed BenWoodworth closed 1 year ago
E.g.
@Serializable data class NbtMyIntArray( @NbtType(NbtIntArray::class) val intArray: List<Int> // Encode as `NbtIntArray` instead of `NbtList<NbtInt>` )
Resolved by adding a @NbtArray annotation. See here
@NbtArray
E.g.