Jump to content

Cadiboo

Members
  • Posts

    3624
  • Joined

  • Last visited

  • Days Won

    58

Everything posted by Cadiboo

  1. Please post your entire debug log as described in my signature and the EAQ
  2. You appear to have a number of problems including - Using incompatible Forge and OptiFine versions - Using versions of mods written for a different minecraft version The direct cause of this error appears to be a mod passing a null entity in a packet
  3. Yeah, my bad, you need DataFixers for TileEntities. Mojang has also recently open-sourced their datafixing library Mostly the harder to screw up
  4. Forge provides the MissingMappingsEvent, I think it also fires for tile entities. Don’t construct a ResourceLocation like that (domain+”:”+path), construct it with the overload that takes seperate parameters (domain, path)
  5. You could always edit the shaders
  6. Seems like pain IMO
  7. What would you test specifically? That it runs on 1.13? It’s on the Forge files page
  8. IInventory is legacy vanilla code, IItemHandler is forge’s intercompatible replacement
  9. In this (specific) case both need to be unique, which is what I meant
  10. ID -> slotIndex, pretty much the same thing tho
  11. You have an arbitrary number of slots, you were assigning: slot 0 to single slot slot 0 to container slot 0 slot 1 to container slot 1 slot 2 to container slot 2 ... slot 8 to container slot 8 now you are assigning slot 9 to single slot slot 0 to container slot 0 slot 1 to container slot 1 slot 2 to container slot 2 ... slot 8 to container slot 8 Previously you were assigning to slots to the same slot ID index, hence the duplicate slots
  12. You want a custom baked model implementation. TheGreyGhost has one in MineraftByExample at https://github.com/TheGreyGhost/MinecraftByExample, however the code is a bit outdated. You should read and
  13. That was the point, their using a boolean array called unused that is initialised to true, I would use a boolean array called used that is automatically initialised to false
  14. I assume you would want to change the UV somehow
  15. I would create it in a static initialiser or the model registry event in your client event subscriber
  16. Please post your log as well
  17. Please post the results using the —info and —stacktrace options. You can also run it with —refresh-dependencies and see if that fixes it
  18. You might want to look at ItemRenderer#renderOverlay (it might be called renderItemGlint, I’ve forgotten)
  19. That code... take a look at https://github.com/Cadiboo/Example-Mod/blob/4ed728a75815285c6382420832a1b671142e60c4/src/main/java/io/github/cadiboo/examplemod/EventSubscriber.java#L101-L122 for how to use the EntityEntryBuilder (which you need to use) and https://github.com/Cadiboo/Example-Mod/blob/4ed728a75815285c6382420832a1b671142e60c4/src/main/java/io/github/cadiboo/examplemod/client/ClientEventSubscriber.java#L68 for how to register an entity renderer. If you are familiar with the double colon method reference notation you can use it here (Entity____Renderer::new)
  20. You might want to consider using streams for readability
  21. The mod appears not to be working, you should contact the author. Optifine HD_U_E3 is only officially compatible with Forge #2795
  22. I think you should contact the author of CodeChickenCore. and aren't officially compatible
  23. You need to only have 1 version of a mod installed at any one time
  24. You need to post the rest of that log (in a spoiler - click the eye icon while posting - or using a service like GitHub Gist or PasteBin)
×
×
  • Create New...

Important Information

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