Jump to content

sblectric

Forge Modder
  • Posts

    34
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Personal Text
    LightningCraft and EZStorage 2 dev

sblectric's Achievements

Tree Puncher

Tree Puncher (2/8)

2

Reputation

  1. There is a 1.8.9 version that mods use, and it works fine.
  2. Store the BlockPos in the item's NBT and read it when right-clicking.
  3. Nope, it's not needed. Debug mode is only needed if you're changing some code.
  4. No, this is for having entities spawn naturally in biomes, not in a specific circumstance like qxjl1010 needs.
  5. Yeah, pretty sure that's a bug with shields in particular. I tried doing pretty much exactly that in my Advanced Addons mod, and the "blocking" model would never work, no matter what I tried. To make matters worse, the shield functionality isn't even exposed, so I had to use an event handler to mimic the blocking damage to the shield. Shields are not too easy to extend!
  6. You can either color the stem yourself, or leave it grayscale and color it via an IBlockColor implementation.
  7. Waila does that for even vanilla crops, so I wouldn't worry about it.
  8. Ahh yeah, I can see how putting into an inventory and such could be a bit tricky.
  9. I'm pretty sure it's just reading from NBT, so nothing really hacky here.
  10. I solved my problem. I had to iterate over all the active log4j loggers like so: LoggerContext ctx = (LoggerContext)LogManager.getContext(false); Collection<LoggerConfig> lc = ctx.getConfiguration().getLoggers().values(); for(LoggerConfig c : lc) { c.addFilter(new SpamFilter()); }
  11. You could always wait for the item to be held in the item update method, then when the status changes, write it to the ItemStack's NBT. Then, read that NBT from the ItemStack in the hasEffect method.
  12. It seems that there can only be one log4j.xml file per classpath, and Minecraft's is taking precedence. Is there any way to get around that?
  13. Oh, I see what you're saying. I'll look into it, thanks.
  14. I don't want it to be a static file in the jar, I want it to be configurable. Still looking into the XML format for log4j, I don't know what I'm saying.
×
×
  • Create New...

Important Information

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