Posted February 9, 20205 yr Hello, im trying to figure out how to create my own custom horse armor for my mod. I made the item and checked thehorseArmorItem class and copied exactly and it shows up in game but I can't put it on a tamed horse. How can I fix this? Thanks
February 9, 20205 yr Author Nevermind I fixed it. You have to reference/register the item using the "HorseArmorItem.class" thats given to you. You cannot use your own custom class. (only thing is now im going to run into problems with getting the textures to work.) public boolean isArmor(ItemStack stack) { return stack.getItem() instanceof HorseArmorItem; } If you override that I believe you can fix it so you can make your own class..
February 9, 20205 yr You could also just extend HorseArmorItem 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)
February 10, 20205 yr Author 3 hours ago, Cadiboo said: You could also just extend HorseArmorItem Oh hey that works, thanks you!!
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.