TAG_Int_Array

case
object TAG_Int_Array extends NBTType[IndexedSeq[Int], NBTIntArray]
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait NBTType[IndexedSeq[Int], NBTIntArray]
trait SafeNBTView[IndexedSeq[Int], NBTIntArray]
trait SafeNBTDeserializer[IndexedSeq[Int], NBTIntArray]
trait NBTView[IndexedSeq[Int], NBTIntArray]
trait NBTDeserializer[IndexedSeq[Int], NBTIntArray]
trait NBTSerializer[IndexedSeq[Int], NBTIntArray]
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels = EmptyTuple
Inherited from
Singleton
type MirroredElemTypes = EmptyTuple
Inherited from
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror
type MirroredMonoType = Singleton
Inherited from
Singleton
type MirroredType = Singleton
Inherited from
Singleton

Value members

Concrete methods

override
def id: Byte
Definition Classes
override
def to(v: IndexedSeq[Int]): NBTIntArray
Definition Classes

Inherited methods

def contramap[NewRepr](f: NewRepr => IndexedSeq[Int]): NBTSerializer[NewRepr, NBTIntArray]

Create a new serializer that uses this serializer as a stepping stone.

Create a new serializer that uses this serializer as a stepping stone.

Inherited from
NBTSerializer
override
def contramapNbt[NewNBT <: NBTTag](f: NewNBT => NBTIntArray): SafeNBTDeserializer[IndexedSeq[Int], NewNBT]
Definition Classes
Inherited from
SafeNBTDeserializer
override
def from(arg: NBTIntArray): Option[IndexedSeq[Int]]
Definition Classes
Inherited from
SafeNBTDeserializer
def fromProduct(p: Product): MirroredMonoType
Inherited from
Singleton
override
def fromSafe(arg: NBTIntArray): IndexedSeq[Int]
Definition Classes
Inherited from
NBTType
override
def imap[NewRepr](f: IndexedSeq[Int] => NewRepr, g: NewRepr => IndexedSeq[Int]): SafeNBTView[NewRepr, NBTIntArray]
Definition Classes
Inherited from
SafeNBTView
override
def imapNbt[NewNBT <: NBTTag](f: NBTIntArray => NewNBT, g: NewNBT => NBTIntArray): SafeNBTView[IndexedSeq[Int], NewNBT]
Definition Classes
Inherited from
SafeNBTView
def imapOpt[NewRepr](f: IndexedSeq[Int] => Option[NewRepr], g: NewRepr => IndexedSeq[Int]): NBTView[NewRepr, NBTIntArray]
Inherited from
NBTView
override
def map[NewRepr](f: IndexedSeq[Int] => NewRepr): SafeNBTDeserializer[NewRepr, NBTIntArray]
Definition Classes
Inherited from
SafeNBTDeserializer
def mapNbt[NewNBT <: NBTTag](f: NBTIntArray => NewNBT): NBTSerializer[IndexedSeq[Int], NewNBT]

Maps the NBT that resulted from using this serializer.

Maps the NBT that resulted from using this serializer.

Inherited from
NBTSerializer
def modify[NewRepr, NewNBT <: NBTTag](nbt: NBTIntArray)(f: IndexedSeq[Int] => NewRepr)(implicit newView: NBTView[NewRepr, NewNBT]): Option[NewNBT]

Modifies a nbt in value form before returning a new NBT. Thew two types of NBT does not have to be the same.

Modifies a nbt in value form before returning a new NBT. Thew two types of NBT does not have to be the same.

Type Params
NewNBT

The new NBT type

NewRepr

The new value type

Value Params
f

The function to apply to the NBT

nbt

The NBT to modify

newView

A view providing a way to get back to the world of NBTs after the modification.

Example
 val stringNbt: Option[NBTString] =
 NBTView.TagInt.modify(NBTInt(5))(_.toString) 
Inherited from
NBTView
def optMap[NewRepr](f: IndexedSeq[Int] => Option[NewRepr]): NBTDeserializer[NewRepr, NBTIntArray]

Map the result of running this deserializer using a function that can fail.

Map the result of running this deserializer using a function that can fail.

Inherited from
NBTDeserializer
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def safeModify[NewRepr, NewNBT <: NBTTag](nbt: NBTIntArray)(f: IndexedSeq[Int] => NewRepr)(implicit newView: NBTView[NewRepr, NewNBT]): NewNBT

Same as NBTView.modify except it uses SafeNBTDeserializer.fromSafe so the result isn't an option.

Same as NBTView.modify except it uses SafeNBTDeserializer.fromSafe so the result isn't an option.

Inherited from
SafeNBTView