change fern loot tables to add straw

This commit is contained in:
Pyritie 2026-01-19 22:15:56 +00:00
parent 766b2f1948
commit 624d7de7e0
3 changed files with 85 additions and 4 deletions

View file

@ -1,5 +1,45 @@
{
"type": "minecraft:block",
"pools": [],
"random_sequence": "minecraft:blocks/fern"
"pools": [
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
"type": "minecraft:item",
"name": "minecraft:fern",
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"tag": "forge:shears"
}
}
]
},
{
"type": "minecraft:item",
"name": "tfc:straw",
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"tag": "tfc:sharp_tools"
}
}
]
}
]
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View file

@ -1,5 +1,45 @@
{
"type": "minecraft:block",
"pools": [],
"random_sequence": "minecraft:blocks/fern"
"pools": [
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
"type": "minecraft:item",
"name": "minecraft:large_fern",
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"tag": "forge:shears"
}
}
]
},
{
"type": "minecraft:item",
"name": "tfc:straw",
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"tag": "tfc:sharp_tools"
}
}
]
}
]
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View file

@ -179,6 +179,7 @@ TFCEvents.data(event => {
*/
LootJS.modifiers((event) => {
registerAdAstraLoots(event)
registerBeneathLoots(event)
registerTFGOreLoots(event)
registerLootrLoots(event)
registerPrimitiveCreaturesLoots(event)