Jump to content

hamsterns

Members
  • Posts

    17
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

hamsterns's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Thanks! But what's the syntax for giving the EntityLivingBase an item?
  2. 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!
  3. Or is it just the 1.7.2 Forge thing that's buggy?!
  4. Or is it just the 1.7.2 Forge thing that's buggy?!
  5. 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!
  6. Oh i fixed so it worked but the texture only loads sometimes. It is something i can do to fix that?
  7. http://postimg.org/image/69nqfbksd/
  8. http://postimg.org/image/wrjf393wb/ Changed! But still doesnt work D:
  9. Nope! I changed the modid to basic! Same error ;(
  10. "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
  11. 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 )
  12. 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!!!!!!!!!
  13. 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!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.