Jump to content

Wik3d Warrior

Members
  • Posts

    11
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Wik3d Warrior's Achievements

Tree Puncher

Tree Puncher (2/8)

-2

Reputation

  1. NVm i installed it wrong, so i reinstalled an everything is working, thanks anyway
  2. When i go to make the mod, everything is fine but now it keeps saying something is messed up with the pauls code, please help. HEres the code: http://pastebin.com/jHLT5Tpv
  3. Its in the middle and i followed some guys tutorial to the exact, i actually copied it and changed the names because he said you could do that but if you need it here it is: https://github.com/Helfull/MinecraftForge-Modding-Tutorial/tree/master/Creating%20a%20Block
  4. Ok so in Eclipse, ive made my first block and throughout the enitre mod there are no errors,however, when i go to run it this keeps popping up: java.lang.IllegalArgumentException: Illegal object for naming null at cpw.mods.fml.client.FMLClientHandler.getObjectName(FMLClientHandler.java:817) at cpw.mods.fml.common.FMLCommonHandler.addNameForObject(FMLCommonHandler.java:469) at net.minecraft.src.ModLoader.addName(ModLoader.java:142) at net.minecraft.src.ModLoader.addName(ModLoader.java:130) at net.minecraft.src.tutorial.mod_mymod.addNames(mod_mymod.java:33) at net.minecraft.src.tutorial.mod_mymod.load(mod_mymod.java:21) at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:356) at cpw.mods.fml.common.Loader.modInit(Loader.java:273) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:628) at cpw.mods.fml.client.FMLClientHandler.onLoadComplete(FMLClientHandler.java:223) at net.minecraft.client.Minecraft.startGame(Minecraft.java:429) at net.minecraft.client.Minecraft.run(Minecraft.java:738) at java.lang.Thread.run(Thread.java:680) Also heres both my codes if it helps: mod_mymod: package net.minecraft.src.tutorial; import net.minecraft.src.BaseMod; import net.minecraft.src.Block; import net.minecraft.src.ModLoader; public class mod_mymod extends BaseMod { public static Block blockRavireBlock; @Override public String getVersion() { return null; } @Override public void load() { this.registerBlocks(); this.addNames(); } private void registerBlocks() { ModLoader.registerBlock(blockRavireBlock); } private void addNames(){ ModLoader.addName(blockRavireBlock, "Ravire Block"); } } The actual Block class: package net.minecraft.src.tutorial; import net.minecraft.src.Block; import net.minecraft.src.Material; import net.minecraft.src.StepSound; import net.minecraft.src.forge.ITextureProvider; public class blockRavireBlock extends Block implements ITextureProvider { protected blockRavireBlock(int blockID, int textureID) { super(blockID, textureID, Material.wood); setHardness(3.1F); setResistance(0.3F); setLightValue(10); setStepSound(soundWoodFootstep); } @Override public String getTextureFile(){ return "Ravire.png"; } } Yup thats all of it.
  5. I did everything you di and made my own stuff and that didnt work, so i just copied everything you wrote into eclipse and then just edited names to my block names and it still didnt work. PLease Help, Im getting really frustrated because ive been all around the internet and this is the first legit one i saw but yea please help!!!!
  6. Hey, i tried your block tutorial and i did everything correctly but this pops up: java.lang.IllegalArgumentException: Illegal object for naming null at cpw.mods.fml.client.FMLClientHandler.getObjectName(FMLClientHandler.java:817) at cpw.mods.fml.common.FMLCommonHandler.addNameForObject(FMLCommonHandler.java:469) at net.minecraft.src.ModLoader.addName(ModLoader.java:142) at net.minecraft.src.ModLoader.addName(ModLoader.java:130) at net.minecraft.src.tutorial.mod_mymod.addNames(mod_mymod.java:28) at net.minecraft.src.tutorial.mod_mymod.load(mod_mymod.java:19) at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:356) at cpw.mods.fml.common.Loader.modInit(Loader.java:273) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:628) at cpw.mods.fml.client.FMLClientHandler.onLoadComplete(FMLClientHandler.java:223) at net.minecraft.client.Minecraft.startGame(Minecraft.java:429) at net.minecraft.client.Minecraft.run(Minecraft.java:738) at java.lang.Thread.run(Thread.java:680)
  7. Hey guys so after so many attempts to install forge source into the mcp I've just given up and need help. Im on mac and what i did was download the lates forge source (i think it has modloader pre-installed into forge now so i didnt install it, please correct me if im wrong) and i put the forge file in the MCP folder. Then when i open up terminal and put the directory folder as the mcp, i click on the forge and i see install.sh. After that i drag it into terminal and hit enter and this shows up: :mcp62 tychris98$ /Users/tychris98/Desktop/mcp62/forge/install.sh /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'install.py': [Errno 2] No such file or directory Tyler-Torress-MacBook-Pro:mcp62 tychris98$ Now i dont know why its referring to the install.py when i drag in the install.sh, but please help, i really want to start modding. Thank you for your time.
×
×
  • Create New...

Important Information

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