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.

tomzzzxp6

Members
  • Joined

  • Last visited

  1. at least i will try it
  2. C:\Users\othmane\Desktop\modding\SwordCaster\src\SwordCaster\assets\SwordCaster\textures\items this is the place of my assets folder and the textures
  3. Hello evryone i am new to modding and there is an anoying problem, my texture doesnt load on the item i created can someone please help me My code: package net.SwordCaster.mod; import net.SwordCaster.mod.items.SCItems; import net.minecraft.item.Item; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.registry.GameRegistry; @Mod(modid = SwordCaster.modid, version = SwordCaster.version) public class SwordCaster { public static final String modid = "SwordCaster"; public static final String version = "Alpha v0.0.1"; public static Item itemColidiumIngot; @EventHandler public void PreInit(FMLPreInitializationEvent preEvent){ itemColidiumIngot = new SCItems().setUnlocalizedName("ColidiumIngot"); GameRegistry.registerItem(itemColidiumIngot, "ColidiumIngot"); } @EventHandler public void Init(FMLInitializationEvent event){ } @EventHandler public void PostInit(FMLPostInitializationEvent postEvent){ } } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ package net.SwordCaster.mod.items; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.SwordCaster.mod.SwordCaster; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.item.Item; public class SCItems extends Item { public SCItems() { this.setCreativeTab(getCreativeTab().tabMaterials); } @SideOnly(Side.CLIENT) public void registerIcons(IIconRegister iconRegister) { this.itemIcon = iconRegister.registerIcon(SwordCaster.modid + ":" + this.getUnlocalizedName().substring(5)); } }

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.