显示页面过去修订反向链接回到顶部 本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。 ====== Options ====== ===== 物品选项 ===== 这是在 Mythic Mobs 中创建项目时所有可用选项的数据库。它们被放在 Options:-tag inside item-configurations. ===== 通用选项 ===== ==== 这些选项适用于所有项目: ==== **Repairable: [true/false]** (禁止附魔) * 将物品的修理成本设置为最大值,使其在铁砧和/或附魔台中完全不可编辑。 * 将覆盖 RepairCost 选项。 * 默认为false。 **RepairCost: [number]** (维修费用) * 设置物品的修理费用。 **AppendType: [true/false]** (附加类型) * 切换 MYTHIC_TYPE 是否应该以任何方式附加到该项目,这是佩戴条件正常运行所必需的。 **Unbreakable: [true/false]** (不毁) * 在项目上设置 不毁 标签。 * 将此设置为 true 的物品不会失去耐久。 **HideFlags: [true/false]** (隐藏信息) * 隐藏所有物品信息。 **PreventStacking: [true/false]** (物品堆叠) * 如果物品相似,则防止物品堆叠。 ==== 玩家头 ==== 仅适用于玩家头型物品: Player: [name] * 设置玩家头部的纹理。 * [name] 必须是目标玩家的 IGN。 * 玩家头必须使用数据值 3(data value 3) 才能工作。 * 例子: * Player: duangfafa SkinTexture: [url] * 使用 SkinURL 设置玩家头部的皮肤。 * 在 Minecraft 1.13 以下,玩家头像必须使用数据值 3 才能工作。 * 在浏览器中输入:[[https://sessionserver.mojang.com/session/minecraft/profile/trimmeduuidofplayerhere|https ://sessionserver.mojang.com/session/minecraft/profile/trimmeduuidofplayerhere]] * 使用http://mcuuid.net/查找播放器的修剪后的 uuid * 此选项还支持散列。例如: <code yaml [enable_line_numbers="true"]> Options: SkinTexture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODdlMGFhOTQzM2RiYTliNzU5MzJhMTFkYzk0ZDQwNmJkZTE5ZTg2MzUxNDIxNDkyYjNlZDM3OGM4ZTFhN2NjIn19fQ== </code> ==== 可染色物品 ==== **Color: [R,G,B] OR [DyeColor]** * 根据RGB设置将盔甲染成某种颜色。0-255 * 或者可以使用预定义的颜色。[[https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/DyeColor.html|在这里找到]]。 * 可以使用 Windows 上的 Paint 程序选取颜色。打开它然后选择“编辑颜色”以获取您的 RGB 值 * 仅可用于皮革盔甲类型和旗帜。 ==== 烟花 ==== * 添加了 FIREWORK 和 FIREWORK_CHARGE 项目的选项 * 对于 Colors 和 FadeColors,您可以使用RED,GREEN,BLUE格式指定您想要的颜色 <code yaml [enable_line_numbers="true"]> Firework: Colors: - 255,0,255 - 0,0,0 FadeColors: - 200,0,0 Flicker: true Trail: true </code> ==== 例子 ==== <code yaml [enable_line_numbers="true"]> ClothSlippers: Id: 301 Data: 0 Display: '&fCloth Slippers' Lore: - '' - 'So Soft!' - '' Enchantments: - DURABILITY:1 Options: Color: 200,200,200 </code> 许多可能的选择包括: <code yaml [enable_line_numbers="true"]> TestHead: Id: 397 Data: 3 Options: Player: Kjang </code> <code yaml [enable_line_numbers="true"]> dat_item_though: Id: banner Data: 4 Display: '&c&lThe Banner&r' Lore: - '' - '&rIt<&sq>s the perfect stone.' - '&cNever question that.' - '' Amount: 8 Options: Color: 200,200,200 Unbreakable: true Enchantments: - DURABILITY:1 - ARROW_FIRE:10 </code> 一个烟花火箭的例子 <code yaml [enable_line_numbers="true"]> FireworkGoBoom: Id: FIREWORK_ROCKET Display: 'Rocket' Firework: Colors: - 255,0,255 - 0,0,0 FadeColors: - 200,0,0 Flicker: true Trail: true </code> 插件手册/mythicmobs/物品/可选项.txt 最后更改: 2021/09/08 16:15由 duangfafa