Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/22/19 in all areas

  1. I would say that you want to log as little as possible. Maybe if you have not quite a fatal issue you should log it but that's about it. Please don't be *that* mod that logs every block and item it registers, or even worse a mod that spams absolutely useless info into the log like TConstruct does. Yes, that would be correct. Yep So far your guesses are correct. Yes, but make sure to understand that it would still run in singleplayer, this is for the logical server starting.
    2 points
  2. It means that the field or method isn't static.
    1 point
  3. https://gist.github.com/mcenderdragon/6c7af2daf6f72b0cadf0c63169a87583
    1 point
  4. Yes Yes. But it might not get accepted anytime soon with all the major work being done on 1.13 and 1.14
    1 point
  5. Now you never call the pre-init method in your proxy, thus the OBJLoader doesn't know that it is supposed to process your mod. You did have it called previously, why you removed that lime of code I don't know. You do need the .obj extension at the definition of your model so the OBJLoader itself knows that you are looking for a wavefront model. Also stop using common proxy, it makes no sense. And don't have your common proxy as your server proxy, that makes even less sense. And well, it took me a while to figure this issue out, but your blockstates file isn't a forge blockstates file. forge_maker != forge_marker. Now those issues done and all your obj model is still broken. UVs MUST be within a [0-1] bounds. This one isn't.
    1 point
  6. I don't have any other ideas, but I'm sure there's a better way. Hopefully somebody here knows. Waiting for a pull request to get approved only sounds the way to go if you're patient.
    1 point
  7. If you make a good use case for it, it’s pretty likely that your PR will be accepted. You could also make a wrapper for the ingame gui and override renderHUDText
    1 point
  8. Good luck ? overlayDebug is field_175198_t.
    1 point
  9. You could use ObfuscationReflectionHelper. All you need is to get your hands on the GuiIngameForge instance. I looked and it seems like they're setting a field called rayTraceBlock and rayTraceFluid. A grep in ~/.gradle/caches/forge_gradle reveals that the names of those fields are "field_211537_g" and "field_211538_h" respectively. An example of setting one of the fields: ObfuscationReflectionHelper.setPrivateValue(GuiIngameForge.class, guiIngameForge, entity.rayTrace(20.0D, 0.0F, RayTraceFluidMode.NEVER), "field_211537_g"); I'm not sure how you can get an instance of GuiIngameForge, but Minecraft.getInstance().ingameGUI gives you an instance of GuiIngame, which GuiIngameForge extends.
    1 point
  10. If you didn't make any changes to it then delete the config for CodeChickenLib, it should be called codechickenlib.cfg or something similar, the link in my previous post will tell you how to get to the .minecraft folder
    1 point
  11. 0 points
×
×
  • Create New...

Important Information

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