-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ability items are not unbreakable
- Loading branch information
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
20 changes: 10 additions & 10 deletions
20
Data_Pack/data/roguecraft/functions/upgrades/make_ability.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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)} | ||
$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} |