# Warning: unknown method a (Lafh;Ljava/util/List;Ljava/util/Random;IIIII)Lyv; i
n net/minecraft/src/WorldGenerator
# Method ig/a null from name maker
# Warning: unknown method a ()[Lafh; in net/minecraft/src/WorldGenerator
# Method ig/a null from name maker
# Warning: unknown method b ()[Lafh; in net/minecraft/src/WorldGenerator
# Method ig/b null from name maker
# Warning: unknown field b in net/minecraft/src/WorldGenerator
# Field ig/b null from name maker
# Field ig/a renamed to field_41061_a from ScriptMap
# Warning: unknown method d ()V in net/minecraft/src/ItemTool
# Method ads/d null from name maker
# Warning: unknown method a ()V in net/minecraft/src/ItemTool
# Method ads/a null from name maker
# Warning: unknown method a (I)V in net/minecraft/src/ItemTool
# Method ads/a null from name maker
# Warning: unknown method b ()V in net/minecraft/src/ItemTool
# Method ads/b null from name maker
# Warning: unknown method c ()Z in net/minecraft/src/ItemTool
# Method ads/c null from name maker
# Warning: unknown method a (IZ)V in net/minecraft/src/ItemTool
# Method ads/a null from name maker
# Warning: unknown field f in net/minecraft/src/ItemTool
# Field ads/f null from name maker
# Warning: unknown field d in net/minecraft/src/ItemTool
# Field ads/d null from name maker
# Warning: unknown field e in net/minecraft/src/ItemTool
# Field ads/e null from name maker
# Field ads/b renamed to field_20927_a from ScriptMap
# Warning: unknown field c in net/minecraft/src/ItemTool
# Field ads/c null from name maker
# Field ads/a renamed to field_324_aY from ScriptMap
# Warning: unknown method a ()V in net/minecraft/src/BlockDragonEgg
# Method aci/a null from name maker
# Warning: unknown method b ()V in net/minecraft/src/BlockDragonEgg
# Method aci/b null from name maker
# Warning: unknown field b in net/minecraft/src/BlockDragonEgg
# Field aci/b null from name maker
# Warning: unknown field a in net/minecraft/src/BlockDragonEgg
# Field aci/a null from name maker
# Warning: unknown method a (Lcm;Lcm;)I in net/minecraft/src/EnchantmentProtecti
on
# Method ii/a null from name maker
# Method ii/compare unchanged from super class
# Field ii/a renamed to field_40521_v from ScriptMap
# Warning: unknown method a (Lfk;)V in net/minecraft/src/ItemSaddle
# Method acg/a null from name maker
# Warning: unknown field b in net/minecraft/src/RenderGhast
# Field im/b null from name maker
# Warning: unknown field a in net/minecraft/src/RenderGhast
# Field im/a null from name maker
# Warning: unknown method d (Ljava/lang/String;)V in net/minecraft/src/EnumStatu
s
# Method qy/d null from name maker
# Warning: unknown method a (I)V in net/minecraft/src/EnumStatus
# Method qy/a null from name maker
# Warning: unknown method b (Ljava/lang/String;)V in net/minecraft/src/EnumStatu
s
# Method qy/b null from name maker
# Method io/d unchanged from super class
# Method io/a unchanged from super class
# Warning: unknown method c (Ljava/lang/String;)V in net/minecraft/src/Component
NetherBridgeNetherStalkRoom
# Method io/c null from name maker
# Warning: unknown method a (Ljava/lang/String;)V in net/minecraft/src/Component
NetherBridgeNetherStalkRoom
# Method io/a null from name maker
# Method io/b unchanged from super class
# Warning: unknown field d in net/minecraft/src/ComponentNetherBridgeNetherStalk
Room
# Field io/d null from name maker
# Warning: unknown field e in net/minecraft/src/ComponentNetherBridgeNetherStalk
Room
# Field io/e null from name maker
# Warning: unknown field b in net/minecraft/src/ComponentNetherBridgeNetherStalk
Room
# Field io/b null from name maker
# Warning: unknown field c in net/minecraft/src/ComponentNetherBridgeNetherStalk
Room
# Field io/c null from name maker
# Warning: unknown field a in net/minecraft/src/ComponentNetherBridgeNetherStalk
Room
# Field io/a null from name maker
# Warning: unknown method a (Lfk;)V in net/minecraft/src/EntitySuspendFX
# Method jd/a null from name maker
# Method acz/valueOf fixed from Script
# Warning: unknown method values ()[Lacz; in net/minecraft/src/ComponentVillageH
all
# Method acz/values null from name maker
# Warning: unknown field f in net/minecraft/src/ComponentVillageHall
# Field acz/f null from name maker
# Warning: unknown field d in net/minecraft/src/ComponentVillageHall
# Field acz/d null from name maker
# Warning: unknown field e in net/minecraft/src/ComponentVillageHall
# Field acz/e null from name maker
# Warning: unknown field b in net/minecraft/src/ComponentVillageHall
# Field acz/b null from name maker
# Warning: unknown field c in net/minecraft/src/ComponentVillageHall
# Field acz/c null from name maker
# Field acz/a renamed to field_35079_a from ScriptMap
# Warning: unknown method a (Ljava/lang/String;)Ljava/lang/String; in net/minecr
aft/src/GuiMultiplayer
# Method xi/a null from name maker
# Field xi/a renamed to field_35344_a from ScriptMap
# Warning: unknown method b (Labx;)V in net/minecraft/src/MapGenVillage
# Method xn/b null from name maker
# Warning: unknown method a ()V in net/minecraft/src/MapGenVillage
# Method xn/a null from name maker
# Warning: unknown method a (Z)V in net/minecraft/src/MapGenVillage
# Method xn/a null from name maker
# Warning: unknown method a (Labx;)V in net/minecraft/src/MapGenVillage
# Method xn/a null from name maker
# Warning: unknown method b ()Z in net/minecraft/src/MapGenVillage
# Method xn/b null from name maker
# Warning: unknown field b in net/minecraft/src/MapGenVillage
# Field xn/b null from name maker
# Warning: unknown field a in net/minecraft/src/MapGenVillage
# Field xn/a null from name maker
# Warning: unknown method a (Lxb;Lyq;)V in net/minecraft/src/BiomeGenPlains
# Method ym/a null from name maker
# Method ym/b unchanged from super class
# Method ym/a unchanged from super class
# Warning: unknown method a ([B)V in net/minecraft/src/BiomeGenPlains
# Method ym/a null from name maker
# Warning: unknown method a (III)V in net/minecraft/src/BiomeGenPlains
# Method ym/a null from name maker
# Warning: unknown field f in net/minecraft/src/BiomeGenPlains
# Field ym/f null from name maker
# Warning: unknown field g in net/minecraft/src/BiomeGenPlains
# Field ym/g null from name maker
# Warning: unknown field d in net/minecraft/src/BiomeGenPlains
# Field ym/d null from name maker
# Warning: unknown field e in net/minecraft/src/BiomeGenPlains
# Field ym/e null from name maker
# Warning: unknown field b in net/minecraft/src/BiomeGenPlains
# Field ym/b null from name maker
# Warning: unknown field c in net/minecraft/src/BiomeGenPlains
# Field ym/c null from name maker
# Warning: unknown field j in net/minecraft/src/BiomeGenPlains
# Field ym/j null from name maker
# Warning: unknown field h in net/minecraft/src/BiomeGenPlains
# Field ym/h null from name maker
# Warning: unknown field i in net/minecraft/src/BiomeGenPlains
# Field ym/i null from name maker
# Warning: unknown method a (Ljava/io/File;II)Ljava/lang/String; in net/minecraf
t/src/ModelChest
# Method xl/a null from name maker
# Warning: unknown method a (Ljava/io/File;Ljava/lang/String;II)Ljava/lang/Strin
g; in net/minecraft/src/ModelChest
# Method xl/a null from name maker
# Warning: unknown field d in net/minecraft/src/ModelChest
# Field xl/d null from name maker
# Warning: unknown field b in net/minecraft/src/ModelChest
# Field xl/b null from name maker
# Warning: unknown field c in net/minecraft/src/ModelChest
# Field xl/c null from name maker
# Warning: unknown field a in net/minecraft/src/ModelChest
# Field xl/a null from name maker
# Warning: unknown method a (Ljava/lang/String;)Lsy; in net/minecraft/src/Compon
entNetherBridgeEntrance
# Method xr/a null from name maker
# Warning: unknown method a ()Lsy; in net/minecraft/src/ComponentNetherBridgeEnt
rance
# Method xr/a null from name maker
# Warning: unknown method a (Ljava/lang/String;Ljava/io/File;)Lsy; in net/minecr
aft/src/ComponentNetherBridgeEntrance
# Method xr/a null from name maker
# Warning: unknown field d in net/minecraft/src/ComponentNetherBridgeEntrance
# Field xr/d null from name maker
# Warning: unknown field e in net/minecraft/src/ComponentNetherBridgeEntrance
# Field xr/e null from name maker
# Warning: unknown field b in net/minecraft/src/ComponentNetherBridgeEntrance
# Field xr/b null from name maker
# Warning: unknown field c in net/minecraft/src/ComponentNetherBridgeEntrance
# Field xr/c null from name maker
# Warning: unknown field a in net/minecraft/src/ComponentNetherBridgeEntrance
# Field xr/a null from name maker
# Warning: unknown method a ([I)V in net/minecraft/src/LoadingScreenRenderer
# Method xw/a null from name maker
# Field xw/a renamed to field_1004_a from ScriptMap
# Warning: unknown method d ()Ljava/lang/String; in net/minecraft/src/RenderSilv
erfish
# Method xt/d null from name maker
# Warning: unknown method values ()[Lxt; in net/minecraft/src/RenderSilverfish
# Method xt/values null from name maker
# Warning: unknown method a (I)Lxt; in net/minecraft/src/RenderSilverfish
# Method xt/a null from name maker
# Method xt/valueOf fixed from Script
# Warning: unknown method a ()Z in net/minecraft/src/RenderSilverfish
# Method xt/a null from name maker
# Warning: unknown method c ()I in net/minecraft/src/RenderSilverfish
# Method xt/c null from name maker
# Warning: unknown method b ()Z in net/minecraft/src/RenderSilverfish
# Method xt/b null from name maker
# Warning: unknown field f in net/minecraft/src/RenderSilverfish
# Field xt/f null from name maker
# Warning: unknown field g in net/minecraft/src/RenderSilverfish
# Field xt/g null from name maker
# Warning: unknown field d in net/minecraft/src/RenderSilverfish
# Field xt/d null from name maker
# Warning: unknown field e in net/minecraft/src/RenderSilverfish
# Field xt/e null from name maker
# Warning: unknown field b in net/minecraft/src/RenderSilverfish
# Field xt/b null from name maker
# Warning: unknown field c in net/minecraft/src/RenderSilverfish
# Field xt/c null from name maker
# Field xt/a renamed to field_35450_c from ScriptMap
# Warning: unknown field n in net/minecraft/src/RenderSilverfish
# Field xt/n null from name maker
# Warning: unknown field o in net/minecraft/src/RenderSilverfish
# Field xt/o null from name maker
# Warning: unknown field l in net/minecraft/src/RenderSilverfish
# Field xt/l null from name maker
# Warning: unknown field m in net/minecraft/src/RenderSilverfish
# Field xt/m null from name maker
# Warning: unknown field j in net/minecraft/src/RenderSilverfish
# Field xt/j null from name maker
# Warning: unknown field k in net/minecraft/src/RenderSilverfish
# Field xt/k null from name maker
# Warning: unknown field h in net/minecraft/src/RenderSilverfish
# Field xt/h null from name maker
# Warning: unknown field i in net/minecraft/src/RenderSilverfish
# Field xt/i null from name maker
# Warning: unknown field u in net/minecraft/src/RenderSilverfish
# Field xt/u null from name maker
# Warning: unknown field t in net/minecraft/src/RenderSilverfish
# Field xt/t null from name maker
# Warning: unknown field s in net/minecraft/src/RenderSilverfish
# Field xt/s null from name maker
# Warning: unknown field r in net/minecraft/src/RenderSilverfish
# Field xt/r null from name maker
# Warning: unknown field q in net/minecraft/src/RenderSilverfish
# Field xt/q null from name maker
# Warning: unknown field p in net/minecraft/src/RenderSilverfish
# Field xt/p null from name maker
# Warning: unknown method a (Llm;)V in net/minecraft/src/GenLayerRiver
# Method xu/a null from name maker
# Warning: unknown method a (Ljava/lang/String;)I in net/minecraft/src/Component
Village
# Method xf/a null from name maker
# Warning: unknown method a ()V in net/minecraft/src/ComponentVillage
# Method xf/a null from name maker
# Warning: unknown method a (Lxn;)V in net/minecraft/src/ComponentVillage
# Method xf/a null from name maker
# Warning: unknown method b ()V in net/minecraft/src/ComponentVillage
# Method xf/b null from name maker
# Warning: unknown method a (Ljava/lang/String;Lxn;)V in net/minecraft/src/Compo
nentVillage
# Method xf/a null from name maker
# Warning: unknown method a (Ljava/lang/Class;Ljava/lang/String;)Lxn; in net/min
ecraft/src/ComponentVillage
# Method xf/a null from name maker
# Warning: unknown field d in net/minecraft/src/ComponentVillage
# Field xf/d null from name maker
# Warning: unknown field b in net/minecraft/src/ComponentVillage
# Field xf/b null from name maker
# Warning: unknown field c in net/minecraft/src/ComponentVillage
# Field xf/c null from name maker
# Field xf/a renamed to field_39009_a from ScriptMap
# Warning: unknown method a (Lfk;)V in net/minecraft/src/GuiScreen
# Method xe/a null from name maker
# Warning: unknown field b in net/minecraft/src/GuiScreen
# Field xe/b null from name maker
# Field xe/a renamed to field_946_a from ScriptMap
# Warning: unknown method a ()Ljava/lang/String; in net/minecraft/src/Compressed
StreamTools
# Method vx/a null from name maker
# Warning: unknown field b in net/minecraft/src/CompressedStreamTools
# Field vx/b null from name maker
# Warning: unknown field a in net/minecraft/src/CompressedStreamTools
# Field vx/a null from name maker
# Field vz/a renamed to field_27370_a from ScriptMap
Unrecoverable error during obfuscation, see log file for details.
> Applying Exceptor to client
java.exe -jar runtime\bin\exceptor.jar temp/minecraft_rg.jar temp/minecraft_exc.
jar conf/client.exc logs/client_exc.log failed.
Return code : 1
MCInjector v2.0 by Searge, LexManos, Fesh0r
ERROR: Could not open input file: temp\minecraft_rg.jar (The system cannot find
the file specified)
java.io.FileNotFoundException: Could not open input file: temp\minecraft_rg.jar
(The system cannot find the file specified)
at mcp.mcinjector.MCInjectorImpl.processJar(MCInjectorImpl.java:144)
at mcp.mcinjector.MCInjectorImpl.process(MCInjectorImpl.java:59)
at MCInjector.main(MCInjector.java:36)
> Unzipping the client jar
Traceback (most recent call last):
File "runtime\decompile.py", line 116, in <module>
main(options.config, options.force_jad)
File "runtime\decompile.py", line 42, in main
commands.extractjar(0)
File "C:\Users\Chase\Desktop\MCP\runtime\commands.py", line 882, in extractjar
zipjar = zipfile.ZipFile(jarlk[side])
File "zipfile.pyc", line 699, in __init__
IOError: [Errno 2] No such file or directory: 'temp/minecraft_exc.jar'
Press any key to continue . . .Any help? I followed the tutorial exactly. :sad.gif:
this has been very helpful. finally made my first block lol.
took 3 trys. first time i forgot to redo the decompile stuff before editing and the obsfthingy didnt do jack,
second time i made a single spelling mistake and had a capital D instead of a lower d for dirt in the recipe bit.
but now i have a glowing block that looks like the top part of the endportal frame on all sides and is also a very nice replacement for minecarts in the creation of rapid transit lines!
i now give you enough diamonds to make some body armor!
warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft\net\minecraft\src\EntityMinecart.java:623: error: cannot find symb
ol
EntityMinecart entityminecart = worldObj.getClosestMinecartToEntity(this
, d);
^
symbol: method getClosestMinecartToEntity(EntityMinecart,double)
location: variable worldObj of type World
1 error
1 warning
was getCloesetPlayerToEntity but i need this to search minecarts and not the player.
== MCP 5.6 (data: 5.6, client: 1.1, server: 1.1) ==
!! Updates available. Please run updatemcp to get them. !!
> Creating Retroguard config files
== Decompiling Client ==
!! Modified jar detected. Unpredictable results !! <---i have a clean minecraft folder and it says this
> Creating SRGS for client
> Applying Retroguard to client
> Applying Exceptor to client
> Unzipping the client jar
> Applying jadretro
> Decompiling...
> Copying the client sources
> Applying patches
'runtime\bin\applydiff.exe -p1 -u -i ..\..\temp\temp.patch -d src\minecraft' fai
led : 1
== ERRORS FOUND ==
==================
> Removing comments
> Renaming sources
> Reformating sources
> Commenting OpenGL constants
> Creating reobfuscation tables
> Done in 21.06 seconds
== Decompiling Server ==
> Creating SRGS for server
> Applying Retroguard to server
> Applying Exceptor to server
> Unzipping the server jar
> Applying jadretro
> Decompiling...
> Copying the server sources
> Applying patches
> Removing comments
> Renaming sources
> Reformating sources
> Creating reobfuscation tables
> Done in 64.27 seconds
== Post decompiling operations ==
> Recompiling
> Recompiling client...
!! Can not find client sources !! <---How do you fix this?
> Recompiling server...
'"C:\Program Files\Java\jdk1.7.0_01\bin\javac.exe" -g -source 1.6 -target 1.6 -c
lasspath "lib;lib\*;jars\minecraft_server.jar" -sourcepath src\minecraft_server
-d bin\minecraft_server src\minecraft_server\net\minecraft\server\*.java src\min
ecraft_server\net\minecraft\src\*.java' failed : 1
== ERRORS FOUND ==
warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft_server\net\minecraft\src\Material.java:63: error: isSolid() is alr
eady defined in Material
public boolean isSolid()
^
src\minecraft_server\net\minecraft\src\MaterialLiquid.java:22: error: isSolid()
is already defined in MaterialLiquid
public boolean isSolid()
^
src\minecraft_server\net\minecraft\src\MaterialLogic.java:20: error: isSolid() i
s already defined in MaterialLogic
public boolean isSolid()
^
src\minecraft_server\net\minecraft\src\MaterialPortal.java:20: error: isSolid()
is already defined in MaterialPortal
public boolean isSolid()
^
src\minecraft_server\net\minecraft\src\MaterialTransparent.java:21: error: isSol
id() is already defined in MaterialTransparent
public boolean isSolid()
^
src\minecraft_server\net\minecraft\src\PlayerNBTManager.java:12: error: worldDir
ectory is already defined in PlayerNBTManager
private final File worldDirectory;
^
6 errors ---> How do you fix these errors?
1 warning
==================
FATAL ERROR
Traceback (most recent call last):
File "C:\Documents and Settings\Karl\Desktop\Modding\MCP\runtime\recompile.py"
, line 38, in recompile
commands.recompile(SERVER)
File "C:\Documents and Settings\Karl\Desktop\Modding\MCP\runtime\commands.py",
line 736, in recompile
self.runcmd(forkcmd)
File "C:\Documents and Settings\Karl\Desktop\Modding\MCP\runtime\commands.py",
line 779, in runcmd
raise CalledProcessError(returncode, forkcmd, output)
CalledProcessError: Command '"C:\Program Files\Java\jdk1.7.0_01\bin\javac.exe" -
g -source 1.6 -target 1.6 -classpath "lib;lib\*;jars\minecraft_server.jar" -sour
cepath src\minecraft_server -d bin\minecraft_server src\minecraft_server\net\min
ecraft\server\*.java src\minecraft_server\net\minecraft\src\*.java' returned non
-zero exit status 1 <-----How do you fix this?
Press any key to continue . . .
My minecraft server and .jar is vanilla
I have installed/repaired .NET framework 4
Could u please tell me what im doing wrong please?
== MCP 5.6 (data: 5.6, client: 1.1, server: 1.1) ==
> Recompiling client...
'javac.exe -g -source 1.6 -target 1.6 -classpath "lib;lib\*;jars\bin\minecraft.j
ar;jars\bin\jinput.jar;jars\bin\lwjgl.jar;jars\bin\lwjgl_util.jar" -sourcepath s
rc\minecraft -d bin\minecraft src\minecraft\net\minecraft\client\*.java src\mine
craft\net\minecraft\isom\*.java src\minecraft\net\minecraft\src\*.java conf\patc
hes\ga.java conf\patches\Start.java' failed : 1
== ERRORS FOUND ==
warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft\net\minecraft\src\Block.java:932: error: illegal start of expressi
on
superblock = (new BlockSuperBlock(225, 153)).setHardness(5.5F) .setSlipp
eriness = 0.1F; .setLightValue(1.0F).setLightOpacity(3).setStepSound(soundGravel
Footstep) .setBlockName("SuperBlock");
^
1 error
1 warning
==================
FATAL ERROR
Traceback (most recent call last):
File "runtime\recompile.py", line 31, in recompile
commands.recompile(CLIENT)
File "C:\Users\Nautilus\Desktop\MCP 2.0\runtime\commands.py", line 736, in rec
ompile
self.runcmd(forkcmd)
File "C:\Users\Nautilus\Desktop\MCP 2.0\runtime\commands.py", line 779, in run
cmd
raise CalledProcessError(returncode, forkcmd, output)
CalledProcessError: Command 'javac.exe -g -source 1.6 -target 1.6 -classpath "li
b;lib\*;jars\bin\minecraft.jar;jars\bin\jinput.jar;jars\bin\lwjgl.jar;jars\bin\l
wjgl_util.jar" -sourcepath src\minecraft -d bin\minecraft src\minecraft\net\mine
craft\client\*.java src\minecraft\net\minecraft\isom\*.java src\minecraft\net\mi
necraft\src\*.java conf\patches\ga.java conf\patches\Start.java' returned non-ze
ro exit status 1
Press any key to continue . . .
I have gone through my code and there is nothing wrong with the capitalization. Any help? Also, does startclient.bat not work if you are having errors with recompiling?
Any help is greatly appreciated and may result in the blooming of a new modder!
I followed the tutorial to the part where we test out the new block. Everything worked perfectly fine except for the texture. It didn't use the texture I made for it. I even changed the texture to the dirt block and that didn't even change. It appears it isn't using the terrain.png file in MCP\temp\bin\minecraft. Is there terrain.png file somewhere else?
== MCP 5.6 (data: 5.6, client: 1.1, server: 1.1) ==
> Recompiling client...
'javac.exe -g -source 1.6 -target 1.6 -classpath "lib;lib\*;jars\bin\minecraft.j
ar;jars\bin\jinput.jar;jars\bin\lwjgl.jar;jars\bin\lwjgl_util.jar" -sourcepath s
rc\minecraft -d bin\minecraft src\minecraft\net\minecraft\client\*.java src\mine
craft\net\minecraft\isom\*.java src\minecraft\net\minecraft\src\*.java conf\patc
hes\ga.java conf\patches\Start.java' failed : 1
== ERRORS FOUND ==
warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft\net\minecraft\src\Block.java:932: error: illegal start of expressi
on
superblock = (new BlockSuperBlock(225, 153)).setHardness(5.5F) .setSlipp
eriness = 0.1F; .setLightValue(1.0F).setLightOpacity(3).setStepSound(soundGravel
Footstep) .setBlockName("SuperBlock");
^
1 error
1 warning
==================
FATAL ERROR
Traceback (most recent call last):
File "runtime\recompile.py", line 31, in recompile
commands.recompile(CLIENT)
File "C:\Users\Nautilus\Desktop\MCP 2.0\runtime\commands.py", line 736, in rec
ompile
self.runcmd(forkcmd)
File "C:\Users\Nautilus\Desktop\MCP 2.0\runtime\commands.py", line 779, in run
cmd
raise CalledProcessError(returncode, forkcmd, output)
CalledProcessError: Command 'javac.exe -g -source 1.6 -target 1.6 -classpath "li
b;lib\*;jars\bin\minecraft.jar;jars\bin\jinput.jar;jars\bin\lwjgl.jar;jars\bin\l
wjgl_util.jar" -sourcepath src\minecraft -d bin\minecraft src\minecraft\net\mine
craft\client\*.java src\minecraft\net\minecraft\isom\*.java src\minecraft\net\mi
necraft\src\*.java conf\patches\ga.java conf\patches\Start.java' returned non-ze
ro exit status 1
Press any key to continue . . .
I have gone through my code and there is nothing wrong with the capitalization. Any help? Also, does startclient.bat not work if you are having errors with recompiling?
Any help is greatly appreciated and may result in the blooming of a new modder!
I got the same or at least similar error. I realized I forgot the save everything in notepad++ or whatever you're using.
I followed the tutorial to the part where we test out the new block. Everything worked perfectly fine except for the texture. It didn't use the texture I made for it. I even changed the texture to the dirt block and that didn't even change. It appears it isn't using the terrain.png file in MCP\temp\bin\minecraft. Is there terrain.png file somewhere else?
I got the same or at least similar error. I realized I forgot the save everything in notepad++ or whatever you're using.
Hmm. I am using eclipse for coding. I JUST started modding, so I know next to nothing about it.
I also get a error when starting startclient.bat, but I figure that is because of the errors I've been having during recompile.
== MCP 5.6 (data: 5.6, client: 1.1, server: 1.1) ==
> Recompiling client...
'javac.exe -g -source 1.6 -target 1.6 -classpath "lib;lib\*;jars\bin\minecraft.j
ar;jars\bin\jinput.jar;jars\bin\lwjgl.jar;jars\bin\lwjgl_util.jar" -sourcepath s
rc\minecraft -d bin\minecraft src\minecraft\net\minecraft\client\*.java src\mine
craft\net\minecraft\isom\*.java src\minecraft\net\minecraft\src\*.java conf\patc
hes\ga.java conf\patches\Start.java' failed : 1
== ERRORS FOUND ==
warning: [options] bootstrap class path not set in conjunction with -source 1.6
src\minecraft\net\minecraft\src\Block.java:932: error: illegal start of expressi
on
superblock = (new BlockSuperBlock(225, 153)).setHardness(5.5F) .setSlipp
eriness = 0.1F; .setLightValue(1.0F).setLightOpacity(3).setStepSound(soundGravel
Footstep) .setBlockName("SuperBlock");
^
1 error
1 warning
==================
FATAL ERROR
Traceback (most recent call last):
File "runtime\recompile.py", line 31, in recompile
commands.recompile(CLIENT)
File "C:\Users\Nautilus\Desktop\MCP 2.0\runtime\commands.py", line 736, in rec
ompile
self.runcmd(forkcmd)
File "C:\Users\Nautilus\Desktop\MCP 2.0\runtime\commands.py", line 779, in run
cmd
raise CalledProcessError(returncode, forkcmd, output)
CalledProcessError: Command 'javac.exe -g -source 1.6 -target 1.6 -classpath "li
b;lib\*;jars\bin\minecraft.jar;jars\bin\jinput.jar;jars\bin\lwjgl.jar;jars\bin\l
wjgl_util.jar" -sourcepath src\minecraft -d bin\minecraft src\minecraft\net\mine
craft\client\*.java src\minecraft\net\minecraft\isom\*.java src\minecraft\net\mi
necraft\src\*.java conf\patches\ga.java conf\patches\Start.java' returned non-ze
ro exit status 1
Press any key to continue . . .
I have gone through my code and there is nothing wrong with the capitalization. Any help? Also, does startclient.bat not work if you are having errors with recompiling?
Any help is greatly appreciated and may result in the blooming of a new modder!
I think it is because ";" means "end of this line" you have one in the middle of your code:
superblock = (new BlockSuperBlock(225, 153)).setHardness(5.5F) .setSlipp
eriness = 0.1F; .setLightValue(1.0F).setLightOpacity(3).setStepSound(soundGravel
Footstep) .setBlockName("SuperBlock");
right after the 0.1F , try removing it to see if it helps. Also, yes you do need to recompile successfully for starclient.bat to work.
I got an error report here it is:
Mods loaded: 1
ModLoader 1.2.3
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem.
--- BEGIN ERROR REPORT bf8dd11a --------
Generated 3/5/12 7:32 AM
Minecraft: Minecraft 1.2.3
OS: Windows 7 (amd64) version 6.1
Java: 1.7.0_03, Oracle Corporation
VM: Java HotSpotâ„¢ 64-Bit Server VM (mixed mode), Oracle Corporation
LWJGL: 2.4.2
OpenGL: ATI Radeon HD 4200 version 2.1.8870, ATI Technologies Inc.
java.lang.InstantiationException
at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:48)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at net.minecraft.src.ModLoader.addMod(ModLoader.java:284)
at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1290)
at net.minecraft.src.ModLoader.init(ModLoader.java:846)
at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:154)
at net.minecraft.src.RenderManager.<init>(RenderManager.java:85)
at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:12)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:423)
at net.minecraft.client.Minecraft.run(Minecraft.java:784)
at java.lang.Thread.run(Thread.java:722)
--- END ERROR REPORT 4e52f279 ----------
and heres my code:
package net.minecraft.src;
public class BlockCustom extends Block {
// This is the constructor, i is the ID ( 97 ) and also sets the Materialtype.
protected BlockCustom (int i) {
super(i, Material.rock);
slipperiness = 0.1F;
}
}
and :
package net.minecraft.src;
public abstract class mod_CustomBlock extends BaseMod {
// 97 is a free ID, you can use basically any number, as long as its not allready occupied.
// this "creates" your new block
private static Block cblock = new BlockCustom(130).setBlockName("Custom Block");
public mod_CustomBlock()
{
// Ingame Name of your block
ModLoader.registerBlock(cblock);
ModLoader.addName(cblock, "Custom Block");
// This gives ur Block a custom texture
cblock.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/yournewfolder/fun.png");
// This tells the game that you want to add a new block
// Thiss adds a receipe for your new block using 1 Dirt
// It gives you a stack of 4
ModLoader.addRecipe(new ItemStack(cblock,4), new Object[]
{"#",Character.valueOf('#'),Block.dirt});
}
public String Version() {
return "0.1a";
}
}
After setting-up everything correctly (or so I hope) I ran the decompile.bat.
When I did, I got an error "Missing server jar file. Aborting!" (note: it worked fine before, finding the javac and stuff)
I followed your steps, but recompiling told me to try decompiling, so I did and then decompiling to me to cleanup, which told me it would erase everything, so....
Anyway, long story short, I downloaded the .NET things, tried putting the server.jar in the jars folder two different ways (extracting all the files into the jars folder and just moving the .jar itself to the folder) , restarted my computer, and it has yet to work.
src\minecraft\net\minecraft\src\mod_SunStone.java:3: error: mod_SunStone is not
abstract and does not override abstract method load() in BaseMod
public class mod_SunStone extends BaseMod
^
src\minecraft\net\minecraft\src\mod_SunStone.java:16: error: cannot find symbol
ModLoader.AddName(SunStone, "SunStone");
^
symbol: method AddName(Block,String)
location: class ModLoader
src\minecraft\net\minecraft\src\mod_SunStone.java:18: error: cannot find symbol
ModLoader.RegisterBlock(SunStone);
^
symbol: method RegisterBlock(Block)
location: class ModLoader
src\minecraft\net\minecraft\src\mod_SunStone.java:20: error: cannot find symbol
ModLoader.AddRecipe(new ItemStack(SunStone, 1), new Object[] {
^
symbol: method AddRecipe(ItemStack,Object[])
location: class ModLoader
4 errors
==================
I need help.. .
And here is the code for my block.
package net.minecraft.src;
public class mod_SunStone extends BaseMod
{
public static final Block SunStone;
static
{
SunStone = (new Block(130, ModLoader.addOverride("/terrain.png",
"/MoreMetals/SunStone.png"),
Material.rock)).setHardness(20F).setLightValue(1F).setResistance(15F).setStepSound(Block.soundStoneFootstep).setBlockName("SunStone");
}
public mod_SunStone()
{
ModLoader.AddName(SunStone, "SunStone");
n net/minecraft/src/WorldGenerator
# Method ig/a null from name maker
# Warning: unknown method a ()[Lafh; in net/minecraft/src/WorldGenerator
# Method ig/a null from name maker
# Warning: unknown method b ()[Lafh; in net/minecraft/src/WorldGenerator
# Method ig/b null from name maker
# Warning: unknown field b in net/minecraft/src/WorldGenerator
# Field ig/b null from name maker
# Field ig/a renamed to field_41061_a from ScriptMap
# Warning: unknown method d ()V in net/minecraft/src/ItemTool
# Method ads/d null from name maker
# Warning: unknown method a ()V in net/minecraft/src/ItemTool
# Method ads/a null from name maker
# Warning: unknown method a (I)V in net/minecraft/src/ItemTool
# Method ads/a null from name maker
# Warning: unknown method b ()V in net/minecraft/src/ItemTool
# Method ads/b null from name maker
# Warning: unknown method c ()Z in net/minecraft/src/ItemTool
# Method ads/c null from name maker
# Warning: unknown method a (IZ)V in net/minecraft/src/ItemTool
# Method ads/a null from name maker
# Warning: unknown field f in net/minecraft/src/ItemTool
# Field ads/f null from name maker
# Warning: unknown field d in net/minecraft/src/ItemTool
# Field ads/d null from name maker
# Warning: unknown field e in net/minecraft/src/ItemTool
# Field ads/e null from name maker
# Field ads/b renamed to field_20927_a from ScriptMap
# Warning: unknown field c in net/minecraft/src/ItemTool
# Field ads/c null from name maker
# Field ads/a renamed to field_324_aY from ScriptMap
# Warning: unknown method a ()V in net/minecraft/src/BlockDragonEgg
# Method aci/a null from name maker
# Warning: unknown method b ()V in net/minecraft/src/BlockDragonEgg
# Method aci/b null from name maker
# Warning: unknown field b in net/minecraft/src/BlockDragonEgg
# Field aci/b null from name maker
# Warning: unknown field a in net/minecraft/src/BlockDragonEgg
# Field aci/a null from name maker
# Warning: unknown method a (Lcm;Lcm;)I in net/minecraft/src/EnchantmentProtecti
on
# Method ii/a null from name maker
# Method ii/compare unchanged from super class
# Field ii/a renamed to field_40521_v from ScriptMap
# Warning: unknown method a (Lfk;)V in net/minecraft/src/ItemSaddle
# Method acg/a null from name maker
# Warning: unknown field b in net/minecraft/src/RenderGhast
# Field im/b null from name maker
# Warning: unknown field a in net/minecraft/src/RenderGhast
# Field im/a null from name maker
# Warning: unknown method d (Ljava/lang/String;)V in net/minecraft/src/EnumStatu
s
# Method qy/d null from name maker
# Warning: unknown method a (I)V in net/minecraft/src/EnumStatus
# Method qy/a null from name maker
# Warning: unknown method b (Ljava/lang/String;)V in net/minecraft/src/EnumStatu
s
# Method qy/b null from name maker
# Method io/d unchanged from super class
# Method io/a unchanged from super class
# Warning: unknown method c (Ljava/lang/String;)V in net/minecraft/src/Component
NetherBridgeNetherStalkRoom
# Method io/c null from name maker
# Warning: unknown method a (Ljava/lang/String;)V in net/minecraft/src/Component
NetherBridgeNetherStalkRoom
# Method io/a null from name maker
# Method io/b unchanged from super class
# Warning: unknown field d in net/minecraft/src/ComponentNetherBridgeNetherStalk
Room
# Field io/d null from name maker
# Warning: unknown field e in net/minecraft/src/ComponentNetherBridgeNetherStalk
Room
# Field io/e null from name maker
# Warning: unknown field b in net/minecraft/src/ComponentNetherBridgeNetherStalk
Room
# Field io/b null from name maker
# Warning: unknown field c in net/minecraft/src/ComponentNetherBridgeNetherStalk
Room
# Field io/c null from name maker
# Warning: unknown field a in net/minecraft/src/ComponentNetherBridgeNetherStalk
Room
# Field io/a null from name maker
# Warning: unknown method a (Lfk;)V in net/minecraft/src/EntitySuspendFX
# Method jd/a null from name maker
# Method acz/valueOf fixed from Script
# Warning: unknown method values ()[Lacz; in net/minecraft/src/ComponentVillageH
all
# Method acz/values null from name maker
# Warning: unknown field f in net/minecraft/src/ComponentVillageHall
# Field acz/f null from name maker
# Warning: unknown field d in net/minecraft/src/ComponentVillageHall
# Field acz/d null from name maker
# Warning: unknown field e in net/minecraft/src/ComponentVillageHall
# Field acz/e null from name maker
# Warning: unknown field b in net/minecraft/src/ComponentVillageHall
# Field acz/b null from name maker
# Warning: unknown field c in net/minecraft/src/ComponentVillageHall
# Field acz/c null from name maker
# Field acz/a renamed to field_35079_a from ScriptMap
# Warning: unknown method a (Ljava/lang/String;)Ljava/lang/String; in net/minecr
aft/src/GuiMultiplayer
# Method xi/a null from name maker
# Field xi/a renamed to field_35344_a from ScriptMap
# Warning: unknown method b (Labx;)V in net/minecraft/src/MapGenVillage
# Method xn/b null from name maker
# Warning: unknown method a ()V in net/minecraft/src/MapGenVillage
# Method xn/a null from name maker
# Warning: unknown method a (Z)V in net/minecraft/src/MapGenVillage
# Method xn/a null from name maker
# Warning: unknown method a (Labx;)V in net/minecraft/src/MapGenVillage
# Method xn/a null from name maker
# Warning: unknown method b ()Z in net/minecraft/src/MapGenVillage
# Method xn/b null from name maker
# Warning: unknown field b in net/minecraft/src/MapGenVillage
# Field xn/b null from name maker
# Warning: unknown field a in net/minecraft/src/MapGenVillage
# Field xn/a null from name maker
# Warning: unknown method a (Lxb;Lyq;)V in net/minecraft/src/BiomeGenPlains
# Method ym/a null from name maker
# Method ym/b unchanged from super class
# Method ym/a unchanged from super class
# Warning: unknown method a ([B)V in net/minecraft/src/BiomeGenPlains
# Method ym/a null from name maker
# Warning: unknown method a (III)V in net/minecraft/src/BiomeGenPlains
# Method ym/a null from name maker
# Warning: unknown field f in net/minecraft/src/BiomeGenPlains
# Field ym/f null from name maker
# Warning: unknown field g in net/minecraft/src/BiomeGenPlains
# Field ym/g null from name maker
# Warning: unknown field d in net/minecraft/src/BiomeGenPlains
# Field ym/d null from name maker
# Warning: unknown field e in net/minecraft/src/BiomeGenPlains
# Field ym/e null from name maker
# Warning: unknown field b in net/minecraft/src/BiomeGenPlains
# Field ym/b null from name maker
# Warning: unknown field c in net/minecraft/src/BiomeGenPlains
# Field ym/c null from name maker
# Warning: unknown field j in net/minecraft/src/BiomeGenPlains
# Field ym/j null from name maker
# Warning: unknown field h in net/minecraft/src/BiomeGenPlains
# Field ym/h null from name maker
# Warning: unknown field i in net/minecraft/src/BiomeGenPlains
# Field ym/i null from name maker
# Warning: unknown method a (Ljava/io/File;II)Ljava/lang/String; in net/minecraf
t/src/ModelChest
# Method xl/a null from name maker
# Warning: unknown method a (Ljava/io/File;Ljava/lang/String;II)Ljava/lang/Strin
g; in net/minecraft/src/ModelChest
# Method xl/a null from name maker
# Warning: unknown field d in net/minecraft/src/ModelChest
# Field xl/d null from name maker
# Warning: unknown field b in net/minecraft/src/ModelChest
# Field xl/b null from name maker
# Warning: unknown field c in net/minecraft/src/ModelChest
# Field xl/c null from name maker
# Warning: unknown field a in net/minecraft/src/ModelChest
# Field xl/a null from name maker
# Warning: unknown method a (Ljava/lang/String;)Lsy; in net/minecraft/src/Compon
entNetherBridgeEntrance
# Method xr/a null from name maker
# Warning: unknown method a ()Lsy; in net/minecraft/src/ComponentNetherBridgeEnt
rance
# Method xr/a null from name maker
# Warning: unknown method a (Ljava/lang/String;Ljava/io/File;)Lsy; in net/minecr
aft/src/ComponentNetherBridgeEntrance
# Method xr/a null from name maker
# Warning: unknown field d in net/minecraft/src/ComponentNetherBridgeEntrance
# Field xr/d null from name maker
# Warning: unknown field e in net/minecraft/src/ComponentNetherBridgeEntrance
# Field xr/e null from name maker
# Warning: unknown field b in net/minecraft/src/ComponentNetherBridgeEntrance
# Field xr/b null from name maker
# Warning: unknown field c in net/minecraft/src/ComponentNetherBridgeEntrance
# Field xr/c null from name maker
# Warning: unknown field a in net/minecraft/src/ComponentNetherBridgeEntrance
# Field xr/a null from name maker
# Warning: unknown method a ([I)V in net/minecraft/src/LoadingScreenRenderer
# Method xw/a null from name maker
# Field xw/a renamed to field_1004_a from ScriptMap
# Warning: unknown method d ()Ljava/lang/String; in net/minecraft/src/RenderSilv
erfish
# Method xt/d null from name maker
# Warning: unknown method values ()[Lxt; in net/minecraft/src/RenderSilverfish
# Method xt/values null from name maker
# Warning: unknown method a (I)Lxt; in net/minecraft/src/RenderSilverfish
# Method xt/a null from name maker
# Method xt/valueOf fixed from Script
# Warning: unknown method a ()Z in net/minecraft/src/RenderSilverfish
# Method xt/a null from name maker
# Warning: unknown method c ()I in net/minecraft/src/RenderSilverfish
# Method xt/c null from name maker
# Warning: unknown method b ()Z in net/minecraft/src/RenderSilverfish
# Method xt/b null from name maker
# Warning: unknown field f in net/minecraft/src/RenderSilverfish
# Field xt/f null from name maker
# Warning: unknown field g in net/minecraft/src/RenderSilverfish
# Field xt/g null from name maker
# Warning: unknown field d in net/minecraft/src/RenderSilverfish
# Field xt/d null from name maker
# Warning: unknown field e in net/minecraft/src/RenderSilverfish
# Field xt/e null from name maker
# Warning: unknown field b in net/minecraft/src/RenderSilverfish
# Field xt/b null from name maker
# Warning: unknown field c in net/minecraft/src/RenderSilverfish
# Field xt/c null from name maker
# Field xt/a renamed to field_35450_c from ScriptMap
# Warning: unknown field n in net/minecraft/src/RenderSilverfish
# Field xt/n null from name maker
# Warning: unknown field o in net/minecraft/src/RenderSilverfish
# Field xt/o null from name maker
# Warning: unknown field l in net/minecraft/src/RenderSilverfish
# Field xt/l null from name maker
# Warning: unknown field m in net/minecraft/src/RenderSilverfish
# Field xt/m null from name maker
# Warning: unknown field j in net/minecraft/src/RenderSilverfish
# Field xt/j null from name maker
# Warning: unknown field k in net/minecraft/src/RenderSilverfish
# Field xt/k null from name maker
# Warning: unknown field h in net/minecraft/src/RenderSilverfish
# Field xt/h null from name maker
# Warning: unknown field i in net/minecraft/src/RenderSilverfish
# Field xt/i null from name maker
# Warning: unknown field u in net/minecraft/src/RenderSilverfish
# Field xt/u null from name maker
# Warning: unknown field t in net/minecraft/src/RenderSilverfish
# Field xt/t null from name maker
# Warning: unknown field s in net/minecraft/src/RenderSilverfish
# Field xt/s null from name maker
# Warning: unknown field r in net/minecraft/src/RenderSilverfish
# Field xt/r null from name maker
# Warning: unknown field q in net/minecraft/src/RenderSilverfish
# Field xt/q null from name maker
# Warning: unknown field p in net/minecraft/src/RenderSilverfish
# Field xt/p null from name maker
# Warning: unknown method a (Llm;)V in net/minecraft/src/GenLayerRiver
# Method xu/a null from name maker
# Warning: unknown method a (Ljava/lang/String;)I in net/minecraft/src/Component
Village
# Method xf/a null from name maker
# Warning: unknown method a ()V in net/minecraft/src/ComponentVillage
# Method xf/a null from name maker
# Warning: unknown method a (Lxn;)V in net/minecraft/src/ComponentVillage
# Method xf/a null from name maker
# Warning: unknown method b ()V in net/minecraft/src/ComponentVillage
# Method xf/b null from name maker
# Warning: unknown method a (Ljava/lang/String;Lxn;)V in net/minecraft/src/Compo
nentVillage
# Method xf/a null from name maker
# Warning: unknown method a (Ljava/lang/Class;Ljava/lang/String;)Lxn; in net/min
ecraft/src/ComponentVillage
# Method xf/a null from name maker
# Warning: unknown field d in net/minecraft/src/ComponentVillage
# Field xf/d null from name maker
# Warning: unknown field b in net/minecraft/src/ComponentVillage
# Field xf/b null from name maker
# Warning: unknown field c in net/minecraft/src/ComponentVillage
# Field xf/c null from name maker
# Field xf/a renamed to field_39009_a from ScriptMap
# Warning: unknown method a (Lfk;)V in net/minecraft/src/GuiScreen
# Method xe/a null from name maker
# Warning: unknown field b in net/minecraft/src/GuiScreen
# Field xe/b null from name maker
# Field xe/a renamed to field_946_a from ScriptMap
# Warning: unknown method a ()Ljava/lang/String; in net/minecraft/src/Compressed
StreamTools
# Method vx/a null from name maker
# Warning: unknown field b in net/minecraft/src/CompressedStreamTools
# Field vx/b null from name maker
# Warning: unknown field a in net/minecraft/src/CompressedStreamTools
# Field vx/a null from name maker
# Field vz/a renamed to field_27370_a from ScriptMap
Unrecoverable error during obfuscation, see log file for details.
RetroGuard error: COM.rl.obf.classfile.ClassFileException: ClassNotFound BaseMod
> Applying Exceptor to client
java.exe -jar runtime\bin\exceptor.jar temp/minecraft_rg.jar temp/minecraft_exc.
jar conf/client.exc logs/client_exc.log failed.
Return code : 1
MCInjector v2.0 by Searge, LexManos, Fesh0r
ERROR: Could not open input file: temp\minecraft_rg.jar (The system cannot find
the file specified)
java.io.FileNotFoundException: Could not open input file: temp\minecraft_rg.jar
(The system cannot find the file specified)
at mcp.mcinjector.MCInjectorImpl.processJar(MCInjectorImpl.java:144)
at mcp.mcinjector.MCInjectorImpl.process(MCInjectorImpl.java:59)
at MCInjector.main(MCInjector.java:36)
> Unzipping the client jar
Traceback (most recent call last):
File "runtime\decompile.py", line 116, in <module>
main(options.config, options.force_jad)
File "runtime\decompile.py", line 42, in main
commands.extractjar(0)
File "C:\Users\Chase\Desktop\MCP\runtime\commands.py", line 882, in extractjar
zipjar = zipfile.ZipFile(jarlk[side])
File "zipfile.pyc", line 699, in __init__
IOError: [Errno 2] No such file or directory: 'temp/minecraft_exc.jar'
Press any key to continue . . .Any help? I followed the tutorial exactly. :sad.gif:
Now I want to change parameters of TNT. How to change drop chance of ore after explosion?
took 3 trys. first time i forgot to redo the decompile stuff before editing and the obsfthingy didnt do jack,
second time i made a single spelling mistake and had a capital D instead of a lower d for dirt in the recipe bit.
but now i have a glowing block that looks like the top part of the endportal frame on all sides and is also a very nice replacement for minecarts in the creation of rapid transit lines!
i now give you enough diamonds to make some body armor!
src\minecraft\net\minecraft\src\EntityMinecart.java:623: error: cannot find symb
ol
EntityMinecart entityminecart = worldObj.getClosestMinecartToEntity(this
, d);
^
symbol: method getClosestMinecartToEntity(EntityMinecart,double)
location: variable worldObj of type World
1 error
1 warning
was getCloesetPlayerToEntity but i need this to search minecarts and not the player.
how would i get that behavior to work?
My minecraft server and .jar is vanilla
I have installed/repaired .NET framework 4
Could u please tell me what im doing wrong please?
www.youtube.com/machineinput
AKA everything that used java on my computer stopped working when I got the JDK. I want my minecraft back.
Soaring in Hoenn
I have gone through my code and there is nothing wrong with the capitalization. Any help? Also, does startclient.bat not work if you are having errors with recompiling?
Any help is greatly appreciated and may result in the blooming of a new modder!
I got the same or at least similar error. I realized I forgot the save everything in notepad++ or whatever you're using.
Hmm. I am using eclipse for coding. I JUST started modding, so I know next to nothing about it.
I also get a error when starting startclient.bat, but I figure that is because of the errors I've been having during recompile.
"variable SuperBlock might not have been initialized
return;"
what have i done wrong?
I think it is because ";" means "end of this line" you have one in the middle of your code:
superblock = (new BlockSuperBlock(225, 153)).setHardness(5.5F) .setSlipp
eriness = 0.1F; .setLightValue(1.0F).setLightOpacity(3).setStepSound(soundGravel
Footstep) .setBlockName("SuperBlock");
right after the 0.1F , try removing it to see if it helps. Also, yes you do need to recompile successfully for starclient.bat to work.
Mods loaded: 1
ModLoader 1.2.3
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem.
--- BEGIN ERROR REPORT bf8dd11a --------
Generated 3/5/12 7:32 AM
Minecraft: Minecraft 1.2.3
OS: Windows 7 (amd64) version 6.1
Java: 1.7.0_03, Oracle Corporation
VM: Java HotSpotâ„¢ 64-Bit Server VM (mixed mode), Oracle Corporation
LWJGL: 2.4.2
OpenGL: ATI Radeon HD 4200 version 2.1.8870, ATI Technologies Inc.
java.lang.InstantiationException
at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:48)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at net.minecraft.src.ModLoader.addMod(ModLoader.java:284)
at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1290)
at net.minecraft.src.ModLoader.init(ModLoader.java:846)
at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:154)
at net.minecraft.src.RenderManager.<init>(RenderManager.java:85)
at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:12)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:423)
at net.minecraft.client.Minecraft.run(Minecraft.java:784)
at java.lang.Thread.run(Thread.java:722)
--- END ERROR REPORT 4e52f279 ----------
and heres my code:
and :
After setting-up everything correctly (or so I hope) I ran the decompile.bat.
When I did, I got an error "Missing server jar file. Aborting!" (note: it worked fine before, finding the javac and stuff)
I followed your steps, but recompiling told me to try decompiling, so I did and then decompiling to me to cleanup, which told me it would erase everything, so....
Anyway, long story short, I downloaded the .NET things, tried putting the server.jar in the jars folder two different ways (extracting all the files into the jars folder and just moving the .jar itself to the folder) , restarted my computer, and it has yet to work.
Also,
OS: Windows 7 Home Premium x64
Any help?
== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==
# found jad, jad patches, ff patches, osx patches, srgs, name csvs, doc csvs, pa
ram csvs, astyle, astyle config
== Recompiling client ==
> Cleaning bin
> Recompiling
'"C:\Program Files\Java\jdk1.7.0_03\bin\javac" -Xlint:-options -deprecation -g -
source 1.6 -target 1....' failed : 1
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\mod_SunStone.java:3: error: mod_SunStone is not
abstract and does not override abstract method load() in BaseMod
public class mod_SunStone extends BaseMod
^
src\minecraft\net\minecraft\src\mod_SunStone.java:16: error: cannot find symbol
ModLoader.AddName(SunStone, "SunStone");
^
symbol: method AddName(Block,String)
location: class ModLoader
src\minecraft\net\minecraft\src\mod_SunStone.java:18: error: cannot find symbol
ModLoader.RegisterBlock(SunStone);
^
symbol: method RegisterBlock(Block)
location: class ModLoader
src\minecraft\net\minecraft\src\mod_SunStone.java:20: error: cannot find symbol
ModLoader.AddRecipe(new ItemStack(SunStone, 1), new Object[] {
^
symbol: method AddRecipe(ItemStack,Object[])
location: class ModLoader
4 errors
==================
I need help.. .
And here is the code for my block.
package net.minecraft.src;
public class mod_SunStone extends BaseMod
{
public static final Block SunStone;
static
{
SunStone = (new Block(130, ModLoader.addOverride("/terrain.png",
"/MoreMetals/SunStone.png"),
Material.rock)).setHardness(20F).setLightValue(1F).setResistance(15F).setStepSound(Block.soundStoneFootstep).setBlockName("SunStone");
}
public mod_SunStone()
{
ModLoader.AddName(SunStone, "SunStone");
ModLoader.RegisterBlock(SunStone);
ModLoader.AddRecipe(new ItemStack(SunStone, 1), new Object[] {
"GSG", "SGS", "GSG", Character.valueOf('G'), Block.glowStone, Character.valueOf('S'), Block.stone
});
}
public String Version()
{
return "1.2.5_01";
}
}
Edit Nvm, forgot to read the last part of the tutorial lol
Edit Edit Nvm again, not working