Skip to content

Commit

Permalink
Merge pull request #15 from kingkuys2123/1.20.1
Browse files Browse the repository at this point in the history
Fixed Avocado Leaves' Loot Table
  • Loading branch information
mrsterner authored Feb 11, 2024
2 parents e804302 + dad8c4a commit 0b74dec
Showing 1 changed file with 56 additions and 55 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"type": "minecraft:block",
"pools": [
{
"rolls": 1.0,
"bonus_rolls": 0.0,
"entries": [
{
Expand All @@ -12,7 +11,7 @@
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:alternative",
"condition": "minecraft:any_of",
"terms": [
{
"condition": "minecraft:match_tool",
Expand Down Expand Up @@ -47,50 +46,81 @@
"condition": "minecraft:survives_explosion"
},
{
"condition": "minecraft:table_bonus",
"enchantment": "minecraft:fortune",
"chances": [
0.05,
0.0625,
0.083333336,
0.1
]
],
"condition": "minecraft:table_bonus",
"enchantment": "minecraft:fortune"
}
],
"name": "culturaldelights:avocado_sapling"
}
]
}
]
],
"rolls": 1.0
},
{
"rolls": 1.0,
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:any_of",
"terms": [
{
"condition": "minecraft:match_tool",
"predicate": {
"items": [
"minecraft:shears"
]
}
},
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
]
}
}
],
"entries": [
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:table_bonus",
"enchantment": "minecraft:fortune",
"chances": [
0.02,
0.022222223,
0.025,
0.033333335,
0.1
]
],
"condition": "minecraft:table_bonus",
"enchantment": "minecraft:fortune"
}
],
"functions": [
{
"function": "minecraft:set_count",
"add": false,
"count": {
"type": "minecraft:uniform",
"min": 1.0,
"max": 2.0
"max": 2.0,
"min": 1.0
},
"add": false
"function": "minecraft:set_count"
},
{
"function": "minecraft:explosion_decay"
Expand All @@ -99,11 +129,15 @@
"name": "minecraft:stick"
}
],
"rolls": 1.0
},
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:alternative",
"condition": "minecraft:any_of",
"terms": [
{
"condition": "minecraft:match_tool",
Expand All @@ -129,11 +163,7 @@
]
}
}
]
},
{
"rolls": 1.0,
"bonus_rolls": 0.0,
],
"entries": [
{
"type": "minecraft:item",
Expand All @@ -142,51 +172,22 @@
"condition": "minecraft:survives_explosion"
},
{
"condition": "minecraft:table_bonus",
"enchantment": "minecraft:fortune",
"chances": [
0.005,
0.0055555557,
0.00625,
0.008333334,
0.025
]
],
"condition": "minecraft:table_bonus",
"enchantment": "minecraft:fortune"
}
],
"name": "culturaldelights:avocado"
}
],
"conditions": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:alternative",
"terms": [
{
"condition": "minecraft:match_tool",
"predicate": {
"items": [
"minecraft:shears"
]
}
},
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
]
}
}
]
"rolls": 1.0
}
]
],
"random_sequence": "culturaldelights:blocks/avocado_leaves"
}

0 comments on commit 0b74dec

Please sign in to comment.