{
  "format_version": "1.10.0",
  "minecraft:attachable": {
    "description": {
      "identifier": "nicothekid:powder_staff",
      "item": {
				"nicothekid:staff": "query.get_equipped_item_name('main_hand') == 'powder_staff'"
			},
      "textures": {
        "powder_staff": "textures/models/ntk_powder_staff",
        "amethyst_powder_staff": "textures/models/ntk_amethyst_powder_staff",
        "charcoal_powder_staff": "textures/models/ntk_charcoal_powder_staff",
        "cocoa_powder_staff": "textures/models/ntk_cocoa_powder_staff",
        "diamond_powder_staff": "textures/models/ntk_diamond_powder_staff",
        "emerald_powder_staff": "textures/models/ntk_emerald_powder_staff",
        "enchanted_powder_staff": "textures/models/ntk_enchanted_powder_staff",
        "gold_powder_staff": "textures/models/ntk_gold_powder_staff",
        "iron_powder_staff": "textures/models/ntk_iron_powder_staff",
        "lapis_lazuli_powder_staff": "textures/models/ntk_lapis_lazuli_powder_staff",
        "netherite_powder_staff": "textures/models/ntk_netherite_powder_staff"
      },
      "geometry": {
        "default": "geometry.item.nicothekid_powder_staff"
      },
      "materials": {
        "default": "item_staff",
        "enchanted": "item_staff"
      },
      "render_controllers": [
				{
					"controller.render.item.nicothekid_powder_staff": "!query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:amethyst_powder') && !query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:charcoal_powder') && !query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:cocoa_powder') && !query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:diamond_powder') && !query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:emerald_powder') && !query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:enchanted_dust') && !query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:gold_powder') && !query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:iron_powder') && !query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:lapis_lazuli_powder') && !query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:netherite_powder')"
				},
				{
					"controller.render.item.nicothekid_amethyst_powder_staff": "query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:amethyst_powder')"
				},
				{
					"controller.render.item.nicothekid_charcoal_powder_staff": "query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:charcoal_powder')"
				},
				{
					"controller.render.item.nicothekid_cocoa_powder_staff": "query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:cocoa_powder')"
				},
				{
					"controller.render.item.nicothekid_diamond_powder_staff": "query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:diamond_powder')"
				},
				{
					"controller.render.item.nicothekid_emerald_powder_staff": "query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:emerald_powder')"
				},
				{
					"controller.render.item.nicothekid_enchanted_powder_staff": "query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:enchanted_dust')"
				},
				{
					"controller.render.item.nicothekid_gold_powder_staff": "query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:gold_powder')"
				},
				{
					"controller.render.item.nicothekid_iron_powder_staff": "query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:iron_powder')"
				},
				{
					"controller.render.item.nicothekid_lapis_lazuli_powder_staff": "query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:lapis_lazuli_powder')"
				},
				{
					"controller.render.item.nicothekid_netherite_powder_staff": "query.is_item_name_any('slot.weapon.offhand', 0, 'nicothekid:netherite_powder')"
				}
			],
      "animations": {
        "controller_wield": "controller.animation.item.nicothekid_powder_staff.wield",
        "staff_animation": "animation.item.nicothekid_powder_staff.staff_animation",
        "wield_first_person": "animation.item.nicothekid_powder_staff.wield_first_person",
        "wield_third_person": "animation.item.nicothekid_powder_staff.wield_third_person"
      },
      "scripts": {
        "should_update_bones_and_effects_offscreen": true,
        "animate": [
          "controller_wield",
          "staff_animation"
        ]
      }
    }
  }
}