I tried the very first tutorial and it doesnt work. It gives me a "Done Loading" screen:
mod_GRAVEYARD.java
package net.minecraft.src;
public class mod_GRAVEYARD extends BaseMod
{
public static final Block GraveStone = new BlockGraveStone(170, 0).setHardness(2.0F).setResistance(2.5F).setStepSound(Block.soundStoneFootstep).setBlockName("GraveStone");
public mod_GRAVEYARD()
{
ModLoader.RegisterBlock(GraveStone);
ModLoader.AddName(GraveStone, "Grave Stone");
GraveStone.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/GraveYard/GraveStone.png");
}
public String Version()
{
return "Grave Yard Aethsetics Mod For 1.8.1 By JF46784";
}
}
BlockGraveStone.java
package net.minecraft.src;
import java.util.Random;
public class BlockGraveStone extends Block
{
public BlockGraveStone(int i, int j)
{
super(i, j, Material.rock);
}
public int idDropped(int i, Random random)
{
return blockID;
}
}
I have tried everything. the only mods i have installed are: Mine, Modloader and TMI
Have you already tried to delete your whole .minecraft folder and get a complete fresh new one, couse with me this sometimes happens when I still have leftovers from other mods in my .minecraft folder. I usualy fix it this way but make sure you keep your saves and other things you want to have and if you redownload it might be better to use force update.
Have you already tried to delete your whole .minecraft folder and get a complete fresh new one, couse with me this sometimes happens when I still have leftovers from other mods in my .minecraft folder. I usualy fix it this way but make sure you keep your saves and other things you want to have and if you redownload it might be better to use force update.
Didnt work, :sad.gif:
this is the hard part of modding. getting it to work.
Could you do a tutorial on how to install ShockahPI, I really want to make an alternate dimension but I keep getting errors after I attempt to install it.
Could you do a tutorial on how to install ShockahPI, I really want to make an alternate dimension but I keep getting errors after I attempt to install it.
That sounds great doing a tutorial for the dimension because that's what I'm planning to work on. Could you tell me where I put the src files from shockahpi in the MCP files? And just to be sure, you put the files in the bin folder into your jar, right?
That sounds great doing a tutorial for the dimension because that's what I'm planning to work on. Could you tell me where I put the src files from shockahpi in the MCP files? And just to be sure, you put the files in the bin folder into your jar, right?
yes but you also need fernflower.jar in you runtime/bin folder
yes but you also need fernflower.jar in you runtime/bin folder
Yeah I already have Fernflower but Idk where to put the files from shockahpi's "src" folder. I tried going through all the directories from the src in MCP but all that did was give me a bunch of errors.
Yeah I already have Fernflower but Idk where to put the files from shockahpi's "src" folder. I tried going through all the directories from the src in MCP but all that did was give me a bunch of errors.
as i said put it in your mcpdirectory/runtime/bin folder
Basically I want to smelt the Meteorite and get the MysteriousRock but in the coding it says MysteriousRock isn't a field. If I add it to Items.java then I get a conflict error with the mod_MysteriousRock because the Item Id's are the same. I don't think its right that in the Items.java the id would be 1999 and in the mod_MysteriousRock it would be 1998 so I figure I'm doing something wrong.
src\minecraft\net\minecraft\src\ContainerCooker.java:97: cannot find symbol
symbol : method func_28125_a(net.minecraft.src.ItemStack,int,int,boolean)
location: class net.minecraft.src.ContainerCooker
if(!func_28125_a(itemstack1, 3, 39, true))
^
src\minecraft\net\minecraft\src\ContainerCooker.java:104: cannot find symbol
symbol : method func_28125_a(net.minecraft.src.ItemStack,int,int,boolean)
location: class net.minecraft.src.ContainerCooker
if(!func_28125_a(itemstack1, 30, 39, false))
^
src\minecraft\net\minecraft\src\ContainerCooker.java:111: cannot find symbol
symbol : method func_28125_a(net.minecraft.src.ItemStack,int,int,boolean)
location: class net.minecraft.src.ContainerCooker
if(!func_28125_a(itemstack1, 3, 30, false))
^
src\minecraft\net\minecraft\src\ContainerCooker.java:116: cannot find symbol
symbol : method func_28125_a(net.minecraft.src.ItemStack,int,int,boolean)
location: class net.minecraft.src.ContainerCooker
if(!func_28125_a(itemstack1, 3, 39, false))
^
src\minecraft\net\minecraft\src\TileEntityCooker.java:83: cannot find symbol
symbol : method func_35864_a(net.minecraft.src.NBTTagCompound)
location: class net.minecraft.src.ItemStack
cookerItemStacks[byte0] = ItemStack.func_35864_a(nbttagcompound1);
^
5 errors
==================
> Done in 6.89 seconds
> Recompiling server...
!! Can not find server sources !!
Press any key to continue . . .
I solved this by replacing func_28125_a with mergeItemStack
and func_35864_a with loadItemStackFromNBT
I would venture a guess and say the MCP used to decompile the code this came from was not up to date.
What is more troubling is that the block stops existing when exiting and re-loading the game.
src\minecraft\net\minecraft\src\ContainerCooker.java:97: cannot find symbol
symbol : method func_28125_a(net.minecraft.src.ItemStack,int,int,boolean)
location: class net.minecraft.src.ContainerCooker
if(!func_28125_a(itemstack1, 3, 39, true))
^
src\minecraft\net\minecraft\src\ContainerCooker.java:104: cannot find symbol
symbol : method func_28125_a(net.minecraft.src.ItemStack,int,int,boolean)
location: class net.minecraft.src.ContainerCooker
if(!func_28125_a(itemstack1, 30, 39, false))
^
src\minecraft\net\minecraft\src\ContainerCooker.java:111: cannot find symbol
symbol : method func_28125_a(net.minecraft.src.ItemStack,int,int,boolean)
location: class net.minecraft.src.ContainerCooker
if(!func_28125_a(itemstack1, 3, 30, false))
^
src\minecraft\net\minecraft\src\ContainerCooker.java:116: cannot find symbol
symbol : method func_28125_a(net.minecraft.src.ItemStack,int,int,boolean)
location: class net.minecraft.src.ContainerCooker
if(!func_28125_a(itemstack1, 3, 39, false))
^
src\minecraft\net\minecraft\src\TileEntityCooker.java:83: cannot find symbol
symbol : method func_35864_a(net.minecraft.src.NBTTagCompound)
location: class net.minecraft.src.ItemStack
cookerItemStacks[byte0] = ItemStack.func_35864_a(nbttagcompound1);
^
5 errors
==================
> Done in 6.89 seconds
> Recompiling server...
!! Can not find server sources !!
Press any key to continue . . .
I solved this by replacing func_28125_a with mergeItemStack
and func_35864_a with loadItemStackFromNBT
I would venture a guess and say the MCP used to decompile the code this came from was not up to date.
What is more troubling is that the block stops existing when exiting and re-loading the game.
yeah ive had that error before i think it depends on the api's being used :tongue.gif:
Okay but what about the block not saving and disappearing when the world is unloaded? It also crashes if you shift click stuff out of the furnace.
[04:50] java.lang.RuntimeException: class net.minecraft.src.TileEntityCooker is
missing a mapping! This is a bug!
[04:50] at net.minecraft.src.TileEntity.writeToNBT(TileEntity.java:49)
[04:50] at net.minecraft.src.TileEntityCooker.writeToNBT(TileEntityCooker.java:9
4)
[04:50] at net.minecraft.src.ChunkLoader.storeChunkInCompound(ChunkLoader.java:1
76)
[04:50] at net.minecraft.src.McRegionChunkLoader.saveChunk(McRegionChunkLoader.j
ava:66)
[04:50] at net.minecraft.src.ChunkProvider.func_28062_b(ChunkProvider.java:132)
[04:50] at net.minecraft.src.ChunkProvider.saveChunks(ChunkProvider.java:168)
[04:50] at net.minecraft.src.World.saveWorld(World.java:295)
[04:50] at net.minecraft.src.World.tick(World.java:2036)
[04:50] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1162)
[04:50] at net.minecraft.client.Minecraft.run(Minecraft.java:483)
[04:50] at java.lang.Thread.run(Thread.java:662)
Have you already tried to delete your whole .minecraft folder and get a complete fresh new one, couse with me this sometimes happens when I still have leftovers from other mods in my .minecraft folder. I usualy fix it this way but make sure you keep your saves and other things you want to have and if you redownload it might be better to use force update.
Didnt work, :sad.gif:
this is the hard part of modding. getting it to work.
are you using mcp 4.4 and java 6
yes at some point ill make a dimension tut aswell
Thanks! They Helped Me Allot!
yes but you also need fernflower.jar in you runtime/bin folder
Yeah I already have Fernflower but Idk where to put the files from shockahpi's "src" folder. I tried going through all the directories from the src in MCP but all that did was give me a bunch of errors.
as i said put it in your mcpdirectory/runtime/bin folder
Could you look at my code for a second and help me though (Sorry for bothering you so much)
This is my:
mod_Meteorite.java
http://pastebin.com/NKr3mJYh
BlockMeteorite.java
http://pastebin.com/V2SFTCtX
mod_MysteriousRock
http://pastebin.com/WTCXmgQa
ItemMysteriousRock
http://pastebin.com/VF1j81Fe
Basically I want to smelt the Meteorite and get the MysteriousRock but in the coding it says MysteriousRock isn't a field. If I add it to Items.java then I get a conflict error with the mod_MysteriousRock because the Item Id's are the same. I don't think its right that in the Items.java the id would be 1999 and in the mod_MysteriousRock it would be 1998 so I figure I'm doing something wrong.
yes
> Recompiling client...
"C:\Program Files\Java\jdk1.6.0_27\bin\javac.exe" -g -source 1.6 -target 1.6 -cl
asspath "lib/;lib/*;jars/bin/minecraft.jar;jars/bin/jinput.jar;jars/bin/lwjgl.ja
r;jars/bin/lwjgl_util.jar" -sourcepath src/minecraft -d bin/minecraft src/minecr
aft\net\minecraft\client\*.java src/minecraft\net\minecraft\isom\*.java src/mine
craft\net\minecraft\src\*.java src/minecraft\net\minecraft\src\forge\*.java con
f/patches/*.java failed.
Return code : 1
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\ContainerCooker.java:97: cannot find symbol
symbol : method func_28125_a(net.minecraft.src.ItemStack,int,int,boolean)
location: class net.minecraft.src.ContainerCooker
if(!func_28125_a(itemstack1, 3, 39, true))
^
src\minecraft\net\minecraft\src\ContainerCooker.java:104: cannot find symbol
symbol : method func_28125_a(net.minecraft.src.ItemStack,int,int,boolean)
location: class net.minecraft.src.ContainerCooker
if(!func_28125_a(itemstack1, 30, 39, false))
^
src\minecraft\net\minecraft\src\ContainerCooker.java:111: cannot find symbol
symbol : method func_28125_a(net.minecraft.src.ItemStack,int,int,boolean)
location: class net.minecraft.src.ContainerCooker
if(!func_28125_a(itemstack1, 3, 30, false))
^
src\minecraft\net\minecraft\src\ContainerCooker.java:116: cannot find symbol
symbol : method func_28125_a(net.minecraft.src.ItemStack,int,int,boolean)
location: class net.minecraft.src.ContainerCooker
if(!func_28125_a(itemstack1, 3, 39, false))
^
src\minecraft\net\minecraft\src\TileEntityCooker.java:83: cannot find symbol
symbol : method func_35864_a(net.minecraft.src.NBTTagCompound)
location: class net.minecraft.src.ItemStack
cookerItemStacks[byte0] = ItemStack.func_35864_a(nbttagcompound1);
^
5 errors
==================
> Done in 6.89 seconds
> Recompiling server...
!! Can not find server sources !!
Press any key to continue . . .
I solved this by replacing func_28125_a with mergeItemStack
and func_35864_a with loadItemStackFromNBT
I would venture a guess and say the MCP used to decompile the code this came from was not up to date.
What is more troubling is that the block stops existing when exiting and re-loading the game.
yeah ive had that error before i think it depends on the api's being used :tongue.gif:
[04:50] java.lang.RuntimeException: class net.minecraft.src.TileEntityCooker is
missing a mapping! This is a bug!
[04:50] at net.minecraft.src.TileEntity.writeToNBT(TileEntity.java:49)
[04:50] at net.minecraft.src.TileEntityCooker.writeToNBT(TileEntityCooker.java:9
4)
[04:50] at net.minecraft.src.ChunkLoader.storeChunkInCompound(ChunkLoader.java:1
76)
[04:50] at net.minecraft.src.McRegionChunkLoader.saveChunk(McRegionChunkLoader.j
ava:66)
[04:50] at net.minecraft.src.ChunkProvider.func_28062_b(ChunkProvider.java:132)
[04:50] at net.minecraft.src.ChunkProvider.saveChunks(ChunkProvider.java:168)
[04:50] at net.minecraft.src.World.saveWorld(World.java:295)
[04:50] at net.minecraft.src.World.tick(World.java:2036)
[04:50] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1162)
[04:50] at net.minecraft.client.Minecraft.run(Minecraft.java:483)
[04:50] at java.lang.Thread.run(Thread.java:662)
awesome sorry i didnt help :tongue.gif: