TAG_End

case
object TAG_End extends NBTType[Nothing, NBTEnd]
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait NBTType[Nothing, NBTEnd]
trait SafeNBTView[Nothing, NBTEnd]
trait SafeNBTDeserializer[Nothing, NBTEnd]
trait NBTView[Nothing, NBTEnd]
trait NBTDeserializer[Nothing, NBTEnd]
trait NBTSerializer[Nothing, NBTEnd]
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 from(arg: NBTEnd): Option[Nothing]
override
def id: Byte
Definition Classes
override
def to(v: Nothing): NBTEnd
Definition Classes

Inherited methods

def contramap[NewRepr](f: NewRepr => Nothing): NBTSerializer[NewRepr, NBTEnd]

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 => NBTEnd): SafeNBTDeserializer[Nothing, NewNBT]
Definition Classes
Inherited from
SafeNBTDeserializer
def fromProduct(p: Product): MirroredMonoType
Inherited from
Singleton
override
def fromSafe(arg: NBTEnd): Nothing
Definition Classes
Inherited from
NBTType
override
def imap[NewRepr](f: Nothing => NewRepr, g: NewRepr => Nothing): SafeNBTView[NewRepr, NBTEnd]
Definition Classes
Inherited from
SafeNBTView
override
def imapNbt[NewNBT <: NBTTag](f: NBTEnd => NewNBT, g: NewNBT => NBTEnd): SafeNBTView[Nothing, NewNBT]
Definition Classes
Inherited from
SafeNBTView
def imapOpt[NewRepr](f: Nothing => Option[NewRepr], g: NewRepr => Nothing): NBTView[NewRepr, NBTEnd]
Inherited from
NBTView
override
def map[NewRepr](f: Nothing => NewRepr): SafeNBTDeserializer[NewRepr, NBTEnd]
Definition Classes
Inherited from
SafeNBTDeserializer
def mapNbt[NewNBT <: NBTTag](f: NBTEnd => NewNBT): NBTSerializer[Nothing, 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: NBTEnd)(f: Nothing => 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: Nothing => Option[NewRepr]): NBTDeserializer[NewRepr, NBTEnd]

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: NBTEnd)(f: Nothing => 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