Skip to content

Commit

Permalink
loot
Browse files Browse the repository at this point in the history
  • Loading branch information
DaFuqs committed Mar 10, 2025
1 parent c4ec63b commit 7112775
Show file tree
Hide file tree
Showing 15 changed files with 35 additions and 32 deletions.
2 changes: 1 addition & 1 deletion raw/wip/loot_tables/chests/park_pond.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"min": 20,
"max": 30
},
"treasure": true,
"options": "#minecraft:on_random_loot",
"conditions": [
{
"condition": "minecraft:random_chance",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
"min": 5,
"max": 20
},
"treasure": true
"options": "#minecraft:on_random_loot"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"min": 10,
"max": 25
},
"treasure": true
"options": "#minecraft:on_random_loot"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{
"function": "minecraft:enchant_with_levels",
"levels": 15,
"treasure": true
"options": "#minecraft:on_random_loot"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{
"function": "minecraft:enchant_with_levels",
"levels": 30,
"treasure": true
"options": "#minecraft:on_random_loot"
},
{
"function": "spectrum:dye_randomly",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
{
"function": "minecraft:enchant_with_levels",
"levels": 30,
"treasure": true
"options": "#minecraft:on_random_loot"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{
"function": "minecraft:enchant_with_levels",
"levels": 20,
"treasure": true,
"options": "#minecraft:on_random_loot",
"conditions": [
{
"condition": "minecraft:random_chance",
Expand All @@ -29,7 +29,7 @@
{
"function": "minecraft:enchant_with_levels",
"levels": 15,
"treasure": true,
"options": "#minecraft:on_random_loot",
"conditions": [
{
"condition": "minecraft:random_chance",
Expand All @@ -49,8 +49,8 @@
"options": [
{
"spectrum:bottomless_stack": {
"template": {
"id": "minecraft:tipped_arrow",
"variant": {
"item": "minecraft:tipped_arrow",
"components": {
"potion_contents": {
"potion": "spectrum:pigment_potion",
Expand All @@ -73,8 +73,8 @@
},
{
"spectrum:bottomless_stack": {
"template": {
"id": "minecraft:tipped_arrow",
"variant": {
"item": "minecraft:tipped_arrow",
"components": {
"potion_contents": {
"potion": "spectrum:pigment_potion",
Expand All @@ -97,8 +97,8 @@
},
{
"spectrum:bottomless_stack": {
"template": {
"id": "minecraft:tipped_arrow",
"variant": {
"item": "minecraft:tipped_arrow",
"components": {
"potion_contents": {
"potion": "spectrum:pigment_potion",
Expand All @@ -121,8 +121,8 @@
},
{
"spectrum:bottomless_stack": {
"template": {
"id": "minecraft:tipped_arrow",
"variant": {
"item": "minecraft:tipped_arrow",
"components": {
"potion_contents": {
"potion": "spectrum:pigment_potion",
Expand All @@ -145,8 +145,8 @@
},
{
"spectrum:bottomless_stack": {
"template": {
"id": "minecraft:tipped_arrow",
"variant": {
"item": "minecraft:tipped_arrow",
"components": {
"potion_contents": {
"potion": "spectrum:pigment_potion",
Expand All @@ -169,8 +169,8 @@
},
{
"spectrum:bottomless_stack": {
"template": {
"id": "minecraft:tipped_arrow",
"variant": {
"item": "minecraft:tipped_arrow",
"components": {
"potion_contents": {
"potion": "spectrum:pigment_potion",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
"name": "minecraft:book",
"functions": [
{
"function": "minecraft:enchant_randomly"
"function": "minecraft:enchant_randomly",
"options": "#minecraft:on_random_loot"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
"name": "minecraft:book",
"functions": [
{
"function": "minecraft:enchant_randomly"
"function": "minecraft:enchant_randomly",
"options": "#minecraft:on_random_loot"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
"name": "minecraft:book",
"functions": [
{
"function": "minecraft:enchant_randomly"
"function": "minecraft:enchant_randomly",
"options": "#minecraft:on_random_loot"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{
"function": "minecraft:enchant_with_levels",
"levels": 10,
"treasure": true
"options": "#minecraft:on_random_loot"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
{
"function": "minecraft:enchant_with_levels",
"levels": 30,
"treasure": true
"options": "#minecraft:on_random_loot"
}
]
},
Expand All @@ -99,7 +99,7 @@
{
"function": "minecraft:enchant_with_levels",
"levels": 30,
"treasure": true
"options": "#minecraft:on_random_loot"
}
]
},
Expand All @@ -110,7 +110,7 @@
{
"function": "minecraft:enchant_with_levels",
"levels": 45,
"treasure": true
"options": "#minecraft:on_random_loot"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
{
"function": "minecraft:enchant_with_levels",
"levels": 15,
"treasure": true
"options": "#minecraft:on_random_loot"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
{
"function": "minecraft:enchant_with_levels",
"levels": 40,
"treasure": true
"options": "#minecraft:on_random_loot"
}
]
},
Expand All @@ -140,7 +140,7 @@
{
"function": "minecraft:enchant_with_levels",
"levels": 40,
"treasure": true
"options": "#minecraft:on_random_loot"
}
]
},
Expand All @@ -158,7 +158,7 @@
{
"function": "minecraft:enchant_with_levels",
"levels": 45,
"treasure": true
"options": "#minecraft:on_random_loot"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
{
"function": "minecraft:enchant_with_levels",
"levels": 40,
"treasure": true
"options": "#minecraft:on_random_loot"
}
]
},
Expand Down

0 comments on commit 7112775

Please sign in to comment.