1. Этот сайт использует файлы cookie. Продолжая пользоваться данным сайтом, Вы соглашаетесь на использование нами Ваших файлов cookie. Узнать больше.
  2. Вы находитесь в сообществе Rubukkit. Мы - администраторы серверов Minecraft, разрабатываем собственные плагины и переводим на различные языки плагины наших коллег из других стран.
    Скрыть объявление
Скрыть объявление
В преддверии глобального обновления, мы проводим исследования, которые помогут нам сделать опыт пользования форумом ещё удобнее. Помогите нам, примите участие!

Помогите Конфиги брони ItemsAdder сразу на несколько сетов

Тема в разделе "Помощь", создана пользователем Gramatons, 27 июл 2023.

  1. Автор темы
    Gramatons

    Gramatons Активный участник Пользователь

    Баллы:
    66
    Подскажите пожалуйста как можно переписать данный конфиг так чтобы он работал сразу на несколько сетов брони. Моя проблема заключается в том что фактически новые предметы добавляются с нужной мне текстурой, но при этом сама текстура брони никак не изменяется с добавлением новых текстур и переписыванию под них конфигов. Оставляю два конфига для брони, надеюсь на вашу помощь!


    Код:
    info:
      namespace: my_items
    armors_rendering:
      my_armor:
        color: "#d60000"
        layer_1: armor/my_armor/leather_layer_1_21
        layer_2: armor/my_armor/leather_layer_2_21
        animation:
          speed: 30
          interpolation: true
    items:
      my_armor_helmet:
        display_name: Helmet#21
        permission: my_armor
        resource:
          generate: true
          textures:
          - item/my_armor/helmet_21
        durability:
          max_custom_durability: 275
        specific_properties:
          armor:
            slot: head
            custom_armor: my_armor
        attribute_modifiers:
          head:
            armor: 9
            armorToughness: 1
      my_armor_chestplate:
        display_name: Chestplate#21
        permission: my_armor
        resource:
          generate: true
          textures:
          - item/my_armor/chestplate_21
        durability:
          max_custom_durability: 400
        specific_properties:
          armor:
            slot: chest
            custom_armor: my_armor
        attribute_modifiers:
          chest:
            armor: 7
            armorToughness: 1
      my_armor_leggings:
        display_name: Leggings#21
        permission: my_armor
        resource:
          generate: true
          textures:
          - item/my_armor/leggings_21
        durability:
          max_custom_durability: 375
        specific_properties:
          armor:
            slot: legs
            custom_armor: my_armor
        attribute_modifiers:
          legs:
            armor: 5
            armorToughness: 1
      my_armor_boots:
        display_name: Boots#21
        permission: my_armor
        resource:
          generate: true
          textures:
          - item/my_armor/boots_21
        durability:
          max_custom_durability: 325
        specific_properties:
          armor:
            slot: FEET
            custom_armor: my_armor
        attribute_modifiers:
          feet:
            armor: 3
            armorToughness: 1
    
    
    Код:
    info:
      namespace: my_items
    armors_rendering:
      my_armor:
        color: "#d60000"
        layer_1: armor/my_armor/leather_layer_1_22
        layer_2: armor/my_armor/leather_layer_2_22
        animation:
          speed: 30
          interpolation: true
    items:
      my_armor_helmet22:
        display_name: Helmet#22
        permission: my_armor
        resource:
          generate: true
          textures:
          - item/my_armor/helmet_22
        durability:
          max_custom_durability: 275
        specific_properties:
          armor:
            slot: head
            custom_armor: my_armor
        attribute_modifiers:
          head:
            armor: 9
            armorToughness: 1
      my_armor_chestplate22:
        display_name: Chestplate#22
        permission: my_armor
        resource:
          generate: true
          textures:
          - item/my_armor/chestplate_22
        durability:
          max_custom_durability: 400
        specific_properties:
          armor:
            slot: chest
            custom_armor: my_armor
        attribute_modifiers:
          chest:
            armor: 7
            armorToughness: 1
      my_armor_leggings22:
        display_name: Leggings#22
        permission: my_armor
        resource:
          generate: true
          textures:
          - item/my_armor/leggings_22
        durability:
          max_custom_durability: 375
        specific_properties:
          armor:
            slot: legs
            custom_armor: my_armor
        attribute_modifiers:
          legs:
            armor: 5
            armorToughness: 1
      my_armor_boots22:
        display_name: Boots#22
        permission: my_armor
        resource:
          generate: true
          textures:
          - item/my_armor/boots_22
        durability:
          max_custom_durability: 325
        specific_properties:
          armor:
            slot: FEET
            custom_armor: my_armor
        attribute_modifiers:
          feet:
            armor: 3
            armorToughness: 1
     

Поделиться этой страницей