Posted November 10, 20177 yr public class ItemUberTool extends Item implements IHasModel{ public ItemUberTool(String name) { setUnlocalizedName(name); setRegistryName(name); setMaxStackSize(1); setCreativeTab(Main.UBERMINER); ItemInit.ITEMS.add(this); } @Override public void registerModels() { Main.proxy.registerItemRenderer(this, 0, "inventory"); } } I'm using setMaxStackSize(1); but it's not working, it can get a full stack of this item. Edited November 10, 20177 yr by Harystolho [1.12]
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.