diff --git a/packs/custom-roleplay-data-v1.2/1_20_3/data/custom_roleplay_data/functions/admin.mcfunction b/packs/custom-roleplay-data-v1.4/1_20_3/data/custom_roleplay_data/functions/admin.mcfunction similarity index 100% rename from packs/custom-roleplay-data-v1.2/1_20_3/data/custom_roleplay_data/functions/admin.mcfunction rename to packs/custom-roleplay-data-v1.4/1_20_3/data/custom_roleplay_data/functions/admin.mcfunction diff --git a/packs/custom-roleplay-data-v1.4/1_20_5/data/custom_roleplay_data/advancements/custom_roleplay_data.json b/packs/custom-roleplay-data-v1.4/1_20_5/data/custom_roleplay_data/advancements/custom_roleplay_data.json new file mode 100644 index 0000000..ebc5b62 --- /dev/null +++ b/packs/custom-roleplay-data-v1.4/1_20_5/data/custom_roleplay_data/advancements/custom_roleplay_data.json @@ -0,0 +1,21 @@ +{ + "display": { + "icon": { + "id": "minecraft:book" + }, + "title": "Custom Roleplay Data", + "frame": "challenge", + "description": ["",{"text":"Adds the ability to change the CustomModelData of items in order to change item textures via resource packs. ","color":"gold"},{"text":"Datapack by: ","color":"green"},{"text":"MukiTanuki\n","color":"aqua"},{"text":"Enter","color":"green"},{"text":" ","color":"gold"},{"text":"/trigger CustomModelData set #","color":"yellow"},{"text":" to set model data.\n","color":"gold"},{"text":"Enter","color":"green"},{"text":" ","color":"gold"},{"text":"/function custom_roleplay_data:admin","color":"yellow"},{"text":" and use auto-complete to set config options.","color":"gold"}], + "background": "minecraft:textures/block/black_concrete.png", + "show_toast": false, + "announce_to_chat": false + }, + "criteria": { + "tick": { + "trigger": "minecraft:tick" + } + }, + "rewards": { + "functions": "custom_roleplay_data:enable" + } +} diff --git a/packs/custom-roleplay-data-v1.4/1_20_5/data/custom_roleplay_data/functions/second.mcfunction b/packs/custom-roleplay-data-v1.4/1_20_5/data/custom_roleplay_data/functions/second.mcfunction new file mode 100644 index 0000000..bbad9ee --- /dev/null +++ b/packs/custom-roleplay-data-v1.4/1_20_5/data/custom_roleplay_data/functions/second.mcfunction @@ -0,0 +1,13 @@ +# +# Description: Function that repeats every second +# Called by: custom_roleplay_data:init +# Entity @s: none +# +# reschedules +schedule function custom_roleplay_data:second 1s +# +# trigger detection +# +execute as @a[scores={CustomModelData=0..}] if items entity @s weapon.mainhand * run function custom_roleplay_data:trigger +# resets trigger +execute as @a run function custom_roleplay_data:enable diff --git a/packs/custom-roleplay-data-v1.4/1_20_5/data/custom_roleplay_data/functions/set_data.mcfunction b/packs/custom-roleplay-data-v1.4/1_20_5/data/custom_roleplay_data/functions/set_data.mcfunction new file mode 100644 index 0000000..c731283 --- /dev/null +++ b/packs/custom-roleplay-data-v1.4/1_20_5/data/custom_roleplay_data/functions/set_data.mcfunction @@ -0,0 +1,24 @@ +# +# Description: Sets the data for item in-hand +# Called by: custom_roleplay_data:trigger +# Entity @s: none +# +# Sets CustomModelData to item +item modify entity @s weapon.mainhand custom_roleplay_data:copy_data +title @s actionbar \ + [\ + {\ + "text": "Set CustomModelData to ", "color": "green"\ + }, \ + {\ + "score": {\ + "name": "@s",\ + "objective": "CustomModelData"\ + },\ + "color": "aqua"\ + }\ + ] +# removes required xp +function custom_roleplay_data:subtract_levels with storage custom_roleplay_data:config {} +# plays sound +execute at @s run playsound minecraft:block.anvil.use player @s ~ ~ ~ 0.4 0.6 \ No newline at end of file diff --git a/packs/custom-roleplay-data-v1.4/1_20_5/data/custom_roleplay_data/functions/trigger.mcfunction b/packs/custom-roleplay-data-v1.4/1_20_5/data/custom_roleplay_data/functions/trigger.mcfunction new file mode 100644 index 0000000..b00fc6e --- /dev/null +++ b/packs/custom-roleplay-data-v1.4/1_20_5/data/custom_roleplay_data/functions/trigger.mcfunction @@ -0,0 +1,47 @@ +# +# Description: trigger to set CustomModelData +# Called by: custom_roleplay_data:second +# Entity @s: none +# +# Sets a tag marker for items so they don't overwrite existing CustomModelData +execute if items entity @s weapon.mainhand *\ + [\ + !minecraft:custom_model_data,\ + !minecraft:custom_data~{CustomRoleplayData:1b}\ + ] run \ + item modify entity @s weapon.mainhand custom_roleplay_data:marker_nbt +execute if items entity @s weapon.mainhand *\ + [\ + minecraft:custom_model_data,\ + !minecraft:custom_data={CustomRoleplayData:1b}\ + ] run \ + title @s actionbar \ + {\ + "text": "Can't set CustomModelData for this item!", \ + "color": "red"\ + } +# checks for xp +execute if items entity @s weapon.mainhand *[minecraft:custom_data~{CustomRoleplayData:1b}] \ + unless score @s crd_xp >= #min_level crd_xp_dummy run \ + title @s actionbar \ + [\ + {\ + "text": "Requires at least ",\ + "color": "red"\ + },\ + {\ + "score": { \ + "name": "#min_level", \ + "objective": "crd_xp_dummy" \ + }, \ + "color": "aqua"\ + }, \ + {\ + "text": " level(s)!", \ + "color": "red"\ + }\ + ] +# Sets the CustomModelData for the item +execute if items entity @s weapon.mainhand *[minecraft:custom_data~{CustomRoleplayData:1b}] \ + if score @s crd_xp >= #min_level crd_xp_dummy run \ + function custom_roleplay_data:set_data \ No newline at end of file diff --git a/packs/custom-roleplay-data-v1.4/1_20_5/data/custom_roleplay_data/item_modifiers/copy_data.json b/packs/custom-roleplay-data-v1.4/1_20_5/data/custom_roleplay_data/item_modifiers/copy_data.json new file mode 100644 index 0000000..20063c2 --- /dev/null +++ b/packs/custom-roleplay-data-v1.4/1_20_5/data/custom_roleplay_data/item_modifiers/copy_data.json @@ -0,0 +1,13 @@ +[ + { + "function": "minecraft:set_custom_model_data", + "value": { + "type": "minecraft:score", + "target": { + "type": "context", + "target": "this" + }, + "score": "CustomModelData" + } + } +] \ No newline at end of file diff --git a/packs/custom-roleplay-data-v1.4/1_20_5/data/custom_roleplay_data/item_modifiers/marker_nbt.json b/packs/custom-roleplay-data-v1.4/1_20_5/data/custom_roleplay_data/item_modifiers/marker_nbt.json new file mode 100644 index 0000000..13f8cd6 --- /dev/null +++ b/packs/custom-roleplay-data-v1.4/1_20_5/data/custom_roleplay_data/item_modifiers/marker_nbt.json @@ -0,0 +1,6 @@ +[ + { + "function": "minecraft:set_custom_data", + "tag": "{CustomRoleplayData:1b}" + } +] \ No newline at end of file diff --git a/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/advancement/custom_roleplay_data.json b/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/advancement/custom_roleplay_data.json new file mode 100644 index 0000000..ebc5b62 --- /dev/null +++ b/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/advancement/custom_roleplay_data.json @@ -0,0 +1,21 @@ +{ + "display": { + "icon": { + "id": "minecraft:book" + }, + "title": "Custom Roleplay Data", + "frame": "challenge", + "description": ["",{"text":"Adds the ability to change the CustomModelData of items in order to change item textures via resource packs. ","color":"gold"},{"text":"Datapack by: ","color":"green"},{"text":"MukiTanuki\n","color":"aqua"},{"text":"Enter","color":"green"},{"text":" ","color":"gold"},{"text":"/trigger CustomModelData set #","color":"yellow"},{"text":" to set model data.\n","color":"gold"},{"text":"Enter","color":"green"},{"text":" ","color":"gold"},{"text":"/function custom_roleplay_data:admin","color":"yellow"},{"text":" and use auto-complete to set config options.","color":"gold"}], + "background": "minecraft:textures/block/black_concrete.png", + "show_toast": false, + "announce_to_chat": false + }, + "criteria": { + "tick": { + "trigger": "minecraft:tick" + } + }, + "rewards": { + "functions": "custom_roleplay_data:enable" + } +} diff --git a/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/admin.mcfunction b/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/admin.mcfunction new file mode 100644 index 0000000..e3afadd --- /dev/null +++ b/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/admin.mcfunction @@ -0,0 +1,51 @@ +# +# Description: Display admin options in chat +# Called by: Player +# Entity @s: Player +# +tellraw @s \ + [\ + {\ + "text":"Custom Roleplay Data - Admin Options",\ + "color":"yellow",\ + "bold":true\ + }\ + ] +tellraw @s \ + [\ + {\ + "text":"Datapack by MukiTanuki", \ + "color": "aqua", \ + "clickEvent": {\ + "action": "open_url", \ + "value": "https://twitter.com/MukiTanuki"\ + }\ + }\ + ] +tellraw @s \ + [\ + {\ + "text":"Min required levels: ",\ + "color":"aqua",\ + "hoverEvent": {\ + "action":"show_text",\ + "contents": [\ + {\ + "text":"Sets the number of minimum levels required to set CustomModelData.\nSet to 0 to disable level requirement.",\ + "color":"yellow"\ + }\ + ]\ + },\ + "clickEvent":{\ + "action":"suggest_command",\ + "value":"/function custom_roleplay_data:set_required_level { level: }"\ + }\ + },\ + {\ + "score":{\ + "name":"#min_level",\ + "objective":"crd_xp_dummy"\ + },\ + "color":"green"\ + }\ + ] \ No newline at end of file diff --git a/packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/functions/enable.mcfunction b/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/enable.mcfunction similarity index 100% rename from packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/functions/enable.mcfunction rename to packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/enable.mcfunction diff --git a/packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/functions/init.mcfunction b/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/init.mcfunction similarity index 100% rename from packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/functions/init.mcfunction rename to packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/init.mcfunction diff --git a/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/second.mcfunction b/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/second.mcfunction new file mode 100644 index 0000000..bbad9ee --- /dev/null +++ b/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/second.mcfunction @@ -0,0 +1,13 @@ +# +# Description: Function that repeats every second +# Called by: custom_roleplay_data:init +# Entity @s: none +# +# reschedules +schedule function custom_roleplay_data:second 1s +# +# trigger detection +# +execute as @a[scores={CustomModelData=0..}] if items entity @s weapon.mainhand * run function custom_roleplay_data:trigger +# resets trigger +execute as @a run function custom_roleplay_data:enable diff --git a/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/set_data.mcfunction b/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/set_data.mcfunction new file mode 100644 index 0000000..c731283 --- /dev/null +++ b/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/set_data.mcfunction @@ -0,0 +1,24 @@ +# +# Description: Sets the data for item in-hand +# Called by: custom_roleplay_data:trigger +# Entity @s: none +# +# Sets CustomModelData to item +item modify entity @s weapon.mainhand custom_roleplay_data:copy_data +title @s actionbar \ + [\ + {\ + "text": "Set CustomModelData to ", "color": "green"\ + }, \ + {\ + "score": {\ + "name": "@s",\ + "objective": "CustomModelData"\ + },\ + "color": "aqua"\ + }\ + ] +# removes required xp +function custom_roleplay_data:subtract_levels with storage custom_roleplay_data:config {} +# plays sound +execute at @s run playsound minecraft:block.anvil.use player @s ~ ~ ~ 0.4 0.6 \ No newline at end of file diff --git a/packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/functions/set_required_level.mcfunction b/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/set_required_level.mcfunction similarity index 100% rename from packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/functions/set_required_level.mcfunction rename to packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/set_required_level.mcfunction diff --git a/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/subtract_levels.mcfunction b/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/subtract_levels.mcfunction new file mode 100644 index 0000000..7fdbbb1 --- /dev/null +++ b/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/subtract_levels.mcfunction @@ -0,0 +1,8 @@ +# +# Description: Subtracts levels from scoreboard +# Called by: custom_roleplay_data:set_data +# Entity @s: player +# Parameters: +# level (int): level to subtract from the player +# +$xp add @s -$(level) levels \ No newline at end of file diff --git a/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/trigger.mcfunction b/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/trigger.mcfunction new file mode 100644 index 0000000..b00fc6e --- /dev/null +++ b/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/function/trigger.mcfunction @@ -0,0 +1,47 @@ +# +# Description: trigger to set CustomModelData +# Called by: custom_roleplay_data:second +# Entity @s: none +# +# Sets a tag marker for items so they don't overwrite existing CustomModelData +execute if items entity @s weapon.mainhand *\ + [\ + !minecraft:custom_model_data,\ + !minecraft:custom_data~{CustomRoleplayData:1b}\ + ] run \ + item modify entity @s weapon.mainhand custom_roleplay_data:marker_nbt +execute if items entity @s weapon.mainhand *\ + [\ + minecraft:custom_model_data,\ + !minecraft:custom_data={CustomRoleplayData:1b}\ + ] run \ + title @s actionbar \ + {\ + "text": "Can't set CustomModelData for this item!", \ + "color": "red"\ + } +# checks for xp +execute if items entity @s weapon.mainhand *[minecraft:custom_data~{CustomRoleplayData:1b}] \ + unless score @s crd_xp >= #min_level crd_xp_dummy run \ + title @s actionbar \ + [\ + {\ + "text": "Requires at least ",\ + "color": "red"\ + },\ + {\ + "score": { \ + "name": "#min_level", \ + "objective": "crd_xp_dummy" \ + }, \ + "color": "aqua"\ + }, \ + {\ + "text": " level(s)!", \ + "color": "red"\ + }\ + ] +# Sets the CustomModelData for the item +execute if items entity @s weapon.mainhand *[minecraft:custom_data~{CustomRoleplayData:1b}] \ + if score @s crd_xp >= #min_level crd_xp_dummy run \ + function custom_roleplay_data:set_data \ No newline at end of file diff --git a/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/item_modifier/copy_data.json b/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/item_modifier/copy_data.json new file mode 100644 index 0000000..20063c2 --- /dev/null +++ b/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/item_modifier/copy_data.json @@ -0,0 +1,13 @@ +[ + { + "function": "minecraft:set_custom_model_data", + "value": { + "type": "minecraft:score", + "target": { + "type": "context", + "target": "this" + }, + "score": "CustomModelData" + } + } +] \ No newline at end of file diff --git a/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/item_modifier/marker_nbt.json b/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/item_modifier/marker_nbt.json new file mode 100644 index 0000000..13f8cd6 --- /dev/null +++ b/packs/custom-roleplay-data-v1.4/1_21_0/data/custom_roleplay_data/item_modifier/marker_nbt.json @@ -0,0 +1,6 @@ +[ + { + "function": "minecraft:set_custom_data", + "tag": "{CustomRoleplayData:1b}" + } +] \ No newline at end of file diff --git a/packs/custom-roleplay-data-v1.2/data/minecraft/tags/functions/load.json b/packs/custom-roleplay-data-v1.4/1_21_0/data/minecraft/tags/function/load.json similarity index 100% rename from packs/custom-roleplay-data-v1.2/data/minecraft/tags/functions/load.json rename to packs/custom-roleplay-data-v1.4/1_21_0/data/minecraft/tags/function/load.json diff --git a/packs/custom-roleplay-data-v1.2/README.md b/packs/custom-roleplay-data-v1.4/README.md similarity index 100% rename from packs/custom-roleplay-data-v1.2/README.md rename to packs/custom-roleplay-data-v1.4/README.md diff --git a/packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/advancements/custom_roleplay_data.json b/packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/advancements/custom_roleplay_data.json similarity index 100% rename from packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/advancements/custom_roleplay_data.json rename to packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/advancements/custom_roleplay_data.json diff --git a/packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/functions/admin.mcfunction b/packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/functions/admin.mcfunction similarity index 100% rename from packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/functions/admin.mcfunction rename to packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/functions/admin.mcfunction diff --git a/packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/functions/enable.mcfunction b/packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/functions/enable.mcfunction new file mode 100644 index 0000000..9eecc31 --- /dev/null +++ b/packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/functions/enable.mcfunction @@ -0,0 +1,7 @@ +# +# Description: Enables trigger +# Called by: advancment custom_model_data:custom_model_data +# Entity @s: none +# +scoreboard players set @s CustomModelData -2147483648 +scoreboard players enable @s CustomModelData \ No newline at end of file diff --git a/packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/functions/init.mcfunction b/packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/functions/init.mcfunction new file mode 100644 index 0000000..c670ee9 --- /dev/null +++ b/packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/functions/init.mcfunction @@ -0,0 +1,17 @@ +# +# Description: Sets up datapack +# Called by: #minecraft:load +# Entity @s: none +# +# adds trigger scoreboard +scoreboard objectives add CustomModelData trigger +scoreboard players set @a CustomModelData -2147483648 +scoreboard players enable @a CustomModelData +# xp level +scoreboard objectives add crd_xp level +scoreboard objectives add crd_xp_dummy dummy +# min xp required +execute unless score #min_level crd_xp_dummy matches 0.. run scoreboard players set #min_level crd_xp_dummy 1 +execute store result storage custom_roleplay_data:config level int 1 run scoreboard players get #min_level crd_xp_dummy +# initializes second function +function custom_roleplay_data:second diff --git a/packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/functions/second.mcfunction b/packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/functions/second.mcfunction similarity index 100% rename from packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/functions/second.mcfunction rename to packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/functions/second.mcfunction diff --git a/packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/functions/set_data.mcfunction b/packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/functions/set_data.mcfunction similarity index 100% rename from packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/functions/set_data.mcfunction rename to packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/functions/set_data.mcfunction diff --git a/packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/functions/set_required_level.mcfunction b/packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/functions/set_required_level.mcfunction new file mode 100644 index 0000000..01702e4 --- /dev/null +++ b/packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/functions/set_required_level.mcfunction @@ -0,0 +1,9 @@ +# +# Description: Sets the required level +# Called by: disenchantment:disenchant_item and disenchant_book +# Entity @s: player +# Parameters: +# level (int): min level required for custom_roleplay_data +# +$scoreboard players set #min_level crd_xp_dummy $(level) +$data merge storage custom_roleplay_data:config { level: $(level)} \ No newline at end of file diff --git a/packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/functions/subtract_levels.mcfunction b/packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/functions/subtract_levels.mcfunction similarity index 100% rename from packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/functions/subtract_levels.mcfunction rename to packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/functions/subtract_levels.mcfunction diff --git a/packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/functions/trigger.mcfunction b/packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/functions/trigger.mcfunction similarity index 100% rename from packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/functions/trigger.mcfunction rename to packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/functions/trigger.mcfunction diff --git a/packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/item_modifiers/copy_data.json b/packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/item_modifiers/copy_data.json similarity index 100% rename from packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/item_modifiers/copy_data.json rename to packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/item_modifiers/copy_data.json diff --git a/packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/item_modifiers/marker_nbt.json b/packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/item_modifiers/marker_nbt.json similarity index 100% rename from packs/custom-roleplay-data-v1.2/data/custom_roleplay_data/item_modifiers/marker_nbt.json rename to packs/custom-roleplay-data-v1.4/data/custom_roleplay_data/item_modifiers/marker_nbt.json diff --git a/packs/custom-roleplay-data-v1.4/data/minecraft/tags/functions/load.json b/packs/custom-roleplay-data-v1.4/data/minecraft/tags/functions/load.json new file mode 100644 index 0000000..209bbee --- /dev/null +++ b/packs/custom-roleplay-data-v1.4/data/minecraft/tags/functions/load.json @@ -0,0 +1,5 @@ +{ + "values": [ + "custom_roleplay_data:init" + ] +} \ No newline at end of file diff --git a/packs/custom-roleplay-data-v1.2/pack.mcmeta b/packs/custom-roleplay-data-v1.4/pack.mcmeta similarity index 55% rename from packs/custom-roleplay-data-v1.2/pack.mcmeta rename to packs/custom-roleplay-data-v1.4/pack.mcmeta index e19f7f3..a7822fa 100644 --- a/packs/custom-roleplay-data-v1.2/pack.mcmeta +++ b/packs/custom-roleplay-data-v1.4/pack.mcmeta @@ -3,7 +3,7 @@ "pack_format": 18, "supported_formats": { "min_inclusive": 18, - "max_inclusive": 26 + "max_inclusive": 48 }, "description": [{"text":"Custom Roleplay Data","color":"gold"},{"text":"\nDatapack by MukiTanuki","color":"yellow"}] }, @@ -15,6 +15,20 @@ "min_inclusive": 19, "max_inclusive": 9999999 } + }, + { + "directory": "1_20_5", + "formats": { + "min_inclusive": 41, + "max_inclusive": 9999999 + } + }, + { + "directory": "1_21_0", + "formats": { + "min_inclusive": 48, + "max_inclusive": 9999999 + } } ] } diff --git a/packs/custom-roleplay-data-v1.2/pack.png b/packs/custom-roleplay-data-v1.4/pack.png similarity index 100% rename from packs/custom-roleplay-data-v1.2/pack.png rename to packs/custom-roleplay-data-v1.4/pack.png