Fixes and adjustments to the loot tables

This commit is contained in:
Sollace 2020-04-28 00:33:13 +02:00
parent e8e6afe01f
commit 1ed4e719fd
7 changed files with 86 additions and 11 deletions

View file

@ -9,14 +9,13 @@
"children": [ "children": [
{ {
"type": "minecraft:item", "type": "minecraft:item",
"name": "unicopia:alfalfa", "name": "unicopia:alfalfa_leaves",
"conditions": [ "conditions": [
{ {
"condition": "minecraft:block_state_property", "condition": "minecraft:block_state_property",
"block": "unicopia:alfalfa_crops", "block": "unicopia:alfalfa_crops",
"properties": { "properties": {
"age": "7", "age": "7"
"type": "normal"
} }
} }
], ],

View file

@ -35,7 +35,7 @@
] ]
} }
], ],
"name": "unicopia:apple_leaves" "name": "unicopia:apple_seeds"
}, },
{ {
"type": "minecraft:item", "type": "minecraft:item",
@ -54,7 +54,7 @@
] ]
} }
], ],
"name": "unicopia:apple_sapling" "name": "unicopia:apple_seeds"
} }
] ]
} }

View file

@ -6,7 +6,7 @@
"entries": [ "entries": [
{ {
"type": "minecraft:item", "type": "minecraft:item",
"name": "unicopia:apple_sapling" "name": "unicopia:apple_seeds"
} }
], ],
"conditions": [ "conditions": [

View file

@ -4,7 +4,24 @@
{ {
"rolls": 1, "rolls": 1,
"entries": [ "entries": [
{ "type": "minecraft:item", "name": "unicopia:bakery_door" } {
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:block_state_property",
"block": "minecraft:oak_door",
"properties": {
"half": "lower"
}
}
],
"name": "unicopia:bakery_door"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
] ]
} }
] ]

View file

@ -4,7 +4,24 @@
{ {
"rolls": 1, "rolls": 1,
"entries": [ "entries": [
{ "type": "minecraft:item", "name": "unicopia:diamond_door" } {
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:block_state_property",
"block": "minecraft:oak_door",
"properties": {
"half": "lower"
}
}
],
"name": "unicopia:diamond_door"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
] ]
} }
] ]

View file

@ -4,7 +4,24 @@
{ {
"rolls": 1, "rolls": 1,
"entries": [ "entries": [
{ "type": "minecraft:item", "name": "unicopia:library_door" } {
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:block_state_property",
"block": "minecraft:oak_door",
"properties": {
"half": "lower"
}
}
],
"name": "unicopia:library_door"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
] ]
} }
] ]

View file

@ -10,11 +10,25 @@
{ {
"type": "minecraft:item", "type": "minecraft:item",
"name": "unicopia:slime_drop", "name": "unicopia:slime_drop",
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.125
}
],
"functions": [ "functions": [
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 1, "max": 3 } "count": { "min": 1, "max": 3 }
} },
{
"function": "minecraft:apply_bonus",
"enchantment": "minecraft:fortune",
"formula": "minecraft:uniform_bonus_count",
"parameters": {
"bonusMultiplier": 2
}
}
] ]
}, },
{ {
@ -24,7 +38,18 @@
{ {
"function": "minecraft:set_count", "function": "minecraft:set_count",
"count": { "min": 3, "max": 5 } "count": { "min": 3, "max": 5 }
} },
{
"function": "minecraft:apply_bonus",
"enchantment": "minecraft:fortune",
"formula": "minecraft:uniform_bonus_count",
"parameters": {
"bonusMultiplier": 2
}
},
{
"function": "minecraft:explosion_decay"
}
] ]
} }
] ]