Jump to content

Cadiboo

Members
  • Posts

    3624
  • Joined

  • Last visited

  • Days Won

    58

Everything posted by Cadiboo

  1. Have you considered adding an option to disable the speed cap?
  2. Try removing some coremods. Ones that deal with visual stuff should be a good place to start
  3. BlockBase is an anti-pattern, there is already a BlockBase class, it’s called Block. Don’t use IHasModel, all items need models. You can do all your item model registration automatically in 1 line. IHasModel forces you to write the exact same code over and over again. Package names should be singular Methods should start lowercase A CommonProxy doesn’t make sense. Proxies seperate code. If it’s common code it doesn’t belong in a proxy. Have you tried stepping through your code in a debugger? You seem to be overriding all the correct syncing methods. Where is your rendering code?
  4. Please post your entire debug log as described in my signature and the EAQ
  5. Please post your entire debug log as described in my signature and the EAQ
  6. Please post your entire log using GitHub Gist or PasteBin as described in my signature and the EAQ
  7. Also, use the event system, don’t use static initialisers, the CommonProxy thing, etc. Self-Promo-ish: If your looking for a tutorial, I think that my example mod will be perfect. You should at least read through the README. https://github.com/Cadiboo/Example-Mod
  8. Please post your code as a GitHub repository, I think your probably not syncing the data correctly.
  9. You can’t use setMaxDamage, that applies universally to the item & has to be set at creation time. Have you looked at how vanilla does it?
  10. OreDictionary itself was meant to resolve this stuff. 1.13 introduces the Tag System in vanilla, which is pretty much a JSON version of OreDictionary with a couple extra features, so with Forge planning on releasing a stable 1.13 release around New Years, I think it’s better just to wait
  11. These small loaders give Modders and players the ability to preview and get a feel for the new versions, but their purpose is definitely not to replace Forge. At this point Forge is pretty much a proper API. Also, Rift has legal problems; and Fabric is recreating all of the MCP mappings to avoid some of those legal problems. Both loaders are encouraging Modders to use coremods (mostly Mixins) to add features, a thing Forge discourages. This isn’t necessarily a bad thing, with Modders (hopefully) gaining more knowledge about how java works and what their code does. However, obviously coremods have a bit of a tendency to blow up unexpectedly (especially those created by people new to coremodding), so a large amount of coremods being created for 1.13+ isn’t great. Also neither modloader provides an event based API (one of the best features of Forge IMO) though Rift has expressed interest in providing one. I know that my mods will definitely “return” to forge within very short period of its official 1.13 release
  12. Modding. I haven’t played minecraft properly in at least 2 years
  13. Apparently Forge provides a way to hook the collision box list. So I just need hooks for the collision bounding box and the normal bounding box
  14. Weapons? Like items? JSON models are a lot more optimised than java models, overridable by resource packs and are a lot easier to modify & work on than java models. You know that JSON models support any size of cube, and rotations? They can also be bigger than 1 block. Heres a gun I made in about 5 minutes with blockbench
  15. I do my best to keep all my models in JSON so resource packs can change them, so I use BlockBench. I think it might have an option to export to java models if you really can’t use JSON though
  16. Is there any mod out there that provides hooks into all the bounding box related methods of blocks like the bounding box, the selected bounding box and the collision bounding box list? I want to be able to return location-aware bounding boxes from a lot of different blocks (which ones depends on user config that can be changed in-world and can include both vanilla and modded blocks). Edit: I’ll use the Forge hook for the selected bounding boxes
  17. Consider this Mod 1 caches a Block Mod 2 overrides it Mod 1 tried to use the cached value -> crash Properly syncing/referencing the value would solve the problem. I don’t think that Mod 2 is at fault in this scenario
  18. I meant calculate the position where you want the particle to be, then calculate the motion needed to get that particle there
  19. I very specifically didn’t say anything about @ObjectHolder, you can do your object syncing yourself if you want. I was thinking preventing something along the lines of trying to use a an old object that’s been overriden
  20. I think you should calculate where you want your point to be, then apply motion to your point to get it to that position
  21. Why not?
  22. As I told you before
  23. I think that some variation of FontRenderer#renderText accepts a position, otherwise you can just translate to the position you want, render the text and then translate back
  24. You can do it however you want, as long as you - instantiate your objects in the registry events - reference your objects in a way that allows overrides
  25. Could you explain a bit more what your trying to do? You can define a list of models and weights in your blockstate.json file https://minecraft.gamepedia.com/Model
×
×
  • Create New...

Important Information

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