Jump to content

Cleverpanda

Members
  • Posts

    107
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Cleverpanda's Achievements

Creeper Killer

Creeper Killer (4/8)

1

Reputation

  1. 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.
  2. 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?
  3. 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.
  4. thats the case I was talking about. Otherwise, it would only catch 1/6th of the possible cases
  5. 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.
  6. Update: this cant differentiate between just breaking the block or being burnt.
  7. I dont need to bother with the command check. This looks promising, thanks! I'll give it a go
  8. 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
  9. 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..
  10. 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.
  11. 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
  12. I copied the drawrect method but just gave GlStateManager.color() inputs manually. works fine
  13. 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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.