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.

cartoonfamily

Members
  • Joined

  • Last visited

  1. I want edit IDs Item and Block In Configuration file How to
  2. change steve Model OBJ How-to ?
  3. Doctor, help, pain, hurts. Fix it! (Hint: tell us your problems...) ItemStack stack = par5EntityPlayer.inventory.getCurrentItem(); if (stack != null && stack.getItem() == Item.appleGold) { Random t = new Random(); int random = t.nextInt(10); switch (random) { case 0: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.appleGold)); this.useItem(par5EntityPlayer, stack); break; case 1: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.appleRed)); this.useItem(par5EntityPlayer, stack); break; case 3: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.arrow)); this.useItem(par5EntityPlayer, stack); break; case 4: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.axeWood)); this.useItem(par5EntityPlayer, stack); break; case 5: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.bed)); this.useItem(par5EntityPlayer, stack); break; case 6: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.bakedPotato)); this.useItem(par5EntityPlayer, stack); break; case 7: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.axeStone)); this.useItem(par5EntityPlayer, stack); break; case 8: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.blazeRod)); this.useItem(par5EntityPlayer, stack); break; case 9: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.helmetLeather)); this.useItem(par5EntityPlayer, stack); break; case 10: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.swordDiamond)); this.useItem(par5EntityPlayer, stack); break; default: break; } I want Updata Mod 1.7.x
  4. Good for you. Helpme! I want Updata
  5. [embed=425,349]BlockPMC_Main @Mod(modid = "BlockMc",name = "BlockMc",version = "xxx") public class BlockPMC_Main { @SidedProxy (clientSide = "BlockMc.client",serverSide = "BlockMc.server") public static server proxy; public static Block RandomBlock; @EventHandler public void load (FMLInitializationEvent e){ RandomBlock = new BlockPMC(2043,Material.rock).setCreativeTab(CreativeTabs.tabBlock); GameRegistry.registerBlock(RandomBlock, "RandomBlock"); LanguageRegistry.addName(RandomBlock, "RandomBlaok"); } }[/embed] ________________________________________________________________________________________________________ [embed=425,349]public BlockPMC(int par1, Material par2Material) { super(par2Material); } private void useItem(EntityPlayer par1, ItemStack itemstack) { if (!par1.capabilities.isCreativeMode) { --itemstack.stackSize; if (itemstack.stackSize <= 0) { par1.inventory.setInventorySlotContents( par1.inventory.currentItem, (ItemStack) null); } } } @Override public boolean onBlockActivated(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9) { Minecraft mc = FMLClientHandler.instance().getClient();; ItemStack stack = par5EntityPlayer.inventory.getCurrentItem(); if (stack != null && stack.getItem() == Item.appleGold) { Random t = new Random(); int random = t.nextInt(10); switch (random) { case 0: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.appleGold)); this.useItem(par5EntityPlayer, stack); break; case 1: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.appleRed)); this.useItem(par5EntityPlayer, stack); break; case 3: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.arrow)); this.useItem(par5EntityPlayer, stack); break; case 4: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.axeWood)); this.useItem(par5EntityPlayer, stack); break; case 5: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.bed)); this.useItem(par5EntityPlayer, stack); break; case 6: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.bakedPotato)); this.useItem(par5EntityPlayer, stack); break; case 7: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.axeStone)); this.useItem(par5EntityPlayer, stack); break; case 8: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.blazeRod)); this.useItem(par5EntityPlayer, stack); break; case 9: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.helmetLeather)); this.useItem(par5EntityPlayer, stack); break; case 10: par5EntityPlayer.inventory .addItemStackToInventory(new ItemStack(Item.swordDiamond)); this.useItem(par5EntityPlayer, stack); break; default: break; } }else{ mc.thePlayer.sendChatMessage("I like stone "); } return false; } }[/embed]
  6. @SideOnly(Side.CLIENT) ModelBiped armorModel = new ModelBiped(); public ModelBiped getArmorModel(EntityLivingBase entityLiving, ItemStack itemStack, int armorSlot) { if(itemStack != null){ if(itemStack.getItem() instanceof MyCraftWing1){ int type = ((ItemArmor)itemStack.getItem()).armorType; if(type == 1 || type == 1){ armorModel = getArmorModel(1); }else{ armorModel = getArmorModel(1); } } if(armorModel != null){ armorModel.bipedHead.showModel = armorSlot == 1; armorModel.bipedHeadwear.showModel = armorSlot == 1; armorModel.bipedBody.showModel = armorSlot == 1; armorModel.bipedRightArm.showModel = armorSlot == 1; armorModel.bipedLeftArm.showModel = armorSlot == 1; armorModel.bipedRightLeg.showModel = armorSlot == 1; armorModel.bipedLeftLeg.showModel = armorSlot == 1; armorModel.isSneak = entityLiving.isSneaking(); armorModel.isRiding = entityLiving.isRiding(); armorModel.isChild = entityLiving.isChild(); armorModel.heldItemRight = entityLiving.getCurrentItemOrArmor(0) != null ? 1 :0; return armorModel; } } return null; } }
  7. sword right Click error help me http://image.ohozaa.com/i/7a4/1HG6zv.png
  8. [16:30:51] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [16:30:51] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [16:30:51] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [16:30:51] [main/INFO] [FML]: Forge Mod Loader version 7.2.211.1121 for Minecraft 1.7.2 loading [16:30:51] [main/INFO] [FML]: Java is Java HotSpot Client VM, version 1.8.0_20, running on Windows 7:x86:6.1, installed at C:\Program Files\Java\jre1.8.0_20 [16:30:51] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [16:30:51] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [16:30:51] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [16:30:51] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [16:30:51] [main/ERROR] [LaunchWrapper]: Unable to launch java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(Unknown Source) ~[?:1.8.0_20] at java.util.ArrayList$Itr.remove(Unknown Source) ~[?:1.8.0_20] at net.minecraft.launchwrapper.Launch.launch(Launch.java:117) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] Java HotSpot Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
  9. I Test Mod in Eclipse Texturepack Ok and exporting our mod 1.7.2 Code :http://pastebin.com/HdYmLGb3
  10. I Create Mod I want protection copy mod of others I want Mod I Only
  11. HelpMe protection Mod 1.7.2

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.