diff --git a/Data_Pack/data/roguecraft/functions/upgrades/make_ability.mcfunction b/Data_Pack/data/roguecraft/functions/upgrades/make_ability.mcfunction index 10e9971..7e48a37 100644 --- a/Data_Pack/data/roguecraft/functions/upgrades/make_ability.mcfunction +++ b/Data_Pack/data/roguecraft/functions/upgrades/make_ability.mcfunction @@ -1,10 +1,10 @@ -$execute as @s[scores={ability_$(number)=0}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_explosion"}]'},Enchantments:[{}],CustomModelData:$(model)} -$execute as @s[scores={ability_$(number)=1}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_heal"}]'},Enchantments:[{}],CustomModelData:$(model)} -$execute as @s[scores={ability_$(number)=2}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_mining"}]'},Enchantments:[{}],CustomModelData:$(model)} -$execute as @s[scores={ability_$(number)=3}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_damage_sphere"}]'},Enchantments:[{}],CustomModelData:$(model)} -$execute as @s[scores={ability_$(number)=4}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_arrow_wave"}]'},Enchantments:[{}],CustomModelData:$(model)} -$execute as @s[scores={ability_$(number)=5}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_spikes"}]'},Enchantments:[{}],CustomModelData:$(model)} -$execute as @s[scores={ability_$(number)=6}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_fireball"}]'},Enchantments:[{}],CustomModelData:$(model)} -$execute as @s[scores={ability_$(number)=7}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_levitate"}]'},Enchantments:[{}],CustomModelData:$(model)} -$execute as @s[scores={ability_$(number)=8}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_liquid_walker"}]'},Enchantments:[{}],CustomModelData:$(model)} -$execute as @s[scores={ability_$(number)=11}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_dirt_walker"}]'},Enchantments:[{}],CustomModelData:$(model)} \ No newline at end of file +$execute as @s[scores={ability_$(number)=0}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_explosion"}]'},Enchantments:[{}],CustomModelData:$(model),Unbreakable:true} +$execute as @s[scores={ability_$(number)=1}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_heal"}]'},Enchantments:[{}],CustomModelData:$(model),Unbreakable:true} +$execute as @s[scores={ability_$(number)=2}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_mining"}]'},Enchantments:[{}],CustomModelData:$(model),Unbreakable:true} +$execute as @s[scores={ability_$(number)=3}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_damage_sphere"}]'},Enchantments:[{}],CustomModelData:$(model),Unbreakable:true} +$execute as @s[scores={ability_$(number)=4}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_arrow_wave"}]'},Enchantments:[{}],CustomModelData:$(model),Unbreakable:true} +$execute as @s[scores={ability_$(number)=5}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_spikes"}]'},Enchantments:[{}],CustomModelData:$(model),Unbreakable:true} +$execute as @s[scores={ability_$(number)=6}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_fireball"}]'},Enchantments:[{}],CustomModelData:$(model),Unbreakable:true} +$execute as @s[scores={ability_$(number)=7}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_levitate"}]'},Enchantments:[{}],CustomModelData:$(model),Unbreakable:true} +$execute as @s[scores={ability_$(number)=8}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_liquid_walker"}]'},Enchantments:[{}],CustomModelData:$(model),Unbreakable:true} +$execute as @s[scores={ability_$(number)=11}] run return run item replace entity @s container.$(slot) with minecraft:warped_fungus_on_a_stick{display:{Name:'[{"translate":"roguecraft.ability.name.ability_dirt_walker"}]'},Enchantments:[{}],CustomModelData:$(model),Unbreakable:true} \ No newline at end of file