formatting
This commit is contained in:
@@ -15,6 +15,8 @@ data CommandBlock = CommandBlock
|
||||
, _pos :: Pos
|
||||
} deriving (Show)
|
||||
|
||||
makeLenses ''CommandBlock
|
||||
|
||||
defaultCommandBlock :: CommandBlock
|
||||
defaultCommandBlock = CommandBlock Impulse "" defaultPos
|
||||
|
||||
@@ -25,8 +27,6 @@ instance Show CommandBlockType where
|
||||
Repeating -> "repeating_command_block"
|
||||
Redstone -> "redstone_block" -- quick-dirty
|
||||
|
||||
makeLenses ''CommandBlock
|
||||
|
||||
generateCommandChain :: ChainType -> [String] -> [CommandBlock]
|
||||
generateCommandChain ct = zipWith genCommand [0..]
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user