-
[1.12] allowing players to change mod loot tables?
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.
-
Cleverpanda changed their profile photo
-
[1.12] allowing players to change mod 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?
-
[1.10.2] fire event?
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.
-
[1.10.2] fire event?
thats the case I was talking about. Otherwise, it would only catch 1/6th of the possible cases
-
[1.10.2] fire event?
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.
-
[1.10.2] fire event?
Update: this cant differentiate between just breaking the block or being burnt.
-
[1.10.2] fire event?
I dont need to bother with the command check. This looks promising, thanks! I'll give it a go
-
[1.10.2] fire event?
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
-
[1.10.2] fire event?
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..
-
onBlockConsumedByFire Event
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.
-
[1.10.2] fire event?
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
-
[1.10.2] [OpenGL] rendering rectangles and overlay?
I copied the drawrect method but just gave GlStateManager.color() inputs manually. works fine
-
[1.10.2] [OpenGL] rendering rectangles and overlay?
No, thats rubbish logic...
-
[1.10.2] [OpenGL] rendering rectangles and overlay?
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
-
[1.10.2] [OpenGL] rendering rectangles and overlay?
Bipity bopity bump.
IPS spam blocked by CleanTalk.