src\minecraft\net\minecraft\src\Block.java:856: cannot find symbol
symbol : class BlockSuperBlock
location: class net.minecraft.src.Block
superblock = (new BlockSuperBlock(100, 2)).setHardness(0.5F).setStepSound(soundG
ravelFootstep).setLightValue(1.0F).setBlockName("superblock").disableSats().disa
bleNeighborNotifyOnMetadataChange();
^
1 error
==================
> Done in 4.08 seconds
> Recompiling server...
> Done in 5.06 seconds
Press any key to continue . . .
Alright. Does anyone know why my blocks name isn't popping up when I hover over it? I set it up and everything. I went into MCP>temp>bin>minecraft>lang
I was having a similar problem where when I put a new terrain file in MCP>temp>bin>minecraft that it didn't get put into the game. Anyone know why?
Hey, I'm coding coding my mod in Eclipse, and when I go run the script, the MCP modified Minecraft window comes up, then crashes. I get this error:
16 achievements
151 recipes
ModLoader Beta 1.7.3 Initializing...
Overriding /terrain.png with /minerman4/digitblock.png @ 30. 82 left.
Overriding /terrain.png with /minerman4/digiore.png @ 54. 81 left.
Mod Loaded: net.minecraft.src.mod_DigitMod You are currently DigitMod Beta version 1.4!
Done.
WARNING: Found unknown Windows version: Windows 7
Attempting to use default windows plug-in.
Loading: net.java.games.input.DirectAndRawInputEnvironmentPlugin
Failed to initialize device Wacom Virtual Hid Driver because of: java.io.IOException: Failed to acquire device (8007001e)
Starting up SoundSystem...
Initializing LWJGL OpenAL
(The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
OpenAL initialized.
Stopping!
java.lang.NoClassDefFoundError: net/minecraft/src/GuiYesNo
at net.minecraft.src.GuiMainMenu.actionPerformed(GuiMainMenu.java:105)
at net.minecraft.src.GuiScreen.mouseClicked(GuiScreen.java:73)
at net.minecraft.src.GuiScreen.handleMouseInput(GuiScreen.java:120)
at net.minecraft.src.GuiScreen.handleInput(GuiScreen.java:110)
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1003)
at net.minecraft.client.Minecraft.run(Minecraft.java:480)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: net.minecraft.src.GuiYesNo
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 7 more
SoundSystem shutting down...
Author: Paul Lamb, www.paulscode.com
I'm really not sure what that means... if you need the source, let me know.
package net.minecraft.src;
public class mod_OurMods extends BaseMod //Note It extends basemod (part of modloader) not block
{
public static final Block SuperBlock; //Static? Thats new, just go with it okay?
static
{
SuperBlock = (new Block(100, ModLoader.addOverride("/terrain.png", "/yournewfolder/SuperBlock.png"), Material.rock)).setHardness(1.5F).setLightValue(1.0F).setStepSound(Block.soundGravelFootstep).setBlockName("SuperBlock");
} //Those are the properties, should be familiar
public mod_OurMods()
{
ModLoader.AddName(SuperBlock, "Super Block"); //This is setting the ingame hover name.
ModLoader.RegisterBlock(SuperBlock); //Don't question, just do
ModLoader.AddRecipe(new ItemStack(SuperBlock, 1), new Object[] {
"x", Character.valueOf('x'), Block.dirt
}); //That should look familiar, it's the recipe
}
public String Version()
{
return "1.5_01";
}
}
HELP ME PLEASE!!!
package net.minecraft.src;
public class mod_SpeedBlock extends BaseMod //Note It extends basemod (part of modloader) not block
{
public static final Block SpeedBlock; //Static? Thats new, just go with it okay?
static
{
SpeedBlock = (new BlockSpeedBlock(97, ModLoader.addOverride("/terrain.png", "/Fizzey's Extras/SpeedBlock.png"))),.setHardness(1.5F).setStepSound(Block.soundGravelFootstep).setBlockName("SpeedBlock");
} //Those are the properties, should be familiar
public mod_SpeedBlock()
{
ModLoader.AddName(SpeedBlock, "Speed Block"); //This is setting the ingame hover name.
ModLoader.RegisterBlock(SpeedBlock); //Don't question, just do
ModLoader.AddRecipe(new ItemStack(SpeedBlock, 2), new Object[] {
"x", Character.valueOf('x'), Item.redstone
}); //That should look familiar, it's the recipe
}
public String Version()
{
return "1.5_01";
}
}
Quick question.... How do you add a recipe with a block you made from modloader, when i do it it just says that Variable (my block's name that i use to make the item) not found
this happens when i type
"x", Character.valueOf('x'), Block.(my block's name that i use to make the item)
ive also tried using
"x", Character.valueOf('x'), Item.(my block's name that i use to make the item)
And when i use
"x", Character.valueOf('x'), mod.(my block's name that i use to make the item)
It says "cannot find variable Variable=mod
please help i cant figure it out if u need aditional info please just say what doesnt make sense or w/e in a reply to this post!
When I recompile I get heaps of errors to do with pistonExtension but I haven't even gone near the piston classes? Also, could you possibly make a video tutorial for all of those who just don't quite get it?
So i did this through and then screwed up. So i started all over and now when i decompile I get .class files instead of .jar files so i get random bubbles and stuff that is DEFINITELY not java. I've redownloaded MCP, got new jars, and retried everything. Help?
You should get .java files. Perhaps you don't have JDK installed correctly? It is what converts the .class into .java. If you try to look into a .class, it will look like random bubbles as it is compiled java code. Decompiled java code (.java files) will be text. Mostly.
i created my own texture for the 'superblock, and put in the 175 space, it works fine in the startclient
when i reobfuscate it and put the class files into my minecraft.jar, it works but when i craft the block i don't have the texture, how do i get the texture into my regular minecraft??
I had problems with the startclient, but when skipped it and did the reobfuscate, then tried startclient again, it worked and loaded just fine. I recommend switching those two in the steps of the .bats to run.
I love you! in a bro way xd, i did perfect all the block things but on the last steps i didtn found anything in minecraft at the reobf after reobfuscating everything if you can help i would apreciate it!, anyways YOU SIR are a hero of tutorials n_n
Plz help. this is the first tutorial I have tried and my mod wont work cuz of modloader but the tutorial isnt clear. Where do I put the edited code, (what class) otherwise this is good.
*My code=
superblock = (new BlockSuperBlock(100, 2)).setHardness(0.5F).setStepSound(soundGravelFootstep).setLightValue(1.0F).setBlockName("superblock");
*My Error=
== MCP v4.3 ==
> Recompiling client...
javac.exe -g -verbose -classpath "lib/;lib/*;jars/bin/minecraft.jar;jars/bin/jin
put.jar;jars/bin/lwjgl.jar;jars/bin/lwjgl_util.jar" -sourcepath src/minecraft -d
bin/minecraft src/minecraft\net\minecraft\client\*.java src/minecraft\net\minec
raft\isom\*.java src/minecraft\net\minecraft\src\*.java conf/patches/*.java fai
led.
Return code : 1
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\Block.java:856: cannot find symbol
symbol : class BlockSuperBlock
location: class net.minecraft.src.Block
superblock = (new BlockSuperBlock(100, 2)).setHardness(0.5F).setStepSound(soundG
ravelFootstep).setLightValue(1.0F).setBlockName("superblock").disableSats().disa
bleNeighborNotifyOnMetadataChange();
^
1 error
==================
> Done in 4.08 seconds
> Recompiling server...
> Done in 5.06 seconds
Press any key to continue . . .
what is this? I really need help
I was having a similar problem where when I put a new terrain file in MCP>temp>bin>minecraft that it didn't get put into the game. Anyone know why?
I have 82 errors on recompiling.
The first two say this:
And after those they are all almost copies of the one below, but with different third lines.
Please help, I don't get what I did wrong.
HELP ME PLEASE!!!
I GET THE ERROR
EDIT: Turns out ANYTHING I do that causes a sound to be made the sound repeats indefinitely.....
this happens when i type
"x", Character.valueOf('x'), Block.(my block's name that i use to make the item)
ive also tried using
"x", Character.valueOf('x'), Item.(my block's name that i use to make the item)
And when i use
"x", Character.valueOf('x'), mod.(my block's name that i use to make the item)
It says "cannot find variable Variable=mod
please help i cant figure it out if u need aditional info please just say what doesnt make sense or w/e in a reply to this post!
Thanks
You should get .java files. Perhaps you don't have JDK installed correctly? It is what converts the .class into .java. If you try to look into a .class, it will look like random bubbles as it is compiled java code. Decompiled java code (.java files) will be text. Mostly.
when i reobfuscate it and put the class files into my minecraft.jar, it works but when i craft the block i don't have the texture, how do i get the texture into my regular minecraft??
heres the code: package net.minecraft.src;
public class BlockUltra extends Block
{
protected BlockUltratorch(int i, int j)
{
super(i, j, Material.wood);
}
}
someone help
[17:25] Error: Could not find or load main class Start
Error: Could not find or load main class Start
Press any key to continue . . .
I did everything according to it..
I started coding just a couple minutes ago.
[:
plsh help. <3