Project Red - Compat

Project Red - Compat

27M Downloads

[Bug] Tin and Silver ore missing silk touch loot drop

Austin-McElwaine opened this issue ยท 0 comments

commented

Minecraft version

1.20.x

CodeChickenLib version

1.20.1-4.4.0.516

CBMultipart version

1.20.1-3.3.0.146

ProjectRed version

1.20.1-4.20.0-beta+5

What happened?

Tin and silver ore are missing it's silk touch loot table drop:
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"name": "projectred_exploration:raw_tin"
}
],
"rolls": 1.0
}
]
}

compared to other ores like sapphire
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
],
"name": "projectred_exploration:sapphire_ore"
},
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 2.0,
"min": 1.0
},
"function": "minecraft:set_count"
},
{
"enchantment": "minecraft:fortune",
"formula": "minecraft:ore_drops",
"function": "minecraft:apply_bonus"
}
],
"name": "projectred_core:sapphire"
}
]
}
],
"rolls": 1.0
}
]
}

Crash log

No crash

How do you make it happen again?

Mine silver and/or tin ore with a silk touch pickaxe