Closed ffuentesm closed 2 months ago
The Nether Star is a "Direct Drop", that doesn't use a loot table at all. I'm not certain exactly what "GLM" is, if it's a forge-exclusive thing maybe. But there is a resource format for visualizing "direct drops".
@fzzyhmstrs with GLM I mean Global Loot Modifiers. I was mostly wondering since recently I've seen some mods where their mob drops do not show in the mob drop tab but have an exclusive INFO tab telling how that item drops. Irons'Spell and Spellbook come to mind. Where Hog Skin is not shown under the hogling table. I think the mod has its own method, which confused me.
Iron Spellbook has its loot tables under data\irons_spellbooks\loot_tables\entities\additional_hoglin_loot.json
{
"pools": [
{
"rolls": 1,
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 0.0,
"max": 1.0
},
"add": false
},
{
"function": "minecraft:looting_enchant",
"count": {
"type": "minecraft:uniform",
"min": 0.0,
"max": 2.0
}
}
],
"name": "irons_spellbooks:hogskin"
}
]
}
]
}
I assume that "additional" in the file name messes things up for EMI loot?
the "additional" part would indeed dodge EMI Loots detection.
I noticed that some mods use GLM for certain mobdrops, like Tinker's, Ars, where boss mobs drop items that are not affected by looting. Like the nether star drop.