net.katsstuff.typenbt.extra

Type members

Types

type NBTTupleSerializers[T <: Tuple] = T match { case (String, h) *: t => NBTSerializer[h, _] *: NBTTupleSerializers[t] case EmptyTuple => EmptyTuple }

Value members

Concrete fields

val test: NBTCompound

Extensions

Extensions

extension (companion: NBTCompound)
inline
def fromTuple[Inputs <: Tuple](elements: Inputs): NBTCompound
extension (tag: NBTCompound)
inline
def ++[Inputs <: Tuple](input: Inputs): NBTCompound

Creates a new NBTCompound with the hlist appended. If there exists duplicate values it uses the second one.

Creates a new NBTCompound with the hlist appended. If there exists duplicate values it uses the second one.