Fix ore drop. Closes #2427
This commit is contained in:
parent
23868443b5
commit
53cd1d8f6b
5 changed files with 220 additions and 70 deletions
|
@ -1,19 +1,49 @@
|
||||||
{
|
{
|
||||||
"type": "minecraft:block",
|
"type": "minecraft:block",
|
||||||
"pools": [
|
"pools": [
|
||||||
{
|
{
|
||||||
"rolls": 1,
|
"rolls": 1.0,
|
||||||
"entries": [
|
"bonus_rolls": 0.0,
|
||||||
{
|
"entries": [
|
||||||
"type": "minecraft:item",
|
{
|
||||||
"name": "techreborn:iridium_ore"
|
"type": "minecraft:alternatives",
|
||||||
}
|
"children": [
|
||||||
],
|
{
|
||||||
"conditions": [
|
"type": "minecraft:item",
|
||||||
{
|
"conditions": [
|
||||||
"condition": "minecraft:survives_explosion"
|
{
|
||||||
}
|
"condition": "minecraft:match_tool",
|
||||||
]
|
"predicate": {
|
||||||
}
|
"enchantments": [
|
||||||
|
{
|
||||||
|
"enchantment": "minecraft:silk_touch",
|
||||||
|
"levels": {
|
||||||
|
"min": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "techreborn:iridium_ore"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:apply_bonus",
|
||||||
|
"enchantment": "minecraft:fortune",
|
||||||
|
"formula": "minecraft:ore_drops"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "minecraft:explosion_decay"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "techreborn:raw_iridium"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -1,19 +1,49 @@
|
||||||
{
|
{
|
||||||
"type": "minecraft:block",
|
"type": "minecraft:block",
|
||||||
"pools": [
|
"pools": [
|
||||||
{
|
{
|
||||||
"rolls": 1,
|
"rolls": 1.0,
|
||||||
"entries": [
|
"bonus_rolls": 0.0,
|
||||||
{
|
"entries": [
|
||||||
"type": "minecraft:item",
|
{
|
||||||
"name": "techreborn:lead_ore"
|
"type": "minecraft:alternatives",
|
||||||
}
|
"children": [
|
||||||
],
|
{
|
||||||
"conditions": [
|
"type": "minecraft:item",
|
||||||
{
|
"conditions": [
|
||||||
"condition": "minecraft:survives_explosion"
|
{
|
||||||
}
|
"condition": "minecraft:match_tool",
|
||||||
]
|
"predicate": {
|
||||||
}
|
"enchantments": [
|
||||||
|
{
|
||||||
|
"enchantment": "minecraft:silk_touch",
|
||||||
|
"levels": {
|
||||||
|
"min": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "techreborn:lead_ore"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:apply_bonus",
|
||||||
|
"enchantment": "minecraft:fortune",
|
||||||
|
"formula": "minecraft:ore_drops"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "minecraft:explosion_decay"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "techreborn:raw_lead"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -1,19 +1,49 @@
|
||||||
{
|
{
|
||||||
"type": "minecraft:block",
|
"type": "minecraft:block",
|
||||||
"pools": [
|
"pools": [
|
||||||
{
|
{
|
||||||
"rolls": 1,
|
"rolls": 1.0,
|
||||||
"entries": [
|
"bonus_rolls": 0.0,
|
||||||
{
|
"entries": [
|
||||||
"type": "minecraft:item",
|
{
|
||||||
"name": "techreborn:silver_ore"
|
"type": "minecraft:alternatives",
|
||||||
}
|
"children": [
|
||||||
],
|
{
|
||||||
"conditions": [
|
"type": "minecraft:item",
|
||||||
{
|
"conditions": [
|
||||||
"condition": "minecraft:survives_explosion"
|
{
|
||||||
}
|
"condition": "minecraft:match_tool",
|
||||||
]
|
"predicate": {
|
||||||
}
|
"enchantments": [
|
||||||
|
{
|
||||||
|
"enchantment": "minecraft:silk_touch",
|
||||||
|
"levels": {
|
||||||
|
"min": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "techreborn:silver_ore"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:apply_bonus",
|
||||||
|
"enchantment": "minecraft:fortune",
|
||||||
|
"formula": "minecraft:ore_drops"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "minecraft:explosion_decay"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "techreborn:raw_silver"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -1,19 +1,49 @@
|
||||||
{
|
{
|
||||||
"type": "minecraft:block",
|
"type": "minecraft:block",
|
||||||
"pools": [
|
"pools": [
|
||||||
{
|
{
|
||||||
"rolls": 1,
|
"rolls": 1.0,
|
||||||
"entries": [
|
"bonus_rolls": 0.0,
|
||||||
{
|
"entries": [
|
||||||
"type": "minecraft:item",
|
{
|
||||||
"name": "techreborn:tin_ore"
|
"type": "minecraft:alternatives",
|
||||||
}
|
"children": [
|
||||||
],
|
{
|
||||||
"conditions": [
|
"type": "minecraft:item",
|
||||||
{
|
"conditions": [
|
||||||
"condition": "minecraft:survives_explosion"
|
{
|
||||||
}
|
"condition": "minecraft:match_tool",
|
||||||
]
|
"predicate": {
|
||||||
}
|
"enchantments": [
|
||||||
|
{
|
||||||
|
"enchantment": "minecraft:silk_touch",
|
||||||
|
"levels": {
|
||||||
|
"min": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "techreborn:tin_ore"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:apply_bonus",
|
||||||
|
"enchantment": "minecraft:fortune",
|
||||||
|
"formula": "minecraft:ore_drops"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "minecraft:explosion_decay"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "techreborn:raw_tin"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -1,19 +1,49 @@
|
||||||
{
|
{
|
||||||
"type": "minecraft:block",
|
"type": "minecraft:block",
|
||||||
"pools": [
|
"pools": [
|
||||||
{
|
{
|
||||||
"rolls": 1,
|
"rolls": 1.0,
|
||||||
"entries": [
|
"bonus_rolls": 0.0,
|
||||||
{
|
"entries": [
|
||||||
"type": "minecraft:item",
|
{
|
||||||
"name": "techreborn:tungsten_ore"
|
"type": "minecraft:alternatives",
|
||||||
}
|
"children": [
|
||||||
],
|
{
|
||||||
"conditions": [
|
"type": "minecraft:item",
|
||||||
{
|
"conditions": [
|
||||||
"condition": "minecraft:survives_explosion"
|
{
|
||||||
}
|
"condition": "minecraft:match_tool",
|
||||||
]
|
"predicate": {
|
||||||
}
|
"enchantments": [
|
||||||
|
{
|
||||||
|
"enchantment": "minecraft:silk_touch",
|
||||||
|
"levels": {
|
||||||
|
"min": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "techreborn:tungsten_ore"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "minecraft:apply_bonus",
|
||||||
|
"enchantment": "minecraft:fortune",
|
||||||
|
"formula": "minecraft:ore_drops"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "minecraft:explosion_decay"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "techreborn:raw_tungsten"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue