item replace entity @s inventory.26 with paper{custom:1,stats_paper:1,display:{Name:'{"translate":"stats_paper","color":"gold","bold":true,"underlined":true,"italic":false}'}}

# Segment into part for the lore
function items:stats_calc/paper/num/0_main

# lore written by the item_modifier
item modify entity @s inventory.26 items:paper_stats/stats_lore

# ====================
#     Remove tags
# ====================
tag @s remove neg_dmg
tag @s remove neg_hp
tag @s remove neg_speed
tag @s remove neg_knock_resist
tag @s remove neg_armor
tag @s remove neg_armor_toughness
tag @s remove neg_attack_speed

tag @s remove neg_curse
tag @s remove neg_luck
tag @s remove neg_mana_speed
tag @s remove neg_mana_capacity
tag @s remove neg_mana_cost
tag @s remove neg_kills_capacity
