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.

hamsterns

Members
  • Joined

  • Last visited

  1. EntityLivingBase doesnt have that syntax :'(
  2. Thanks! But what's the syntax for giving the EntityLivingBase an item?
  3. WARING: This is a swedish noob who wrote this post! Sup! I'm doing an axe that should give the player an item and the block i digged, when i dig wood. But the thing is... I don't know any event or any syntax that gives the player a block AND an item. I've come this far [embed=425,349]package com.kbg.basic; import net.minecraft.block.Block; import net.minecraft.entity.EntityLivingBase; import net.minecraft.item.Item.ToolMaterial; import net.minecraft.item.ItemAxe; import net.minecraft.item.ItemStack; import net.minecraft.world.World; public class MagicAxe extends ItemAxe { public MagicAxe(ToolMaterial p_i45327_1_) { super(p_i45327_1_); } } [/embed] Thanks in advance! I hope google translate worked good this time!
  4. Or is it just the 1.7.2 Forge thing that's buggy?!
  5. Or is it just the 1.7.2 Forge thing that's buggy?!
  6. Non sarcasm initialized... 1) Do you do anything different when it does not load. 2) Post your updated code and eclipse texture structure 3) In future, when you say "THIS DOESTN OWKR HLP ME" give us code and things to help us 'Help' you... 1) Not what i know. But i think i do something when it does work 2)http://pastebin.com/DtMFA3tp I deleted everything and started again!
  7. Oh i fixed so it worked but the texture only loads sometimes. It is something i can do to fix that?
  8. What I'm gonna do?
  9. http://postimg.org/image/69nqfbksd/
  10. http://postimg.org/image/wrjf393wb/ Changed! But still doesnt work D:
  11. Nope! I changed the modid to basic! Same error ;(
  12. "Could not load texture, using fallback" is an error. It shows up when it can't find the indicated texture. Post that. LanguageRegistry.addName(lightBlock, "Light Block"); Do not use the language registry. http://www.minecraftforge.net/forum/index.php/topic,16277.msg82670.html#msg82670 package com.mod.Mod; GAH! Please use intelligent package names >..< public static final Block lightBlock = new LightBlock(2900,Material.ground).setCreativeTab(CreativeTabs.tabBlock).setResistance(4f).setHardness(4f).setBlockName("test").setLightLevel(0.8f); AHHH! So many problems with this. 1) Don't use static IDs like that, use a config file 2) Don't define your blocks outside of a function like that, do it in your preInit function. That way you can get access to the config file. 3) Move all those setXXX() functions inside your block class. Yes, I know vanilla did it this way, but vanilla doesn't have to deal with: 1) Config files. It's blocks are vanilla and will never have ID conflicts 2) Can define its blocks whenever the hell it wants to (on 3, it's just cleaner) Pirple Are you intentionally misspelling this word? public static final String MODID = "examplemod"; Please use the same asset folder directory name as your mod ID. This makes things clean and tidy. Last thing: Screenshot of the directory to your texture files. HERE IS A SCREENSHOT http://www.mediafire.com/view/myfiles/#ph1xzw5ms4nsrwz
  13. 1) I know 2)I know that too 3)Yes! 4)I'm not getting any errors(what i see) 5)http://pastebin.com/ZVBi5Wgh (I know it's a lot of crap in there )
  14. I'm learning the basics of modding and when I tried to add textures to Items the texture is only that "No-Texture" texture. I've watched a tutorial on how to add texture to items but the tutorial is for 1.6.2 and I'm programming in the 1.7.2 Recommended version. Please check if I'm doing right! My textures is in: src/main/assets/mainclass/textures The code is here! http://pastebin.com/72ECPf0L PLEASE HELP!!!!!!!!!
  15. I just downloaded Minecraft Forge 1.7.2 latest version. After i downloaded all the gradlew.bat things and started eclipse everything is ok. But it says in the "error field" Description Resource Path Location Type Project 'Minecraft' is missing required library: 'C:\Users\Modding\Desktop\Modding\unresolved dependency - org.apache.commons commons-lang3 3.1' Minecraft Build path Build Path Problem I've tried all kinds of tutorials but this always happends!

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.