Jump to content

Cadiboo

Members
  • Posts

    3624
  • Joined

  • Last visited

  • Days Won

    58

Everything posted by Cadiboo

  1. Why not use the official launcher? Mojang specifically requests that all launching authentication goes through their launcher and that people not make othe launchers
  2. Did you follow the stacktrace back up and look at all the variables related to mob spawning frequency? (I’m thinking something like light & spawn chance)
  3. Could you be more specific about what your trying to do? You can easily just register a custom model resource location pointing to a blockstate and variant. ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation( new ResourceLocation(MODID, blockstateLocation), blockstateVariant));
  4. Did your code get executed the way you expected it to?
  5. I want to exclude my debug package and my class that helps me write my mod (JSONs, lang, recipes etc.) from my releases. I think that I can do this in my build.gradle file through use of “exclude”, however I haven’t been able to get it to work for excluding my entire debug package/folder. (I’ve forgotten if I managed to remove the mod writing class - it’s in a different project - I’ll go check that soon). Heres my build.gradle file that isn’t excluding my debug package. https://github.com/Cadiboo/RenderChunkRebuildChunkHooks/blob/master/build.gradle I’m testing this by putting my compiled mod into the mods folder of another project (that depends on it) and running it and seeing my 3 test mods still there. I just realised that because I’m running it from a project that depends on it, the test mods are probably being added regardless of what’s in the compiler jar. I’ll compile both projects and test the results.
  6. Thanks for making a new thread! I don’t have that much experience with gradle, but I believe that META-INF is part of your compiled mod. I think that currently it is only used for access-transformers and core-mods, but I believe that the entire mod metadata (currently in mcmod.info) is going to be moved into it.
  7. You should delete any “base” classes
  8. Make a new topic Definitely make a new topic
  9. Is your code getting executed in this situation and it’s only the event not getting fired?
  10. Try stepping through execution with the debugger and/or making your own EventSubscriber to see if the event is fired
  11. Are you sure it’s the same MouseEvent?
  12. You should probably look at where mouse event is normally called and replicate that functionality (It might be a cancellable event)
  13. Download the mods with twitch then launch the game with the normal launcher?
  14. The $1 actually didn't work, I'm using d7's method
  15. That’s what I thought, thanks!
  16. Sorry we don't support 1.7.10 (or any version below 1.9) on this forum anymore due to its age (4+ years old). We simply don't know how to help you anymore. You can go to the Minecraft Forum where I think that they still still support older versions, or update to a modern version of Minecraft (the latest version or the one before it) to receive support on this forum.
  17. I know that I can override an object (from vanilla/another mod) in the registry with another object (from my mod, that I control) and NOOP any functionality of the object, but is there an easier way of removing object from the registry? I’ve tried replacing the object with Air, but that crashed (I spent about 3 mins trying to do it - I could have done something wrong and it was a while ago - I don’t have the crash report). I’m looking to actually remove the object, not just NOOP it.
  18. Can you explain in more detail what your trying to do?
  19. NBT - Notated Binary Tags JSON - JavaScript Object Notation They’re both ways of turning Objects into Strings for transport/saving. You asked how to send an object over the network?
  20. My point was in the actual code, every other method in the class is public
  21. Post your logs and your code
  22. By several folder I assume you mean seperate folder? What do you mean extracting it into a folder with your project? You can import the project into your workspace, but you can’t move the files/folders around, you need to work on the project in the folder that you used gradlew in
  23. Thanks for the help! The $1 from @V0idWa1k3r is what I’m using (I believe that subclasses should make the method public any way, I don’t see why it’s protected in the first place). For some reason I’m not able to get the new code into my dev workspace though (I’m just running setupDecompWorkspace, should I be doing something different?). Thanks so much! I’ll be using this in my other mods.
  24. Please post your final code and mark the topic as solved to help people in the future
×
×
  • Create New...

Important Information

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