我的世界高版本服主教程合集
常用工具网站常用开服网站高版本插件推荐免费服务端/福利
ItemsAdder 使用指导
ItemsAdder 使用指导
  • 欢迎
  • 首次使用
    • 插件安装
    • 资源包分发
    • 移除默认内容 (v.3.2.0+不再需要)
    • 给予玩家默认权限
    • 关闭死亡地图
    • 将语言设置为简体中文
    • 解决踢出问题
    • 客户端调整
  • 基础使用
    • 总体配置结构了解
    • 总体配置结构了解 (v.3.3.0 版本以前)
    • 物品配置结构了解
    • 资源包结构了解
    • 资源包合并
    • 材质异常
  • 贴图
    • 贴图
    • 菜单
    • 顶部显示
    • Esc 菜单
    • /ia 菜单材质
    • 表情
    • 渐变效果
  • 物品
    • 物品基础
    • 物品属性
    • 分类
    • 在其他插件使用 IA 物品
    • 物品挂钩
    • 自定义物品模型
    • 盔甲
  • 方块
    • 方块基础
    • 世界生成
    • 树木生成
    • 地物生成
    • 掉落物
  • 家具
    • 家具基础
    • 行为属性
  • 配方
    • 合成配方
    • 熔炉配方
    • 铁砧配方
  • 事件
    • 事件基础
    • 事件触发方式
    • 事件动作
  • 原版
    • 音效
    • Tooltip
  • 参考资料
由 GitBook 提供支持
在本页

这有帮助吗?

  1. 物品

分类

制作了这么多的物品,我们打开 /ia 却发现什么也没有,是不是出问题了呢?其实不是,我们需要将这些物品添加到分类中。

分类不同于 namespace,尽管我非常建议你一个分类一个 namespace,但是实际上一个分类可以包含多个 namespace 下的物品。

打开任意一个物品配置,添加如下内容:

