cmd_mode - LiXizhi/ParaCraft GitHub Wiki

command: /mode

quick ref:

/mode [game|edit|tutorial]

description:

locking game mode to the given value. 
Once locked, user will not be able to toggle unless with command line. 
@param game: in game mode, one can use /addrule command to define world rules
@param edit: in edit mode, everything is editable. 
@param tutorial: tutorial mode is same as edit mode, except that mouse picking 
is only valid if there is a ending block(id=155) below. 
e.g.
/mode game     :lock to game mode
/mode edit     :lock to edit mode
/mode          :unlock and toggle between game/edit mode. 
/mode tutorial 
  • /mode 锁定为播放模式(游戏模式)。
  • 一旦锁定用户将无法切换为其它模式,除非再次输入/mode。
  • @param播放(游戏):在该模式中,可以使用/ addrule命令来定义规则。
  • @param编辑:在该模式中,一切都是可编辑的。
  • @param教学:教学模式编辑模式几乎一样,除了鼠标选择
  • 和它只有一种方块(id:155)可以编辑。
  • /mode game:锁定为播放模式(游戏模式)
  • /mode edit:锁定为编辑模式
  • /mode:解锁和播放/编辑模式之间切换
  • /mode tutorial:教学模式