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.

O3Bubbles09

Members
  • Joined

  • Last visited

  1. Hello, I just started to make a mod again after a LONG while. I was wondering how to go about making new armor in Minecraft 1.8. Any help would be nice. Thanks in advance!
  2. You know there is an easier way to do this right? package O3Bubbles09.testmod.armor; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.EnumArmorMaterial; import net.minecraft.item.ItemArmor; import net.minecraft.item.ItemStack; import net.minecraft.world.World; import net.minecraftforge.common.IArmorTextureProvider; public class ArmorFlyingArmor extends ItemArmor implements IArmorTextureProvider { public ArmorFlyingArmor(int par1, EnumArmorMaterial par2EnumArmorMaterial, int par3, int par4) { super(par1, par2EnumArmorMaterial, par3, par4); } public void onArmorTickUpdate(World world, EntityPlayer player, ItemStack itemStack) { if(!world.isRemote) { player.capabilities.allowFlying = true; } super.onArmorTickUpdate(world, player, itemStack); } public String getArmorTextureFile(ItemStack itemstack) { return null; } }
  3. In your "Multi tools" class there should be a blocksEffectiveAgainst in there you just have to put all the blocks you want it to work on... I suggest saving time by going to the ItemPickaxe class as well as ItemAxe, ItemSpade and what ever else you want. hope this helped
  4. I have no idea how to create a config file... I thought it was BlockID = config.getOrCreateBlockIdProperty("Block", DefaultID).getInt(); any help is appreciated.

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.