-
Posts
115 -
Joined
-
Last visited
Everything posted by MrBendelScrolls
-
Custom Advancement Tab doesn't have a background.
MrBendelScrolls replied to drok0920's topic in Modder Support
Post your code. -
./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.
-
You don't need to unzip jar file. Just move it to the mods folder.
-
This is the Modder Support forum, please don't spam and don't suggest stuff you know nothing about.
-
What is your screen resolution? Also, have you tried switching to actual fullscreen mode?
-
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.
-
Is There A 1.12 Mod for /powertool <any command>
MrBendelScrolls replied to The_Shadower011's topic in General Discussion
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. -
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?
-
[1.10.2] Model Item loose textures when picked up
MrBendelScrolls replied to Dustpuppy's topic in Modder Support
Post your code. Don't forget to use tags or gist. -
Show your code and post the FML log.
-
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.
-
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 } }
-
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.
-
Please don't mislead people providing information you understand nothing about.
-
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.
-
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.
-
\/
-
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.