Jump to content

peefTube

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by peefTube

  1. Well, I may look into that later. For now, I have finally determined the cause as one specific oversight: if(vanillaToolTier >= vanillaBlockTier) { This single line was keeping my code from running with a gold tool on iron ore, thus rendering the code useless. I have since removed it.
  2. No need, it just started working and I have zero clue why because I changed none of the functionality UPDATE: Just removed something I'd added (a console printline) and for whatever stupid reason, that broke it again. Absolutely no clue why this is behaving this way but I'm certainly getting a laugh out of it.
  3. I don't want to change anything unless it fixes the error of the setToolHL() call not actually doing anything, which it absolutely should be doing something
  4. This is completely ignoring the issue I'm running into. The method being called to my reflection file is not actually being called. It's simply not running.
  5. That NOT including the OR statement, yea? Regardless, that wouldn't change anything. It acknowledges things this way just fine.
  6. Well, now I've made progress thanks to the help of the Slimeknights server But I have these two files and the latter is not running when called: https://www.codepile.net/pile/oADOj7Jn https://www.codepile.net/pile/mE99pxEN
  7. I don't think that will do what I need it to.
  8. These things don't give me access to the tools' harvest level or efficiency or any of those values. They're protected somehow.
  9. I'm working with events but I cannot figure out for the life of me how to access harvestLevel or breakSpeed
  10. I want to change specifically the values already mentioned, though what you've provided solves both questions, so thank you!
  11. I'm working on a new mod, but I've become insistent upon extending the progression tree. Doing this, however, would require modifying a few different enums as well as changing the properties of multiple blocks and items to match. I have limited experience with Java, I do have experience, but not nearly enough to know how to modify these values. What I want to do, explicitly, is this: Modify harvest levels of blocks and tool tiers to insert new tiers in between for certain ores, creating a more Terraria-like progression Potentially override vanilla values with modded ones, without forcibly prying into the vanilla values to modify them on loadup Any clues as to how to accomplish either or both of these tasks?
×
×
  • Create New...

Important Information

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