- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
“MagicSpells/技能书架”的版本间的差异
小 (IceLitty移动页面MagicSpells:技能书架至MagicSpells/技能书架) |
Qsefthuopq(讨论 | 贡献) (→举例) |
||
(未显示同一用户的1个中间版本) | |||
第7行: | 第7行: | ||
!width="10%"|选项!!解释!!width="25%"|默认值 | !width="10%"|选项!!解释!!width="25%"|默认值 | ||
|- | |- | ||
− | |default-uses|| | + | |default-uses||开启了使用次数选项时可用的魔法使用次数. -1 为无限制.||-1 |
|- | |- | ||
− | |destroy-when-used-up|| | + | |destroy-when-used-up||是否在耗尽使用次数后移除魔法方块 (默认是书架).||false |
|- | |- | ||
− | |spellbook-block|| | + | |spellbook-block||用作魔法书的方块ID.||47 |
|- | |- | ||
− | |str-usage|| | + | |str-usage||错误的指令显示的信息.||Usage: /cast spellbook <spell> [uses] |
|- | |- | ||
− | |str-no-spell|| | + | |str-no-spell||输入了未知或不存在的魔法显示的信息.||You do not know a spell by that name. |
|- | |- | ||
− | |str-cant-teach|| | + | |str-cant-teach||施法者没有权限传授魔法时显示的信息.||You can't create a spellbook with that spell. |
|- | |- | ||
− | |str-no-target|| | + | |str-no-target||没有对准魔法方块时显示的信息.||You must target a bookcase to create a spellbook. |
|- | |- | ||
− | |str-has-spellbook|| | + | |str-has-spellbook||施法者已经拥有魔法书时显示的信息.||That bookcase already has a spellbook. |
|- | |- | ||
− | |str-cant-destroy|| | + | |str-cant-destroy||玩家尝试破坏书架时显示的信息.||You cannot destroy a bookcase with a spellbook. |
|- | |- | ||
− | |str-cant-learn|| | + | |str-cant-learn||玩家右键魔法书架但没有权限学习时显示的信息.||You cannot learn the spell in this spellbook. |
|- | |- | ||
− | |str-already-known|| | + | |str-already-known||玩家右键魔法书架但他已经学会了该魔法时显示的信息.||You already know the %s spell. |
|- | |- | ||
− | |str-learned|| | + | |str-learned||玩家从魔法书中学会了魔法时显示的信息.||You have learned the %s spell! |
|} | |} | ||
==举例== | ==举例== | ||
第36行: | 第36行: | ||
spell-class: ".command.SpellbookSpell" | spell-class: ".command.SpellbookSpell" | ||
name: spellbook | name: spellbook | ||
− | description: | + | description: 创建能够传授魔法的魔法书. |
default-uses: -1 | default-uses: -1 | ||
destroy-when-used-up: false | destroy-when-used-up: false | ||
spellbook-block: 47 | spellbook-block: 47 | ||
− | str-use: " | + | str-use: "用法: /cast spellbook <魔法> [使用次数]" |
− | str-cast-self: | + | str-cast-self: 你创建了 %s 魔法书. |
− | str-no-spell: | + | str-no-spell: 你不知道那个魔法. |
− | str-cant-teach: | + | str-cant-teach: 你不能创建那个魔法的魔法书. |
− | str-no-target: | + | str-no-target: 你必须指向一个书架. |
− | str-has-spellbook: | + | str-has-spellbook: 那个书架已经拥有了魔法. |
− | str-cant-destroy: | + | str-cant-destroy: 你不能破坏技能书架. |
− | str-cant-learn: | + | str-cant-learn: 你无法学习这种魔法. |
− | str-already-known: | + | str-already-known: 你已经学会了 %s 魔法. |
− | str-learned: | + | str-learned: 你学会了 %s 魔法! |
</nowiki> | </nowiki> |
2018年2月3日 (六) 18:43的最新版本
基础魔法。此魔法能够将书架(默认)创建为魔法书架。任何玩家右键魔法书架即可学会该法术(如果他们有学习权限的话)。
用法:将准星指至书架,执行/cast spellbook <魔法名> [使用次数]
。使用次数是可选的,如果没有此值,会使用配置文件里的default-uses
选项,如果为-1,则为无限次。
配置选项
选项 | 解释 | 默认值 |
---|---|---|
default-uses | 开启了使用次数选项时可用的魔法使用次数. -1 为无限制. | -1 |
destroy-when-used-up | 是否在耗尽使用次数后移除魔法方块 (默认是书架). | false |
spellbook-block | 用作魔法书的方块ID. | 47 |
str-usage | 错误的指令显示的信息. | Usage: /cast spellbook <spell> [uses] |
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! |
举例
spellbook: spell-class: ".command.SpellbookSpell" name: spellbook description: 创建能够传授魔法的魔法书. default-uses: -1 destroy-when-used-up: false spellbook-block: 47 str-use: "用法: /cast spellbook <魔法> [使用次数]" str-cast-self: 你创建了 %s 魔法书. str-no-spell: 你不知道那个魔法. str-cant-teach: 你不能创建那个魔法的魔法书. str-no-target: 你必须指向一个书架. str-has-spellbook: 那个书架已经拥有了魔法. str-cant-destroy: 你不能破坏技能书架. str-cant-learn: 你无法学习这种魔法. str-already-known: 你已经学会了 %s 魔法. str-learned: 你学会了 %s 魔法!