Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

snipernyc1

Members
  • Joined

  • Last visited

Everything posted by snipernyc1

  1. https://gyazo.com/a5dbe9c04f61a19c1938c1dd3c7ea36a this is a gyazo of the code part i think u wanted me to change and the directory ps im newb to coding manually it was easier back in 1.5 for me
  2. i have no idea why it is a GIANT purple and black checker box i have all this and my item comes up like this in game https://gyazo.com/5710482d07d54657ec58492bc99f0aca package snipernyc1.firsttime; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.SidedProxy; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import snipernyc1.firsttime.init.AquaItems; import snipernyc1.firsttime.proxy.CommonProxy; @Mod(modid = Reference.MOD_ID, name = Reference.MOD_NAME, version = Reference.VERSION) public class snipermod { @SidedProxy(clientSide = Reference.CLIENT_PROXY_CLASS, serverSide = Reference.SERVER_PROXY_CLASS) public static CommonProxy proxy; @EventHandler public void preInit(FMLPreInitializationEvent event) { AquaItems.init(); AquaItems.register(); } @EventHandler public void init(FMLInitializationEvent event) { proxy.registerRenders(); } @EventHandler public void postInit(FMLPostInitializationEvent event) { } } - main class package snipernyc1.firsttime.init; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.item.Item; import net.minecraftforge.fml.common.registry.GameRegistry; import snipernyc1.firsttime.Reference; public class AquaItems { public static Item aqua_ingot; public static void init(){ aqua_ingot = new Item().setUnlocalizedName("aqua_ingot"); } public static void register(){ GameRegistry.registerItem(aqua_ingot, aqua_ingot.getUnlocalizedName().substring(5)); } public static void registerRenders(){ registerRender(aqua_ingot); } public static void registerRender(Item item){ Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Reference.MOD_ID + ":" + item.getUnlocalizedName().substring(5),"Inventory")); } } - items class package snipernyc1.firsttime.init; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.item.Item; import net.minecraftforge.fml.common.registry.GameRegistry; import snipernyc1.firsttime.Reference; public class AquaItems { public static Item aqua_ingot; public static void init(){ aqua_ingot = new Item().setUnlocalizedName("aqua_ingot"); } public static void register(){ GameRegistry.registerItem(aqua_ingot, aqua_ingot.getUnlocalizedName().substring(5)); } public static void registerRenders(){ registerRender(aqua_ingot); } public static void registerRender(Item item){ Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Reference.MOD_ID + ":" + item.getUnlocalizedName().substring(5),"Inventory")); } } - the basic rendering thing
  3. https://gyazo.com/2bb6fa1649bd2a59dd597ef6650c375d it shows me this whne i open eclipse after setting up my eclipse from this https://gyazo.com/2dedf41182221bf759935ad0dc702791 i set the directory to my folder which is C:\Users\user-pc\Desktop\Minecraft Mod\eclipse any help?

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.