Jump to content

MrBendelScrolls

Members
  • Posts

    115
  • Joined

  • Last visited

Everything posted by MrBendelScrolls

  1. Model registration messed up. It COULD be codechickenlib's fault with parsing JSON, but I personally can't identify exactly. Remove those (and mods they're required for) one-by-one:
  2. ./logs/fml-client-latest.log . means minecraft directory -%APPDATA%/.minecraft by default or whatever you specified in the launcher. Please post log using pastebin or gist. We don't need crash reports. Don't mislead people.
  3. Post the FML log (./logs/fml-client-latest.log). Please do it using pastebin or gist. No one wants to download random files from the internet.
  4. According to github issues section, it may be a conflict with BetterBuildersWands or some other unknown mods.
  5. That's that weird Minechem problem. Try to generate the world without it, and then add it back. This worked for me many times.
  6. Doesn't make sense. Post the FML log using gist before your thread gets locked for using ancient version.
  7. You don't need to unzip jar file. Just move it to the mods folder.
  8. This is the Modder Support forum, please don't spam and don't suggest stuff you know nothing about.
  9. What is your screen resolution? Also, have you tried switching to actual fullscreen mode?
  10. Sadly, all the YT tutorials are messy outdated crap. Try to google for some text ones, but make sure that creators know what they're doing. As for an example, you can look at how my new mod does it. I'm not pretending that it's the 'right' or 'good' way, but by far the most readable that I've seen.
  11. I'll try to make something. Since that plugin isn't open-source, I'll have to reinvent everything myself. EDIT: Appears that it is open-source. However, I just can't read this. And it's licensed with Apache.
  12. God what's wrong with you people? Stop monkeycoding. setUnlocalizedName(this.getRegistryName()) Of course you need to move it to a class constructor or smthing, but who the hell would do in-line initialization for every item?
  13. GameRegistry.register(quicksoil_bottle); private static void registerRender(Item item) { Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory")); } Oh for god's sake.
  14. This is a good example of using registry events. One note: client-side ModelLoader can crash a server and shouldn't be used in common code. Solve it your way, just a call to proxy is ok. My fault, sorry. I gave you invalid code, there must be description field. { "pack": { "description": "Mod's resources", "pack_format": 3 } }
  15. Found your problem. You're assigning "ItemVapeStick" as a registry name. Everything related to resources must be lowercase. In order for models to function properly in IDE, you might need to have pack format set to 3. Create pack.mcmeta file in resources directory with the following content: { "pack": { "description": "Mod's resources", "pack_format": 3 } } By the way, what the pokemon is VapeItems enum in Reference.java? I kinda understand what it's for, but it only makes code hard to read and confuses everyone.
  16. Please don't mislead people providing information you understand nothing about.
  17. Items and other IForgeRegistryEntry implementations must be registered in RegistryEvent.Register<> event. Models must be registered with ModelLoader in ModelRegistryEvent event client-side. Documentation on events here. Documentation on 'registering things' here. A proper way to register a model of an item is ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory")); Please share this message to similar threads so people don't waste their time writing it over and over again.
  18. Your modid field has nothing to do with forge. You're just passing its value to @Mod annotation, and that's it. It's just a string to store it, so you don't have to write your modid manually to every thing which needs it. And please, don't name your fields how you want to, follow the convention. There's already a lot of unnecessary whitespaces in your code.
  19. No. No it's not. MrCrayfish's tutorials are good, but OUTDATED. Now I see why so many people comes on this forum with the exact same problems and blindly ask for help not understanding a single thing about modding.
×
×
  • Create New...

Important Information

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