Posted December 18, 20222 yr I will to creat a shield for my mod but i don't know how to do it. Anyone have a tutorial? Please.
December 18, 20222 yr Look at the vanilla shield's code, create your own custom item class, register your item + the model (JSON), and you're done
December 18, 20222 yr Author Thank you, but I have a question, how to register your item ? Edited December 18, 20222 yr by DEVAN FOURNIER
January 7, 20232 yr Author I found how to register my item , the shield works, but it does not appear. my shield blocking my shield
January 7, 20232 yr do you have made yuor ModItemModelProperties.class to pass the values from the item to the json ? Edited January 7, 20232 yr by perromercenary00
January 7, 20232 yr Author no , how can i do ? I am new to modding . Edited January 8, 20232 yr by DEVAN FOURNIER
January 11, 20232 yr Author ok, i start again from the beginning: How to creat a shield ? and can you give me more details ? please. And thank you for the help so far. Edited January 11, 20232 yr by DEVAN FOURNIER
January 11, 20232 yr You are in the wrong place for this question. This is a support forum not a teaching forum. If you have specific questions, feel free to ask them. "I don't know how to do it" is not a specific question. If you are new to modding you should start with something simpler than a shield. Make yourself familiar with item models, rendering and animations first, then when you are more comfortable with basic modding, have a go at the shield. Some "light" reading for you. 🙂 https://forge.gemwire.uk/wiki/Item_Properties https://forge.gemwire.uk/wiki/BlockEntityWithoutLevelRenderer https://forge.gemwire.uk/wiki/Custom_Item_Animations You should make yourself familiar with everything on that wiki. At least to the point where you can lookup details when you need them. Edited January 11, 20232 yr by warjort Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
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.