Posted April 2, 20223 yr I'm currently developing a very barebones Forge mod on 1.18.2. I'm trying to make my own ore and after I added a get icon (see *) function, it suddenly doesn't work. LOG: https://gist.github.com/TheCodingPlace/343fc4ce00a93d70408bc31aa67760a6 * package com.example.gfm.setup; import net.minecraft.world.item.CreativeModeTab; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.Items; import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent; public class ModSetup { public static final String TAB_NAME = "Generic Forge Mod"; public static final CreativeModeTab ITEM_GROUP = new CreativeModeTab(TAB_NAME) { @Override public ItemStack makeIcon() { return new ItemStack(Items.NETHERITE_INGOT); } }; public static void init(FMLCommonSetupEvent event) { } }
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.