Posted June 6, 20196 yr Hello Modding Community, I'm relatively new to minecraft modding, and I'm sure I will have a lot of questions, so I open up this thread to bundle them. On creating a new item: I have a png now in my textures.item folder. How exactly do I use and register it now? Also, this is my project: https://github.com/LaRoso/DIYDiamonds I'm not entirely sure how to use GitHub, but I do, what I think is right
June 6, 20196 yr Are you asking how to create and register an Item, or how to add a model (and texture) to an item? Also, your modid won’t work, modids need to all lowercase. A Mod Id is a unique identifier for your mod. It must be between 8 and 64 characters and be made up of only lowercase alphanumeric letters (a-z and 0-9), dashes (-) and underscores (_). Edited June 6, 20196 yr by Cadiboo About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
June 6, 20196 yr Author 12 minutes ago, Cadiboo said: Are you asking how to create and register an Item, or how to add a model (and texture) to an item? former. 2 13 minutes ago, Cadiboo said: Also, your modid won’t work, modids need to all lowercase. Oh yes thanks, dunno how that could have happened
June 6, 20196 yr You can see a tutorial I have on this here (it isn’t quite finished yet). You’ll need to create a new item and register it in the RegistryEvent.Register<Item> event inside an event subscriber subscribed to the mod event bus. About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
June 7, 20196 yr Author 2 1 hour ago, Cadiboo said: Also, your modid won’t work, modids need to all lowercase. I think I fixed it everywhere. But when I try to run it, it says "Skipped language file: diyDiamonds:lang/en_us.json (net.minecraft.util.ResourceLocationException: Non [a-z0-9_.-] character in namespace of location: diyDiamonds:lang/en_us.json)" and "net.minecraft.util.ResourceLocationException: Non [a-z0-9_.-] character in namespace of location: diyDiamonds:sounds.json" I don't have a sounds.json nor a en_us.json Where does that come from, and how to fix it? crash-2019-06-07_03.10.44-client.txt
June 7, 20196 yr diyDiamonds contains a character that is not in the ranges a-z, 0-9, or _, or, - or .. That is, it contains a D which is not a d. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
June 7, 20196 yr 45 minutes ago, Draco18s said: or . Why tf are dots now allowed in modids About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
June 7, 20196 yr Author 8 hours ago, Draco18s said: diyDiamonds contains a character that is not in the ranges a-z, 0-9, or _, or, - or .. That is, it contains a D which is not a d. Yes, I did that, but it still says that. You can look at the GitHub. Maybe you find, what I missed EDIT: I just made a new project and copied the files there. It's working now, I guess Edited June 7, 20196 yr by LaRoso I "fixed" the problem
June 7, 20196 yr Let me guess, you’re using Eclipse? About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
June 7, 20196 yr Author Just now, Cadiboo said: Let me guess, you’re using Eclipse? Nope, IntelliJ I tried it with Eclipse first, but it worked even less.
June 7, 20196 yr 13 hours ago, Cadiboo said: Why tf are dots now allowed in modids Dunno. All I know is that is what that says. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
June 7, 20196 yr Author How do I get the texture onto my item? It's just an item used for crafting. EDIT: I'm not sure. I think I should go back to 1.12.2 and make things there. Edited June 7, 20196 yr by LaRoso
June 8, 20196 yr In 1.13.2 item models are registered for you, it’s dead simple. Just have a model json in your assets/<modid>/models/item/ folder About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.