游戏内的一些规则方块

规则代码 规则Bool变量 规则解释
/addrule Player AutoWalkupBlock [true|false]

ture: 允许自动

false: 禁止自动

正常规则:规定玩家是否允许系统自动帮玩家爬上 高度为一格的方块

规则实例:/addrule Player AutoWalkupBlock false

/addrule Player CanPlace [方块名A] [方块名B,方块名B1,方块名B2, ...]

方块名A: 一般表示玩家手中/背包中的方块

方块名B: 一般表示游戏场景中的固定方块可以多个用逗号分离

方块名可以用BlockID或者是BlockName

正常规则:规定玩家只能将 方块名A 方块放置在 方块名B 上面

规则实例:/addrule Player CanPlace Lever Glowstone,62

规则解释:在此游戏中,拉杆机关只能放在萤石或草方块(id==62)上面

/addrule Block CanDestroy [方块名] [true|false]
允许销毁Lever并自动获得被销毁的物品

Comments

Topic revision: r5 - 2014-02-20 - LiXizhi
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback