Copyright | (c) axionbuster 2025 |
---|---|
License | BSD-3-Clause |
Safe Haskell | None |
Language | GHC2021 |
Defines common types used across the Minecraft protocol implementation, including teleportation flags and sound events.
Synopsis
- data TeleportFlags = TeleportFlags {}
- data SoundEvent = SoundEvent {
- soundname :: Text
- fixedrange :: Maybe Float
Documentation
data TeleportFlags Source #
flags for teleporting an entity
16+ bits
TeleportFlags | |
|
Instances
data SoundEvent Source #
SoundEvent | |
|
Instances
Data SoundEvent Source # | |||||
Defined in M.Misc gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SoundEvent -> c SoundEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SoundEvent # toConstr :: SoundEvent -> Constr # dataTypeOf :: SoundEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SoundEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SoundEvent) # gmapT :: (forall b. Data b => b -> b) -> SoundEvent -> SoundEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SoundEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SoundEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> SoundEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> SoundEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SoundEvent -> m SoundEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SoundEvent -> m SoundEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SoundEvent -> m SoundEvent # | |||||
Generic SoundEvent Source # | |||||
Defined in M.Misc
from :: SoundEvent -> Rep SoundEvent x # to :: Rep SoundEvent x -> SoundEvent # | |||||
Read SoundEvent Source # | |||||
Defined in M.Misc readsPrec :: Int -> ReadS SoundEvent # readList :: ReadS [SoundEvent] # readPrec :: ReadPrec SoundEvent # readListPrec :: ReadPrec [SoundEvent] # | |||||
Show SoundEvent Source # | |||||
Defined in M.Misc showsPrec :: Int -> SoundEvent -> ShowS # show :: SoundEvent -> String # showList :: [SoundEvent] -> ShowS # | |||||
NFData SoundEvent Source # | |||||
Defined in M.Misc rnf :: SoundEvent -> () # | |||||
Eq SoundEvent Source # | |||||
Defined in M.Misc (==) :: SoundEvent -> SoundEvent -> Bool # (/=) :: SoundEvent -> SoundEvent -> Bool # | |||||
Ord SoundEvent Source # | |||||
Defined in M.Misc compare :: SoundEvent -> SoundEvent -> Ordering # (<) :: SoundEvent -> SoundEvent -> Bool # (<=) :: SoundEvent -> SoundEvent -> Bool # (>) :: SoundEvent -> SoundEvent -> Bool # (>=) :: SoundEvent -> SoundEvent -> Bool # max :: SoundEvent -> SoundEvent -> SoundEvent # min :: SoundEvent -> SoundEvent -> SoundEvent # | |||||
Hashable SoundEvent Source # | |||||
Defined in M.Misc hashWithSalt :: Int -> SoundEvent -> Int hash :: SoundEvent -> Int | |||||
Pack SoundEvent Source # | |||||
Unpack SoundEvent Source # | |||||
Defined in M.Misc unpack :: forall (st :: ZeroBitType) r. Parser st r SoundEvent Source # | |||||
Lift SoundEvent Source # | |||||
Defined in M.Misc lift :: Quote m => SoundEvent -> m Exp # liftTyped :: forall (m :: Type -> Type). Quote m => SoundEvent -> Code m SoundEvent # | |||||
type Rep SoundEvent Source # | |||||
Defined in M.Misc type Rep SoundEvent = D1 ('MetaData "SoundEvent" "M.Misc" "mmm-0.1.0.0-oCDsNp3EBL2JzoyA6cTai" 'False) (C1 ('MetaCons "SoundEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "soundname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "fixedrange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Float)))) |