Copyright | (c) axionbuster 2025 |
---|---|
License | BSD-3-Clause |
Safe Haskell | None |
Language | GHC2021 |
M.Chunk.Net
Description
Defines data types for chunk and lighting data used in network serialization. Includes block entities and packed coordinate representations.
Documentation
Constructors
ChunkData | |
Fields
|
Instances
data BlockEntity Source #
Constructors
BlockEntity | |
Instances
NFData BlockEntity Source # | |||||
Defined in M.Chunk.Net Methods rnf :: BlockEntity -> () # | |||||
Generic BlockEntity Source # | |||||
Defined in M.Chunk.Net Associated Types
| |||||
Show BlockEntity Source # | |||||
Defined in M.Chunk.Net Methods showsPrec :: Int -> BlockEntity -> ShowS # show :: BlockEntity -> String # showList :: [BlockEntity] -> ShowS # | |||||
Eq BlockEntity Source # | |||||
Defined in M.Chunk.Net | |||||
Pack BlockEntity Source # | |||||
Defined in M.Chunk.Net Methods pack :: BlockEntity -> Builder Source # | |||||
Unpack BlockEntity Source # | |||||
Defined in M.Chunk.Net Methods unpack :: forall (st :: ZeroBitType) r. Parser st r BlockEntity Source # | |||||
type Rep BlockEntity Source # | |||||
Defined in M.Chunk.Net type Rep BlockEntity = D1 ('MetaData "BlockEntity" "M.Chunk.Net" "mmm-0.1.0.0-LGnxNP98iy5DdX3UVbzAAf" 'False) (C1 ('MetaCons "BlockEntity" 'PrefixI 'True) ((S1 ('MetaSel ('Just "bexz") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (V2 Word8)) :*: S1 ('MetaSel ('Just "berelheight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int16)) :*: (S1 ('MetaSel ('Just "betype") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int32) :*: S1 ('MetaSel ('Just "bedata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Tg)))) |
Constructors
LightData | |
Fields
|
Instances
NFData LightData Source # | |||||
Defined in M.Chunk.Net | |||||
Generic LightData Source # | |||||
Defined in M.Chunk.Net Associated Types
| |||||
Show LightData Source # | |||||
Eq LightData Source # | |||||
Pack LightData Source # | |||||
Unpack LightData Source # | |||||
Defined in M.Chunk.Net | |||||
type Rep LightData Source # | |||||
Defined in M.Chunk.Net type Rep LightData = D1 ('MetaData "LightData" "M.Chunk.Net" "mmm-0.1.0.0-LGnxNP98iy5DdX3UVbzAAf" 'False) (C1 ('MetaCons "LightData" 'PrefixI 'True) ((S1 ('MetaSel ('Just "ldskymask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bitset) :*: (S1 ('MetaSel ('Just "ldblockmask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bitset) :*: S1 ('MetaSel ('Just "ld0skymask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bitset))) :*: (S1 ('MetaSel ('Just "ld0blockmask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bitset) :*: (S1 ('MetaSel ('Just "ldskylights") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector ByteString)) :*: S1 ('MetaSel ('Just "ldblocklights") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector ByteString)))))) |