diff --git a/data/experience_bottle/function/empty/left.mcfunction b/data/experience_bottle/function/empty/left.mcfunction index 4c96058..2dd5689 100644 --- a/data/experience_bottle/function/empty/left.mcfunction +++ b/data/experience_bottle/function/empty/left.mcfunction @@ -1,3 +1,3 @@ -xp add @s -30 levels +xp add @s -1395 points loot replace entity @s weapon.offhand loot experience_bottle:filled_experience_bottle \ No newline at end of file diff --git a/data/experience_bottle/function/empty/right.mcfunction b/data/experience_bottle/function/empty/right.mcfunction index f54d28a..b6a5232 100644 --- a/data/experience_bottle/function/empty/right.mcfunction +++ b/data/experience_bottle/function/empty/right.mcfunction @@ -1,3 +1,3 @@ -xp add @s -30 levels +xp add @s -1395 points loot replace entity @s weapon.mainhand loot experience_bottle:filled_experience_bottle \ No newline at end of file diff --git a/data/experience_bottle/function/filled/left.mcfunction b/data/experience_bottle/function/filled/left.mcfunction index 2bdccff..3bf407a 100644 --- a/data/experience_bottle/function/filled/left.mcfunction +++ b/data/experience_bottle/function/filled/left.mcfunction @@ -1,4 +1,4 @@ -xp add @s 30 levels +xp add @s 1395 points loot replace entity @s weapon.offhand loot experience_bottle:empty_experience_bottle diff --git a/data/experience_bottle/function/filled/right.mcfunction b/data/experience_bottle/function/filled/right.mcfunction index 8ac35af..a1eaf28 100644 --- a/data/experience_bottle/function/filled/right.mcfunction +++ b/data/experience_bottle/function/filled/right.mcfunction @@ -1,4 +1,4 @@ -xp add @s 30 levels +xp add @s 1395 points loot replace entity @s weapon.mainhand loot experience_bottle:empty_experience_bottle diff --git a/data/experience_bottle/loot_table/empty_experience_bottle.json b/data/experience_bottle/loot_table/empty_experience_bottle.json index 724fa47..35fab4a 100644 --- a/data/experience_bottle/loot_table/empty_experience_bottle.json +++ b/data/experience_bottle/loot_table/empty_experience_bottle.json @@ -36,10 +36,10 @@ "name": [ { "color": "aqua", + "italic": false, "text": "Empty Experience Bottle" } - ], - "target": "item_name" + ] } ] } diff --git a/data/experience_bottle/loot_table/filled_experience_bottle.json b/data/experience_bottle/loot_table/filled_experience_bottle.json index 9695987..7916fa1 100644 --- a/data/experience_bottle/loot_table/filled_experience_bottle.json +++ b/data/experience_bottle/loot_table/filled_experience_bottle.json @@ -36,10 +36,10 @@ "name": [ { "color": "aqua", + "italic": false, "text": "Filled Experience Bottle" } - ], - "target": "item_name" + ] } ] } diff --git a/data/experience_bottle/recipe/empty_experience_bottle.json b/data/experience_bottle/recipe/empty_experience_bottle.json index f8e20eb..6deffeb 100644 --- a/data/experience_bottle/recipe/empty_experience_bottle.json +++ b/data/experience_bottle/recipe/empty_experience_bottle.json @@ -1,42 +1,34 @@ { - "type": "minecraft:crafting_shaped", - "category": "equipment", - "pattern": [ - " # ", - "#E#", - " # " - ], - "key": { - "#": { - "item": "minecraft:emerald_block" - }, - "E": { - "item": "minecraft:experience_bottle" - } - }, - "result": { - "id": "minecraft:potion", - "count": 1, - "components": { - "minecraft:custom_name": "{ - 'text':'Empty Experience Bottle', - 'italic':false, - 'color':'aqua' - }", - "minecraft:potion_contents": { - "custom_color": 11776947, - "custom_effects": [ - { - "id": "minecraft:mining_fatigue", - "amplifier": 19, - "duration": 1, - "show_particles": false, - "show_icon": false, - "ambient": false - } - ] - }, - "minecraft:hide_additional_tooltip": {} + "type": "minecraft:crafting_shaped", + "category": "misc", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": "minecraft:emerald_block", + "X": "minecraft:experience_bottle" + }, + "result": { + "id": "minecraft:potion", + "count": 1, + "components": { + "minecraft:custom_name": "{'color':'aqua','italic':false,'text':'Empty Experience Bottle'}", + "minecraft:potion_contents": { + "custom_color": 11776947, + "custom_effects": [ + { + "id": "minecraft:mining_fatigue", + "amplifier": 19, + "duration": 1, + "show_particles": false, + "show_icon": false, + "ambient": false } + ] + }, + "hide_additional_tooltip": {} } + } } \ No newline at end of file