Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/26/18 in all areas

  1. You're using an ancient version of Forge for 1.12.2 and trying to load a (presumed)1.7.10 coremod.
    1 point
  2. Don't worry as soon as 1.13 is out I will attempt a good modding tutorial for it, and hopefully the plague will end.
    1 point
  3. http://howoldisminecraft1710.today/
    1 point
  4. ASM is java code that lets you modify java code while it's running. It's literally dangerous if not done correctly. But in the vast majority of situations you ever find yourself in, ASM is not needed. The order of things to try first goes: Own code (extending, implementing) Events (handle existing hooks) Reflection (access private values) Making a PR to Forge to insert new events (and then doing #2) Not doing anything at all (stop touching it) Starting a new project (I said stop) ASM
    1 point
  5. I was massively overthinking this aha, thanks so much @jabelar for your comment on some old thread that I was reading for no reason about how Minecraft.renderGlobal is public. What I've done is massively overkill but I've just made a new RenderGlobal called ModRenderGlobal that is an exact copy of RenderGlobal (with all the methods and variables changed to public). I also had to make a copy of ViewFrustum because of it having a package method required by my RenderGlobal. Here is my final code @EventHandler public void init(final FMLInitializationEvent event) { try { Minecraft.getMinecraft().renderGlobal = new ModRenderGlobal(Minecraft.getMinecraft()); LOGGER.info("Successfully replaced Minecraft's RenderGlobal"); } catch (final Throwable throwable) { LOGGER.error("Failed to replace Minecraft's RenderGlobal"); // This should only happen rarely (never honestly) - so printing the Stack Trace shoudn't spam any logs throwable.printStackTrace(); // TODO: throw the throwable? Maybe, keep it commented out for now // throw throwable; } } Which can be reduced to @EventHandler public void init(final FMLInitializationEvent event) { Minecraft.getMinecraft().renderGlobal = new ModRenderGlobal(Minecraft.getMinecraft()); } And here is the final result - I'll probably post my results of the actual rendering here if I get it to work Thanks everyone for their help!
    1 point
  6. The registration form asked me to "Name one bad guy in the normal game." I entered Wither and was rejected for it! :P
    0 points
×
×
  • Create New...

Important Information

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