Skip to content

Commit

Permalink
update to 1.21.4
Browse files Browse the repository at this point in the history
  • Loading branch information
lullaby6 committed Nov 1, 2024
1 parent 5cbaa93 commit bddd0b9
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 46 deletions.
2 changes: 1 addition & 1 deletion data/experience_bottle/function/empty/left.mcfunction
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion data/experience_bottle/function/empty/right.mcfunction
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion data/experience_bottle/function/filled/left.mcfunction
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion data/experience_bottle/function/filled/right.mcfunction
Original file line number Diff line number Diff line change
@@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
"name": [
{
"color": "aqua",
"italic": false,
"text": "Empty Experience Bottle"
}
],
"target": "item_name"
]
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
"name": [
{
"color": "aqua",
"italic": false,
"text": "Filled Experience Bottle"
}
],
"target": "item_name"
]
}
]
}
Expand Down
68 changes: 30 additions & 38 deletions data/experience_bottle/recipe/empty_experience_bottle.json
Original file line number Diff line number Diff line change
@@ -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": {}
}
}
}

0 comments on commit bddd0b9

Please sign in to comment.