CONFIG 

{TOTEM RESKIN  RESOURCE PACK REQUIRED !!!}
{NO CAPITAL LETTER, NO NUMBERS, NO SPECIAL CHARCTERS. IF YOU HAVE THEM IN YOUR USERNAME RESORT TO NOT INCLUDING THEM IN THE CONFIGURATION.} 
{WHEREVER I USE THESE < > THIS MEANS YOU CAN CONFIGURE WHATS INSIDE IT AND REMOVE THE < > }

_______________________________________________________________________________________________________________________________________________________________________________

****IN THE RESOURCE PACK**** 

- The Textures
you can go to assests > totemer > textures > item > gaff/rayz/zan 
(REPLACE AND RENAME THEM ACCORDING TO YOUR USERNAME/GAMERTAG BUT IN SHORTFORM !!!) 

_______________________________________________________________________________________________________________________________________________________________________________


- The Models
you can go to assests > totemer > models > item > gaff/rayz/zan 
(RENAME THEM ACCORDING TO YOUR IMPORTED TEXTURES !!!)

Open JSON File

{
  "parent": "minecraft:item/generated",
  "textures": {
    "layer0": "totemer:item/<THE CORRESPONDING NAME OF THE FILE>"
  }
}

_______________________________________________________________________________________________________________________________________________________________________________


- The Items
you can go to assests > totemer > items > gaff/rayz/zan 
(RENAME THEM ACCORDING TO YOUR IMPORTED TEXTURES !!!)

Open JSON File

{
  "model": {
    "type": "minecraft:model",
    "model": "totemer:item/<THE CORRESPONDING NAME OF THE FILE>"
  }
}

_______________________________________________________________________________________________________________________________________________________________________________


****IN THE DATAPACK**** 

- The Functions (THIS GONNA BE A LIL TRICKY)
you can go to data > totemer > function > gaff/rayz/zan [USED TO RESKIN THE TOTEMS]
(RENAME THEM ACCORDING TO YOUR IMPORTED TEXTURES !!!)

Open MCFUNCTION File 

clear @p totem_of_undying 1
give @p totem_of_undying[minecraft:item_model="totemer:<THE CORRESPONDING NAME OF THE FILE>"]

_______________________________________________________________________________________________________________________________________________________________________________


you can go to data > totemer > function > gafforce/gamerayz/zanboy [USED TO CHECK IF THE PLAYER HAVE ANY TOTEMS]
(RENAME THEM ACCORDING TO YOUR USERNAME/GAMERTAG !!![FOR EASY NAVIGATION])

Open MCFUNCTION File 

execute as @p[nbt={Inventory:[{id:"minecraft:totem_of_undying"}]}] run function totemer:<THE CORRESPONDING NAME OF THE PREVIOUS MCFUNCTION FILE>

_______________________________________________________________________________________________________________________________________________________________________________


you can go to data > totemer > function > trig [USED TO TRIGGER THE TOTEM RESKIN VIA CHAT]

Open MCFUNCTION File (trig)

scoreboard objectives add <USERNAMER/GAMERTAG OF PLAYER 1>_totem trigger
scoreboard objectives add <USERNAMER/GAMERTAG OF PLAYER 2>_totem trigger
scoreboard objectives add <USERNAMER/GAMERTAG OF PLAYER 3>_totem trigger
scoreboard objectives add totem_of_undying trigger

scoreboard players enable @a <USERNAMER/GAMERTAG OF PLAYER 1>_totem
scoreboard players enable @a <USERNAMER/GAMERTAG OF PLAYER 2>_totem
scoreboard players enable @a <USERNAMER/GAMERTAG OF PLAYER 3>_totem
scoreboard players enable @a totem_of_undying

execute at @p[scores={<USERNAMER/GAMERTAG OF PLAYER 1>_totem=1..}] run function totemer:<THE MCFUNCTION ACCORDING TO YOUR USERNAME/GAMERTAG>
scoreboard players reset @p[scores={<USERNAMER/GAMERTAG OF PLAYER 1>_totem=1..}]

execute at @p[scores={<USERNAMER/GAMERTAG OF PLAYER 2>_totem=1..}] run function totemer:<THE MCFUNCTION ACCORDING TO YOUR USERNAME/GAMERTAG>
scoreboard players reset @p[scores={<USERNAMER/GAMERTAG OF PLAYER 2>_totem=1..}]

execute at @p[scores={<USERNAMER/GAMERTAG OF PLAYER 3>_totem=1..}] run function totemer:<THE MCFUNCTION ACCORDING TO YOUR USERNAME/GAMERTAG>
scoreboard players reset @p[scores={<USERNAMER/GAMERTAG OF PLAYER 3>_totem=1..}]

execute at @p[scores={totem_of_undying=1..}] run function totemer:original
scoreboard players reset @p[scores={totem_of_undying=1..}]

_______________________________________________________________________________________________________________________________________________________________________________


data > totemer > function > orig/original [NO NEED TO CONFIGURE !!!]
