Solved but can't delete this, so here's a solution for those that come later:
Drop your loot table in on a per world basis under
"World_name/data/loot_tables/[modid]/yourTable.json" or "World_name/data/loot_tables/[modid]/chests/yourTable.json" or whatever is in your assets dir for loot tables.
Hello.
I've been very hard pressed to find a way to allow my players to edit a custom loot table for one of my mods.
I went through all the trouble of converting my old system to use loot tables because I thought It was the "correct" way to do things now and everyone I've asked says it's not possible.
It's just a loot bag that drops from trees. https://minecraft.curseforge.com/projects/birds-nests
Is there ANY way to let my players edit my loot table with their own drops?
replacing fire might be better. I could have an interface that defies a fire drop and check if the block uses it. shouldnt break other people fire checking as long as they use instanceof I believe.
My idea now is to log when fire goes from fire to air then wood goes from wood to air after in the block position next to it. (accounting for fire facing)
and if they match, then its a burn.
I understand that and I will, but I'm not willing to wait for the next version of Forge to make it. Poor way now, proper way when it exists.
Still thinking of and waiting for any other ideas that wouldn't require it though, of course
It does. I'm thinking of using ASM to just put in an event call similar to onBlockBreak event that goes to my own event. I feel like its required here and would be the least intrusive..
Hello.
Pretty self explanatory. I think there should be an event very similar to onBlockBreak event but called when fire wants to consume a block.
The reason being is I'd like to have something like ash drop when my block is burned, as a sort of in world crafting process.
this seemed like something that should already be in forge and is pretty simple, and I or anyone i've talked to haven't found a way to achieve this currently.
Hello.
I'd like to have an item spawn from my block when it is consumed by fire.
Failing that, I'd like to be able to replace it with another block.
As far as I can tell, there's no event that's fired when a block is consumed by fire.
Does anyone have any ideas on how I could achieve this?
Thanks
Okay, I see that the method takes an int and shifts to get rgb and alpha, but the int value of that would be 4278190080, which is out of range.. So i'm going to assume the alpha bits are last? lets see