Posted August 18, 20196 yr Hello, everybody. I'm making a lot of tools for my mod and these tools includes 50 different types of axe. But all of my axe have the same attack damage. package com.H_SerhatY.mstm.objects.tools; import com.H_SerhatY.mstm.Main; import com.H_SerhatY.mstm.init.ItemInit; import com.H_SerhatY.mstm.util.IHasModel; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.ItemAxe; import net.minecraft.item.Item.ToolMaterial; public class ToolAxe extends ItemAxe implements IHasModel { public ToolAxe(String name, ToolMaterial material) { super(material, 6.0F, -3.2F); setUnlocalizedName(name); setRegistryName(name); setCreativeTab(CreativeTabs.TOOLS); ItemInit.ITEMS.add(this); } @Override public void registerModels() { Main.proxy.RegisterItemRenderer(this, 0, "inventory"); } } I have this code for my axe. What should I do? (I don't have any coding experience, only I follow the tutorials in YouTube. Therefore, please specify in a way that I can understand.) My Mods: More Strenghtened Tools Mod: https://www.curseforge.com/minecraft/mc-mods/mstm
August 18, 20196 yr 3 hours ago, H_SerhatY said: super(material, 6.0F, -3.2F); Huh, I wonder what these numbers do. 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.
August 18, 20196 yr 5 hours ago, H_SerhatY said: I don't have any coding experience, only I follow the tutorials in YouTube. Therefore, please specify in a way that I can understand. First you'll probably want to get some experience in coding. Making a mod is not that easy. Second don't use IHasModel sure it works, and it was in the tutorial, but all Items have models. Why would you need an interface that says I have a model. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
August 19, 20196 yr Author I'm solved the problem, I'm deleted everything. Because this forum is not for people like me. My Mods: More Strenghtened Tools Mod: https://www.curseforge.com/minecraft/mc-mods/mstm
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.