Copyright | (c) axionbuster 2025 |
---|---|
License | BSD-3-Clause |
Safe Haskell | None |
Language | GHC2021 |
Internal type definitions for Named Binary Tag (NBT) format used in Minecraft, including tag types and container types.
Documentation
NBT tag types
TEnd | special type for the end of a compound tag |
TByte | |
TShort | |
TInt | |
TLong | |
TFloat | |
TDouble | |
TByteArray | |
TString | |
TList | |
TCompound | |
TIntArray | |
TLongArray |
Instances
Data Ty Source # | |||||
Defined in M.NBT.Internal.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Ty -> c Ty # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Ty # dataTypeOf :: Ty -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Ty) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Ty) # gmapT :: (forall b. Data b => b -> b) -> Ty -> Ty # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Ty -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Ty -> r # gmapQ :: (forall d. Data d => d -> u) -> Ty -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Ty -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Ty -> m Ty # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Ty -> m Ty # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Ty -> m Ty # | |||||
Bounded Ty Source # | |||||
Enum Ty Source # | |||||
Generic Ty Source # | |||||
Defined in M.NBT.Internal.Types
| |||||
Read Ty Source # | |||||
Show Ty Source # | |||||
NFData Ty Source # | |||||
Defined in M.NBT.Internal.Types | |||||
Eq Ty Source # | |||||
Ord Ty Source # | |||||
Hashable Ty Source # | |||||
Defined in M.NBT.Internal.Types | |||||
Pack Ty Source # | |||||
Unpack Ty Source # | |||||
Defined in M.NBT.Internal.Types | |||||
Lift Ty Source # | |||||
type Rep Ty Source # | |||||
Defined in M.NBT.Internal.Types type Rep Ty = D1 ('MetaData "Ty" "M.NBT.Internal.Types" "mmm-0.1.0.0-oCDsNp3EBL2JzoyA6cTai" 'False) (((C1 ('MetaCons "TEnd" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TByte" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TShort" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "TInt" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TLong" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TFloat" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "TDouble" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TByteArray" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TString" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "TList" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TCompound" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TIntArray" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TLongArray" 'PrefixI 'False) (U1 :: Type -> Type))))) |
NBT tag
End :: Tg | used for internal purposes only |
Byte :: Int8 -> Tg | |
Short :: Int16 -> Tg | |
Int :: Int32 -> Tg | |
Long :: Int64 -> Tg | |
Float :: Float -> Tg | |
Double :: Double -> Tg | |
ByteArray :: ByteString -> Tg | |
String :: Text -> Tg | |
List :: Ty -> Vector Tg -> Tg | a homogeneous list of tags |
Compound :: HashMap Text Tg -> Tg | |
IntArray :: Vector Int32 -> Tg | |
LongArray :: Vector Int64 -> Tg |