欢迎来到Minecraft插件百科!
对百科编辑一脸懵逼?
帮助:快速入门
带您快速熟悉百科编辑!
因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
查看“MagicSpells/技能书架”的源代码
←
MagicSpells/技能书架
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于这些用户组的用户执行:
用户
、
自动确认用户
、
巡查者
您可以查看和复制此页面的源代码。
__TOC__ 基础魔法。此魔法能够将书架(默认)创建为魔法书架。任何玩家右键魔法书架即可学会该法术(如果他们有学习权限的话)。 用法:将准星指至书架,执行<code>/cast spellbook <魔法名> [使用次数]</code>。使用次数是可选的,如果没有此值,会使用配置文件里的<code>default-uses</code>选项,如果为-1,则为无限次。 ==配置选项== {| class="wikitable" width="100%" |- !width="10%"|选项!!解释!!width="25%"|默认值 |- |default-uses||How many uses a spellbook has if the uses option is left off. A value of -1 is infinite.||-1 |- |destroy-when-used-up||Whether to remove the spellbook block (bookcase by default) when all of the uses are gone.||false |- |spellbook-block||The block id to use for spellbooks.||47 |- |str-usage||Message that appears if the spell is used incorrectly.||Usage: /cast spellbook <spell> [uses] |- |str-no-spell||Message that appears if the spell does not exist or if the caster does not know the spell.||You do not know a spell by that name. |- |str-cant-teach||Message that appears if the caster does not have permission to teach the spell.||You can't create a spellbook with that spell. |- |str-no-target||Message that appears if the caster does not target a spellbook block.||You must target a bookcase to create a spellbook. |- |str-has-spellbook||Message that appears if the targeted spellbook block already has a spellbook.||That bookcase already has a spellbook. |- |str-cant-destroy||Message that appears if a player attempts to destroy a spellbook.||You cannot destroy a bookcase with a spellbook. |- |str-cant-learn||Message that appears if a player right-clicks on a spellbook but does not have the permission to learn the spell.||You cannot learn the spell in this spellbook. |- |str-already-known||Message that appears if a player right-clicks on a spellbook but already knows the spell.||You already know the %s spell. |- |str-learned||Message that appears when a player learns a spell from a spellbook.||You have learned the %s spell! |} ==举例== <nowiki> spellbook: spell-class: ".command.SpellbookSpell" name: spellbook description: Create a spellbook that teaches a spell. default-uses: -1 destroy-when-used-up: false spellbook-block: 47 str-use: "Usage: /cast spellbook <spell> [uses]" str-cast-self: You have created a spellbook with the %s spell. str-no-spell: You do not know a spell by that name. str-cant-teach: You can't create a spellbook with that spell. str-no-target: You must target a bookcase to create a spellbook. str-has-spellbook: That bookcase already has a spellbook. str-cant-destroy: You cannot destroy a bookcase with a spellbook. str-cant-learn: You cannot learn the spell in this spellbook. str-already-known: You already know the %s spell. str-learned: You have learned the %s spell! </nowiki>
返回
MagicSpells/技能书架
。
导航菜单
个人工具
登录
命名空间
页面
讨论
大陆简体
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
编辑相关
百科公告
编辑帮助
互助客栈
贡献分数
测试沙盒
发布条目
插件分类
管理
安全
聊天
编程
经济
修正
娱乐
综合
信息
机械
角色
传送
网页
整地
创世
付费
其它
工具
链入页面
相关更改
特殊页面
页面信息
相关网站
MCMOD百科
Minecraft中文百科
Minecraft纪念论坛
Minecraft百度贴吧
虚无世界Wiki