Jump to content

Cadiboo

Members
  • Posts

    3624
  • Joined

  • Last visited

  • Days Won

    58

Everything posted by Cadiboo

  1. This is because most coremods don’t do stuff the reccomended way. Go shout at the devs of the offending coremods. Making coremods the right way isn’t that hard at all.
  2. What are the issues? here is an example of a working sub category https://github.com/Cadiboo/Example-Mod/blob/4ed728a75815285c6382420832a1b671142e60c4/src/main/java/io/github/cadiboo/examplemod/config/ModConfig.java
  3. This thread is 6 years old, don’t necro old threads, make a new one. Also don’t make coremods, if you don’t already know ASM and aren’t very familiar with both Forge and Minecrafts internals you will fail horribly and/or make a very, very bad mod
  4. Are you syncing the values to the client? By default capability data is not synchronised between the server and client.
  5. A bit of a stumbling block is that minecraft uses plural names (blocks) for resource folders in 1.12.2 and singular names (block) in 1.13, and many mods have already switched to the 1.13 format. I suspect that you are mixing formats and have “block” in your code, but “blocks” in your resources. However without your code it is impossible to tell, in future please post your code as a GitHub repository (the best was is to put a link to your repo in your signature)
  6. ^ this sets up the default matrix transforms that most tool (and sword) models use
  7. Report it to forge on GitHub, these beta releases exist so Modders can help find and fix bugs, they definitely do not exist to make mods on
  8. You should try gradle cleanCache and if that doesn’t work manually delete your master gradle cache at ~/gradle
  9. Everything should be UTF-8 or UTF-16 now, any other format is legacy and causes unnecessary problems
  10. You might want to join the Forge or MMD (MinecraftModDevelopment) Discords https://discord.mcmoddev.com/
  11. Latest commit was 6 hours ago, https://github.com/MinecraftForge/MinecraftForge/tree/1.13-pre
  12. Can you post updated logs please
  13. An example of this is inlining constants and another example could be to turn an array that gets looped over and ORed into a constant OR expression. If you want to look at what the obfuscator actually does, google ProGuard as diesieben mentioned
  14. I would say look at the TextFormatting class, specifically the toString method and see how they are applied
  15. There are different events, you probably want the load event or the decorate event (if it gets called before vanilla decoration)
  16. To clarify what diesieben said, the minecraft code Modders work with is decompiled from minecrafts obfuscated jar. It doesn’t resemble the actual source code of Minecraft that Mojang has
  17. I doubt it, AFAIK all pack.mcmeta deals with currently is .lang file naming Not by my computer so I can’t check the actual file, but copy/pasting what you put on the forums into json lint showed some invisible characters. Does using the default mcmod file fix the issue?
  18. Max damage can only be set once, when the item is initialised. Overriding has/getContainerItem might work, I forgot you have access to the ItemStack
  19. You appear to have some weird characters in your mcmod file (they might have been added by the forums), 3 ones after “description and 1 at the end of the file
  20. No, they own minecraftforge.net, and their packaging and maven grouping reflect that. If you don’t own a website using the group & package mod.whatever (usually mod.yourName.modId) is acceptable I use io.github.cadiboo.modid, but if I didn’t have a website I would use mod.cadiboo.modid
  21. Minecraft has never supported modding on java, it has become accepted over time though. Minecraft (java) makes no provision for mods in its code
  22. This is not how version ranges work (they aren’t an array), see https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html Does your mod info work in a built copy of the mod? Is the mcmod.info inside the /bin/ folder generated by eclipse? I highly doubt you own bored.com
  23. 1) I’m pretty sure you can’t 2) You need a custom IRecipe implementation that handles damages 3) This is for stuff like full/empty buckets, and won’t work on items with meta IIRC Edit: 3 might work actually if you override has and getContainerItem
  24. Edit: Sorry we don't support 1.9.4 or any version under 1.10 on this forum anymore due to its age. 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.
  25. Optifine HD_U_E3 is only compatible with forge #2795, make sure you have the right Optifine version for your Forge version
×
×
  • Create New...

Important Information

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