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.

coolboy4531

Members
  • Joined

  • Last visited

Everything posted by coolboy4531

  1. Why don't you remake your block. public static Block testBlock; @EventHandler public void preInit(FMLPreInitializationEvent event) { testBlock = new Block(//stuff).setUnlocalizedName("testBlock"); } ids? ...
  2. Wrong event bus. ItemCraftedEvent is an FML event, you need to use FMLCommonHandler. EDIT: Sigh. Diesieben replied already. lol
  3. Sorry, people need to have so time of their own I'm really not sure what to do. 1.7 has taken over my clear mind of 1.6.
  4. Not what I was pointing out, I was pointing where var4.getAIControlledByPlayer() its an AI.
  5. @SubscribeEvent - changed in 1.7 [ForgeGradle]
  6. I suppose you are using 1.6 am I correct?
  7. Where did you put your files? And do not call the people who are helping you nitpicks, or we won't help you at all. Oh yay, finally. (-1 Karma) from you of course. We are such assholes.
  8. "A"? Seriously? Are you trying to make the item be craftable wherever you want to place it in? Kind of like iron block to 9 ingots (i suppose that is what you are trying to do)? Yeah, you need to get more familiar to MinecraftForge methods / Minecraft methods If you are you need to change the method you are using to this. GameRegistry.addShapelessRecipe(new ItemStack(FreshPower.getItem("fp_ingotFreshSteel"), 9), new Object[] {FreshPower.getBlock("fp_storageFreshSteel")});
  9. *hours later* I actually found how a Pig gets controlled by the player. You don't look in EntityPig, you look at ItemCarrotOnAStick And. This... is what I found. public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) { if (par3EntityPlayer.isRiding() && par3EntityPlayer.ridingEntity instanceof EntityPig) { EntityPig var4 = (EntityPig)par3EntityPlayer.ridingEntity; if (var4.getAIControlledByPlayer().isControlledByPlayer() && par1ItemStack.getMaxDamage() - par1ItemStack.getItemDamage() >= 7) { var4.getAIControlledByPlayer().boostSpeed(); par1ItemStack.damageItem(7, par3EntityPlayer); if (par1ItemStack.stackSize == 0) { ItemStack var5 = new ItemStack(Item.fishingRod); var5.setTagCompound(par1ItemStack.stackTagCompound); return var5; } } } return par1ItemStack; }
  10. Dude, this is Minecraft modding... There are different paths in Minecraft... you are using ResourceLocation (not made by Oracle) You need to understand the how Minecraft loads its files. file:file = file/file file:/file = file//file
  11. What exactly is the problem, then?
  12. Not that I know of, no vanilla Minecraft items are different in size.
  13. I don't mean put "","","" as in the recipe. What do you want your recipe to be? For instance a diamond pickaxe is: "AAA" " B " " B " Where A is diamond, and B is sticks. The reason yours is putting an infinite amount of your items is because you put the recipe as blank. Show me your code, also please just in case it's actually not your fault lol
  14. Ah, you're right. I've heard of people have this problem. *looks in history* Yeah, I got it. Can you please show me your Entity class?
  15. Are you trying to create a shapeless recipe? GameRegistry.addRecipe(new ItemStack(FreshPower.getItem("fp_ingotFreshSteel"), 9), new Object[] {"A", 'A',FreshPower.getBlock("fp_storageFreshSteel")}); Should have three Strings, "", "", "", not just one.
  16. Remove the "/" Aka Change: private static final ResourceLocation texture = new ResourceLocation("basic", "/textures/blocks/block_blender.png"); private static final ResourceLocation texture = new ResourceLocation("basic", "textures/blocks/block_blender.png"); Error: 2014-02-10 18:13:47 [WARNING] [Minecraft-Client] Failed to load texture: basic:/textures/blocks/block_blender.png
  17. You'd need a custom Model and Render class. Try looking at OreSpawn's Big Bertha sword.
  18. No idea, I'll try and see what I can help you with. As of now, see if you can fix your own problem with tutorials? lol http://www.youtube.com/watch?v=VEtb1JOHSY8 EDIT: So what are you trying to do? Make the book of lore? - like text under the name?
  19. The same exact thing. Inside your lang file. entity.Guard.name=Guard
  20. imo, pretty hard to understand. pics pls for noobs like me.
  21. I didn't read it in-depth, but I saw something about EntityTNTPrimed instead of your custom one -- in your Render class.
  22. http://www.minecraftforum.net/topic/1853936-vikys-advanced-mob-tutorial-house-and-opendoors-tutorial-update152modloader-and-forge/
  23. Either you, or someone else has asked this before already... But either way, you could make the resistance of the block high enough so you can blow the whole terrain with TNT.
  24. Just please like I said, read the post and make sure it isn't your mistake before you post
  25. You didn't even register your unlocalized name. public static void init() { EspadaDeObsidiana = new ItemSword(ItemInfo.WAND_ID, EnumToolMaterial.EMERALD); } to public static void init() { EspadaDeObsidiana = new ItemSword(ItemInfo.WAND_ID, EnumToolMaterial.EMERALD).setUnlocalizedName("obsidiansword"); } Also getUnlocalizedName() is a void, and does not need parameter String. Change: getUnlocalizedName("swordObsidian").substring(5)); to getUnlocalizedName().substring(5)) It's right in front of you, read the other posts more in-depth before you go into conclusions.

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.