Yessh! Got it to work! Took some time but thank you to EVERYONE for Helping me, especially you XDarkboy, I owe you! :biggrin.gif:
BTW, I was just wondering, the block is 16x16, now the problem is that i need a different texture for all sider (1) and I need to make the block Longer (like a bed it 2 spaces) (2)
Thanks in advance.
Ghost
Ok to let you know, I DONT THINK THA I INSTALLED MOD LOADER, on compilation it says this particular error on all 5 errors:
-----------------------------
error: CANNOT FIND SYMBOL
then near end it says:
symbol: variable ModLoader
location: class mod_Ura
-----------------------------
What could this mean? Am I SUPPOSED to install modLoader on this? I thought it was supposed to be a clean .minecraft thing.
Ghost129er
please note:
FOR THOSE WHO ARE GOING TO SAY STOP RAPIDLY POSTING, I TRIPLE POSTED AS I GOT A 502 ERROR ON THE WEB! STOP BUGGING ME ON MY MAIL!
XDarkBoy,
do you mind if you could please write the script onto your computer and test it if it works? because from 25 to 8 to 2 to 8 again.... Please
Thanks
Ghost129er
Heres the source code(s) (i think the doohickeys .java)
----------------------------------------------------------------
mod_ura:
----------------------------------------------------------------
package net.minecraft.src;
public class mod_Ura extends BaseMod
{
//Properties
public static Block Ura = new BlockUra(97, 0).setHardness(1.0F).setResistance(1.0F).setLightValue(1.0F).setBlockName("Namehere");
public String Version()
{
return "1.8.1";
}
public mod_Ura()
{
//Register
ModLoader.RegisterBlock(Ura Block);
//Textures
Namehere.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/bin/UraBlock.png");
//inGameName
ModLoader.AddName(Namehere, "ZOMG ITS WORKING");
//Recipe
ModLoader.AddRecipe(new ItemStack(Namehere, 1), new Object[]{ "##", "##", "##", Character.valueOf('#'), Block.dirt});
}
}
package net.minecraft.src;
import java.util.Random;
public class BlockUra extends Block
{
public BlockUra(int i, int j)
{
super(i, j, Material.ground);
}
public int idDropped(int i, Random random)
{
return mod_Ura.Namehere.blockID;
}
public int quantityDropped(Random random)
{
return 1;
}
}
---------------------------------------------------------------------------------------------
is this waht you wanted?
Hey All!
I'm new to the minecraft forums and would like some help regarding the Block tut by FrogBite99.
I followed all the instructions and did what had to be done, read all the pages on this post thingy and on recompilation I get this error(s):
Please help in what I'm doing wrong!! Been trying to get at this for more than 2 days!
Thanking y'all in advance
Ghost129er
WAAAAAAAH!!! :'( I defeated the witch and the disk went under the pistons, coulndn't get it and ended the game as it went poof! D': WAAAH!! Is there a plan B? I dont wanna loose the stuff again! D:
Ghost
0
BTW, I was just wondering, the block is 16x16, now the problem is that i need a different texture for all sider (1) and I need to make the block Longer (like a bed it 2 spaces) (2)
Thanks in advance.
Ghost
0
-----------------------------
error: CANNOT FIND SYMBOL
then near end it says:
symbol: variable ModLoader
location: class mod_Ura
-----------------------------
What could this mean? Am I SUPPOSED to install modLoader on this? I thought it was supposed to be a clean .minecraft thing.
Ghost129er
please note:
FOR THOSE WHO ARE GOING TO SAY STOP RAPIDLY POSTING, I TRIPLE POSTED AS I GOT A 502 ERROR ON THE WEB! STOP BUGGING ME ON MY MAIL!
0
do you mind if you could please write the script onto your computer and test it if it works? because from 25 to 8 to 2 to 8 again.... Please
Thanks
Ghost129er
0
OH CRAP! NOW I GOT 25 ERRORS!!!
:sad.gif: Do you think Im missing a file?/Plugin or ModLoader?
0
He might be busy, though I saw him active 2day, buzzed him (msged him) but no reply, It happens...
0
----------------------------------------------------------------
mod_ura:
----------------------------------------------------------------
----------------------------------------------------------------
BlockUra.java
----------------------------------------------------------------
---------------------------------------------------------------------------------------------
is this waht you wanted?
0
I'm new to the minecraft forums and would like some help regarding the Block tut by FrogBite99.
I followed all the instructions and did what had to be done, read all the pages on this post thingy and on recompilation I get this error(s):
Please help in what I'm doing wrong!! Been trying to get at this for more than 2 days!
Thanking y'all in advance
Ghost129er