Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

DutchM

Members
  • Posts

    20
  • Joined

  • Last visited

Recent Profile Visitors

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

DutchM's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. There is when using commands etc. Shouldn't be too big of a deal but eh there's no way to circumvent the error anyway so I suppose I'll have to redo my colored string.
  2. I can definitely do that, and I probably will if there's really no circumventing this, but I'd really prefer seeing if there's a way to circumvent it since that wouls save alot of work rn, and also be clearer to the player imo.
  3. I'm fully aware that that is the cause of the issue. I'm looking for a way to circumvent the issue without changing that. As far as I can tell using some reference searches in Eclipse, recipes are the only thing that break by doing this.
  4. Yes, recipes aren't broken in general, it's just that recipes that use string that don't set a data tag are broken, and I have no control over what other modders do with their recipes, so I would like to make it so my mod fixes those recipes (that is, other mod's json recipes that use vanilla string).
  5. In my mod I am trying to do a registry override, which works fine, but since the vanilla item didn't have any variants and my override item does, it causes a jsonparseerror on every single recipe that uses the item. I was wondering if there was any way to prevent this (it's caused by the fact that the json recipes don't have a data value as the original item doesn't have one, but since the override does have variants it requires a data value in the json). I looked through the stacktrace of the json error and could not find any place where a mod might hook into the process of loading recipe jsons. I condifered a few possible options to resolve this, but none of them are particularly helpful: before the recipes are parsed, find every json recipe that would cause a jsonerror as a direct result of my override and fix the issue in the json file. This is not a solution since my mod may not always have the permissions to write, and may also cause issues in modloaders that do some form of version-checking or whatever. use some method to catch exceptions from another thread. Not possible since the exception is already caught by the thread itself. look for all recipes that would cause a jsonerror as a direct result of my override, parse them myself, then register the result. While definetely possible this would be a rather inefficient way to do it, and would also not prevent the json errors from occuring. while the third option is possible, it would be nice to know if there is any point in which a mod can interrupt the recipe loading process (for instance if there's a hook i missed that let's you acess the json object or the loader or something) Some things of note: Vanilla recipes seem to be handled by a different loader which is perfectly capable of ignoring wheter or not an item has variants. I can't fix the recipe registry entries after the fact, since the json error prevents the recipes from entering the registry in the first place.
  6. Either I figured I might as well report it ^^
  7. I could, but it also requires my work's phone number, and like I said I can just use my other pc.
  8. More of a ... idk what to call it not really bug but weirdness in the code... report than a suggestion, but I don't know where else to put it. I don't quite get why EntityPlayer#openGui deviates from Java styleguides, even though the rest of the code seems to follow them neatly. To clarify: GUI is an acronym and thus should be spelled in all caps like this: EntityPlayer#openGUI, not EntityPlayer#openGui. I don't understand why this method specifically deviates from this, especially since other abbreviations I have encountered in the code are fully capitalized.
  9. Welp I can still start it on my other toaster of a pc. That one has a slightly newer processor so it doesn't have this bug, but it is a much slower pc.
  10. Considering I don't have a job and thus cannot register an oracle account and thus cannot download EOL versions of Java, that is not an option.
  11. Also the link you send just gives me a login screen, but I think I should be able to find java 8 pre-60 no problem
  12. Oh yeah absolutely I will get a new pc once I have saved up enough money for it. Keep in mind I'm just another Minecraft playin' kiddo without a job I mean that may be a bit too liberal use of the term kiddo as im 16 but you get my point
  13. Didn't work, and I doubt that is the issue, as I can launch the exact same version of forge via the minecrfat launcher without any problems
  14. Intel® Core™ i5 CPU M 520 @ 2.40GHz according to intel driver & support assistant.
  15. running it using the equivalent jdk versions also causes the same error.
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.