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.

larson377

Members
  • Joined

  • Last visited

  1. tried putting oddblocks in all lowercase, didnt work. this is kinda getting depressing :'(
  2. i did exactly as you said, i double checked my modID is OddBlocks, put it in the correct folder as you stated, but it still doesnt work. any ideas on why that is? heres my new item class: package com.larson377.OddBlocks.Items; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; public class CopperCoin extends Item { public CopperCoin(int i) { this.setUnlocalizedName("Copper Coin"); this.setTextureName("OddBlocks" + ":" + "123"); this.setCreativeTab(CreativeTabs.tabMisc); } } and yes, my coin is actually called 123.png.
  3. so id like to begin by saying im a complete noob at coding in java, so the most literal explanation would be the most helpful thing for me. here's the link to the youtube series im watching to help me make a basic item here's my entire item class: package com.larson377.OddBlocks.Items; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; public class CopperCoin extends Item { public CopperCoin(int i) { this.setUnlocalizedName("Copper Coin"); this.setTextureName("OddBlocks:123"); this.setCreativeTab(CreativeTabs.tabMisc); } } and here's my main java class: package com.larson377.OddBlocks; import net.minecraft.item.Item; import com.larson377.OddBlocks.Items.CopperCoin; import com.larson377.OddBlocks.lib.ProxyCommon; import com.larson377.OddBlocks.lib.References; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; @Mod(modid = References.MODID, version = References.VERSION) public class OddBlocks { @SidedProxy(clientSide = References.Client, serverSide = References.Common) public static ProxyCommon proxy; //Items public static Item CopperCoin = new CopperCoin(4999); @EventHandler public void init(FMLInitializationEvent event) { } @EventHandler public void load(FMLInitializationEvent event) { proxy.registerRenderInformation(); } public OddBlocks () { //Item Registry GameRegistry.registerItem(CopperCoin, "Copper Coin"); LanguageRegistry.addName(CopperCoin, "Copper Coin"); } } my end goal here is to get the darn coin textured. 123 is the basic name i gave my png file, its 16x16 pixels.

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.