categories:
  icons:
    enabled: false
    skip_if_already: false
    icon: mcicons:icon_web
    name: display-category-icons
    permission: ia.menu.icons
    items:
      - mcicons:icon_left_grey
      - mcicons:icon_left_blue
      - mcicons:icon_right_grey
      - mcicons:icon_right_blue
      - mcicons:icon_up_grey
      - mcicons:icon_up_blue
      - mcicons:icon_next_white
      - mcicons:icon_next_orange
      - mcicons:icon_back_white
      - mcicons:icon_back_orange
      - mcicons:icon_cancel
      - mcicons:icon_confirm
      - mcicons:icon_lock
      - mcicons:icon_unlock
      - mcicons:icon_web
      - mcicons:icon_ender_chest
      - mcicons:icon_refresh
      - mcicons:icon_time_day
      - mcicons:icon_time_midnight
      - mcicons:icon_time_night
      - mcicons:icon_time_noon
      - mcicons:icon_time_sunrise
      - mcicons:icon_time_sunset
      - mcicons:icon_toggle_off
      - mcicons:icon_toggle_on
      - mcicons:icon_arrow_chest
      - mcicons:icon_plus
      - mcicons:icon_color_picker
      - mcicons:icon_comment
      - mcicons:icon_search
  buildersbasics:
    enabled: true
    skip_if_already: false
    icon: "buildersbasics:abyssal_lantern"
    name: '建筑'
    items:
      - "buildersbasics:abyssal_lantern"
      - "buildersbasics:abyssal_lantern_top"
      - "buildersbasics:acacia_boards"
      - "buildersbasics:andesite_bricks"
      - "buildersbasics:andesite_pillar"
      - "buildersbasics:andesite_pillar_top"
      - "buildersbasics:birch_boards"
      - "buildersbasics:black_purpur_block"
      - "buildersbasics:black_terracotta_bricks"
      - "buildersbasics:blue_purpur_block"
      - "buildersbasics:blue_terracotta_bricks"
      - "buildersbasics:brown_purpur_block"
      - "buildersbasics:brown_terracotta_bricks"
      - "buildersbasics:chiseled_andesite"
      - "buildersbasics:chiseled_dark_prismarine"
      - "buildersbasics:chiseled_dark_prismarine_top"
      - "buildersbasics:chiseled_diorite"
      - "buildersbasics:chiseled_granite"
      - "buildersbasics:chiseled_prismarine"
      - "buildersbasics:cobblestone_bricks"
      - "buildersbasics:cyan_purpur_block"
      - "buildersbasics:cyan_terracotta_bricks"
      - "buildersbasics:dark_oak_boards"
      - "buildersbasics:dark_prismarine_bricks"
      - "buildersbasics:dark_prismarine_pillar"
      - "buildersbasics:dark_prismarine_pillar_top"
      - "buildersbasics:dark_prismarine_tiles"
      - "buildersbasics:diorite_bricks"
      - "buildersbasics:diorite_pillar"
      - "buildersbasics:diorite_pillar_top"
      - "buildersbasics:driftwood_boards"
      - "buildersbasics:end_stone_pillar_eq"
      - "buildersbasics:end_stone_pillar_fi"
      - "buildersbasics:end_stone_pillar_in"
      - "buildersbasics:end_stone_pillar_ox"
      - "buildersbasics:end_stone_pillar_top"
      - "buildersbasics:end_stone_pillar_ve"
      - "buildersbasics:end_stone_tiles"
      - "buildersbasics:golden_trapdoor"
      - "buildersbasics:granite_bricks"
      - "buildersbasics:granite_pillar"
      - "buildersbasics:granite_pillar_top"
      - "buildersbasics:gray_purpur_block"
      - "buildersbasics:gray_terracotta_bricks"
      - "buildersbasics:green_purpur_block"
      - "buildersbasics:green_terracotta_bricks"
      - "buildersbasics:gtp_pillar_black"
      - "buildersbasics:gtp_pillar_black_top"
      - "buildersbasics:gtp_pillar_blue"
      - "buildersbasics:gtp_pillar_blue_top"
      - "buildersbasics:gtp_pillar_brown"
      - "buildersbasics:gtp_pillar_brown_top"
      - "buildersbasics:gtp_pillar_cyan"
      - "buildersbasics:gtp_pillar_cyan_top"
      - "buildersbasics:gtp_pillar_gray"
      - "buildersbasics:gtp_pillar_gray_top"
      - "buildersbasics:gtp_pillar_green"
      - "buildersbasics:gtp_pillar_green_top"
      - "buildersbasics:gtp_pillar_light_blue"
      - "buildersbasics:gtp_pillar_light_blue_top"
      - "buildersbasics:gtp_pillar_light_gray"
      - "buildersbasics:gtp_pillar_light_gray_top"
      - "buildersbasics:gtp_pillar_lime"
      - "buildersbasics:gtp_pillar_lime_top"
      - "buildersbasics:gtp_pillar_magenta"
      - "buildersbasics:gtp_pillar_magenta_top"
      - "buildersbasics:gtp_pillar_orange"
      - "buildersbasics:gtp_pillar_orange_top"
      - "buildersbasics:gtp_pillar_pink"
      - "buildersbasics:gtp_pillar_pink_top"
      - "buildersbasics:gtp_pillar_purple"
      - "buildersbasics:gtp_pillar_purple_top"
      - "buildersbasics:gtp_pillar_red"
      - "buildersbasics:gtp_pillar_red_top"
      - "buildersbasics:gtp_pillar_white"
      - "buildersbasics:gtp_pillar_white_top"
      - "buildersbasics:gtp_pillar_yellow"
      - "buildersbasics:gtp_pillar_yellow_top"
      - "buildersbasics:infernal_lantern"
      - "buildersbasics:jungle_boards"
      - "buildersbasics:light_blue_purpur_block"
      - "buildersbasics:light_blue_terracotta_bricks"
      - "buildersbasics:light_gray_purpur_block"
      - "buildersbasics:light_gray_terracotta_bricks"
      - "buildersbasics:lime_purpur_block"
      - "buildersbasics:lime_terracotta_bricks"
      - "buildersbasics:magenta_purpur_block"
      - "buildersbasics:magenta_terracotta_bricks"
      - "buildersbasics:mossy_cobblestone_bricks"
      - "buildersbasics:oak_boards"
      - "buildersbasics:orange_purpur_block"
      - "buildersbasics:orange_terracotta_bricks"
      - "buildersbasics:pink_purpur_block"
      - "buildersbasics:pink_terracotta_bricks"
      - "buildersbasics:polished_stone"
      - "buildersbasics:prismarine_pillar"
      - "buildersbasics:prismarine_pillar_top"
      - "buildersbasics:prismarine_tiles"
      - "buildersbasics:purple_purpur_block"
      - "buildersbasics:purple_terracotta_bricks"
      - "buildersbasics:red_purpur_block"
      - "buildersbasics:red_terracotta_bricks"
      - "buildersbasics:sandstone_pillar"
      - "buildersbasics:small_andesite_bricks"
      - "buildersbasics:small_diorite_bricks"
      - "buildersbasics:small_end_stone_bricks"
      - "buildersbasics:small_granite_bricks"
      - "buildersbasics:small_permafrost_bricks"
      - "buildersbasics:small_stone_bricks"
      - "buildersbasics:smooth_stone"
      - "buildersbasics:spruce_boards"
      - "buildersbasics:stone_pillar"
      - "buildersbasics:stone_pillar_top"
      - "buildersbasics:terracotta_bricks"
      - "buildersbasics:white_purpur_block"
      - "buildersbasics:white_terracotta_bricks"
      - "buildersbasics:wisteria_boards"
      - "buildersbasics:yellow_purpur_block"
      - "buildersbasics:yellow_terracotta_bricks"

在所给示例中,有 icons 和 buildersbasics 两个分类id,分类下还有如下选项:

  • enabled:是否启用该分类。

  • icon:菜单内显示的物品,使用 namespace:id 格式。

  • name:分类的名称。

  • items:不用我多说了吧。

上一页物品属性下一页在其他插件使用 IA 物品

最后更新于2年前

这有帮助吗?