Jump to content

GenericDisplayName

Members
  • Posts

    1
  • Joined

  • Last visited

GenericDisplayName's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. 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) { } }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.