because he copied the code from the ChunkProviderSky.java
if you want it to be "normal", just copy the code from ChunkProviderSurface.java and replace all the blocks with your blocks
Rollback Post to RevisionRollBack
schrödingers cat is
return (new Random().nextInt(2) == 0 ? "alive" : "dead");
src\minecraft\net\minecraft\src\HealthBlock.java:8: error: illegal start of expr
ession
public int quantityDropped(Random random)
^
src\minecraft\net\minecraft\src\HealthBlock.java:8: error: ';' expected
public int quantityDropped(Random random)
^
src\minecraft\net\minecraft\src\HealthBlock.java:8: error: ';' expected
public int quantityDropped(Random random)
^
src\minecraft\net\minecraft\src\HealthBlock.java:12: error: illegal start of exp
ression
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j,
int k)
^
src\minecraft\net\minecraft\src\HealthBlock.java:12: error: ';' expected
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j,
int k)
^
src\minecraft\net\minecraft\src\HealthBlock.java:12: error: <identifier> expecte
d
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j,
int k)
^
src\minecraft\net\minecraft\src\HealthBlock.java:12: error: not a statement
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j,
int k)
^
src\minecraft\net\minecraft\src\HealthBlock.java:12: error: ';' expected
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j,
int k)
^
src\minecraft\net\minecraft\src\HealthBlock.java:12: error: <identifier> expecte
d
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j,
int k)
^
src\minecraft\net\minecraft\src\HealthBlock.java:12: error: not a statement
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j,
int k)
^
src\minecraft\net\minecraft\src\HealthBlock.java:12: error: ';' expected
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j,
int k)
^
src\minecraft\net\minecraft\src\HealthBlock.java:17: error: illegal start of exp
ression
public AxisAlignedBB getSelectedBoundingBoxFromPool(World world, int i, int j, i
nt k)
^
src\minecraft\net\minecraft\src\HealthBlock.java:17: error: ';' expected
public AxisAlignedBB getSelectedBoundingBoxFromPool(World world, int i, int j, i
nt k)
^
src\minecraft\net\minecraft\src\HealthBlock.java:17: error: <identifier> expecte
d
public AxisAlignedBB getSelectedBoundingBoxFromPool(World world, int i, int j, i
nt k)
^
src\minecraft\net\minecraft\src\HealthBlock.java:17: error: not a statement
public AxisAlignedBB getSelectedBoundingBoxFromPool(World world, int i, int j, i
nt k)
^
src\minecraft\net\minecraft\src\HealthBlock.java:17: error: ';' expected
public AxisAlignedBB getSelectedBoundingBoxFromPool(World world, int i, int j, i
nt k)
^
src\minecraft\net\minecraft\src\HealthBlock.java:17: error: <identifier> expecte
d
public AxisAlignedBB getSelectedBoundingBoxFromPool(World world, int i, int j, i
nt k)
^
src\minecraft\net\minecraft\src\HealthBlock.java:17: error: not a statement
public AxisAlignedBB getSelectedBoundingBoxFromPool(World world, int i, int j, i
nt k)
^
src\minecraft\net\minecraft\src\HealthBlock.java:17: error: ';' expected
public AxisAlignedBB getSelectedBoundingBoxFromPool(World world, int i, int j, i
nt k)
^
src\minecraft\net\minecraft\src\HealthBlock.java:22: error: illegal start of exp
ression
public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity e
ntity)
^
src\minecraft\net\minecraft\src\HealthBlock.java:22: error: illegal start of exp
ression
public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity e
ntity)
^
src\minecraft\net\minecraft\src\HealthBlock.java:22: error: ';' expected
public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity e
ntity)
^
src\minecraft\net\minecraft\src\HealthBlock.java:22: error: <identifier> expecte
d
public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity e
ntity)
^
src\minecraft\net\minecraft\src\HealthBlock.java:22: error: not a statement
public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity e
ntity)
^
src\minecraft\net\minecraft\src\HealthBlock.java:22: error: ';' expected
public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity e
ntity)
^
src\minecraft\net\minecraft\src\HealthBlock.java:22: error: <identifier> expecte
d
public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity e
ntity)
^
src\minecraft\net\minecraft\src\HealthBlock.java:22: error: not a statement
public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity e
ntity)
^
src\minecraft\net\minecraft\src\HealthBlock.java:22: error: ';' expected
public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity e
ntity)
^
src\minecraft\net\minecraft\src\HealthBlock.java:22: error: ';' expected
public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity e
ntity)
^
src\minecraft\net\minecraft\src\HealthBlock.java:30: error: class, interface, or
enum expected
}
^
30 errors
==================
> Done in 2.11 seconds
> Recompiling server...
> Done in 4.71 seconds
Press any key to continue . . .
... thats y i asked i dont know where in the HealthBlock.java to place it... its like this now
package net.minecraft.src;
public class HealthBlock extends Block
{
protected HealthBlock(int i, int j)
{
super(i, j, Material.rock);
public int quantityDropped(Random random)
{
return 1;
}
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j, int k)
{
float f = 0.0625F;
return AxisAlignedBB.getBoundingBoxFromPool((float)i + f, j, (float)k + f, (float)(i + 1) - f, (float)(j + 1) - f, (float)(k + 1) - f);
}
public AxisAlignedBB getSelectedBoundingBoxFromPool(World world, int i, int j, int k)
{
float f = 0.0625F;
return AxisAlignedBB.getBoundingBoxFromPool((float)i + f, j, (float)k + f, (float)(i + 1) - f, j + 1, (float)(k + 1) - f);
}
public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity entity)
{
entity.attackEntityFrom(null, -4);
}
}
}
}
Put it into code tags [code ][/code ] (without the space) or you won't get much help. The reason you're getting the errors is because you put all the methods into the constructor [code]public HealthBlock(int i, int j)[/code]they have to be outside of that!
Put it into code tags [code ][/code ] (without the space) or you won't get much help. The reason you're getting the errors is because you put all the methods into the constructor [code]public HealthBlock(int i, int j)[/code]they have to be outside of that!
lol sorry but i thought the
HI
was enough
neways uhh well what u told me to do killed 24 errors i had
[code]== MCP v4.3 ==
> Recompiling client...
"C:\Program Files\Java\jdk1.7.0\bin\javac.exe" -g -verbose -classpath "lib/;lib/
*;jars/bin/minecraft.jar;jars/bin/jinput.jar;jars/bin/lwjgl.jar;jars/bin/lwjgl_u
til.jar" -sourcepath src/minecraft -d bin/minecraft src/minecraft\net\minecraft\
client\*.java src/minecraft\net\minecraft\isom\*.java src/minecraft\net\minecraf
t\src\*.java conf/patches/*.java failed.
Return code : 1
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\HealthBlock.java:3: error: '{' expected
public class HealthBlock extends Block
^
src\minecraft\net\minecraft\src\HealthBlock.java:19: error: illegal start of exp
ression
protected HealthBlock(int i, int j)
^
src\minecraft\net\minecraft\src\HealthBlock.java:19: error: '.class' expected
protected HealthBlock(int i, int j)
^
src\minecraft\net\minecraft\src\HealthBlock.java:19: error: ';' expected
protected HealthBlock(int i, int j)
^
src\minecraft\net\minecraft\src\HealthBlock.java:19: error: ';' expected
protected HealthBlock(int i, int j)
^
src\minecraft\net\minecraft\src\HealthBlock.java:25: error: reached end of file
while parsing
}
^
6 errors
==================
> Done in 1.67 seconds
> Recompiling server...
> Done in 5.32 seconds
Press any key to continue . . .[/code]
well here are my codes
[code]package net.minecraft.src;
public class HealthBlock extends Block
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j, int k)
{
float f = 0.0625F;
return AxisAlignedBB.getBoundingBoxFromPool((float)i + f, j, (float)k + f, (float)(i + 1) - f, (float)(j + 1) - f, (float)(k + 1) - f);
}
public AxisAlignedBB getSelectedBoundingBoxFromPool(World world, int i, int j, int k)
{
float f = 0.0625F;
return AxisAlignedBB.getBoundingBoxFromPool((float)i + f, j, (float)k + f, (float)(i + 1) - f, j + 1, (float)(k + 1) - f);
}
public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity entity)
{
entity.attackEntityFrom(null, -4);
}
{
protected HealthBlock(int i, int j)
{
super(i, j, Material.rock);
}
}[/code]
[code] package net.minecraft.src;
public class mod_HealthBlock extends BaseMod //Note It extends basemod (part of modloader) not block
{
public static final Block HealthBlock; //Static? Thats new, just go with it okay?
static
{
HealthBlock = (new HealthBlock(102, ModLoader.addOverride("/terrain.png", "/Fizzey's Extras/HealthBlock.png"))).setHardness(500F).setStepSound(Block.soundStoneFootstep).setBlockName("HealthBlock");
} //Those are the properties, should be familiar
public mod_HealthBlock()
{
ModLoader.AddName(HealthBlock, "HealthBlock"); //This is setting the ingame hover name.
ModLoader.RegisterBlock(HealthBlock); //Don't question, just do
ModLoader.AddRecipe(new ItemStack(HealthBlock, 1), new Object[] {
"!X!", "X#X", "!X!", Character.valueOf('X'), Item.redstone, Character.valueOf('#'), Block.torchRedstoneActive, Character.valueOf('!'), Block.blockDiamond
});
}
public String Version()
{
return "1.5_01";
}
}[/code]
neways uhh well what u told me to do killed 24 errors i had
== MCP v4.3 ==
> Recompiling client...
"C:\Program Files\Java\jdk1.7.0\bin\javac.exe" -g -verbose -classpath "lib/;lib/
*;jars/bin/minecraft.jar;jars/bin/jinput.jar;jars/bin/lwjgl.jar;jars/bin/lwjgl_u
til.jar" -sourcepath src/minecraft -d bin/minecraft src/minecraft\net\minecraft\
client\*.java src/minecraft\net\minecraft\isom\*.java src/minecraft\net\minecraf
t\src\*.java conf/patches/*.java failed.
Return code : 1
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\HealthBlock.java:3: error: '{' expected
public class HealthBlock extends Block
^
src\minecraft\net\minecraft\src\HealthBlock.java:19: error: illegal start of exp
ression
protected HealthBlock(int i, int j)
^
src\minecraft\net\minecraft\src\HealthBlock.java:19: error: '.class' expected
protected HealthBlock(int i, int j)
^
src\minecraft\net\minecraft\src\HealthBlock.java:19: error: ';' expected
protected HealthBlock(int i, int j)
^
src\minecraft\net\minecraft\src\HealthBlock.java:19: error: ';' expected
protected HealthBlock(int i, int j)
^
src\minecraft\net\minecraft\src\HealthBlock.java:25: error: reached end of file
while parsing
}
^
6 errors
==================
> Done in 1.67 seconds
> Recompiling server...
> Done in 5.32 seconds
Press any key to continue . . .
well here are my codes
package net.minecraft.src;
public class HealthBlock extends Block
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j, int k)
{
float f = 0.0625F;
return AxisAlignedBB.getBoundingBoxFromPool((float)i + f, j, (float)k + f, (float)(i + 1) - f, (float)(j + 1) - f, (float)(k + 1) - f);
}
public AxisAlignedBB getSelectedBoundingBoxFromPool(World world, int i, int j, int k)
{
float f = 0.0625F;
return AxisAlignedBB.getBoundingBoxFromPool((float)i + f, j, (float)k + f, (float)(i + 1) - f, j + 1, (float)(k + 1) - f);
}
public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity entity)
{
entity.attackEntityFrom(null, -4);
}
{
protected HealthBlock(int i, int j)
{
super(i, j, Material.rock);
}
}
package net.minecraft.src;
public class mod_HealthBlock extends BaseMod //Note It extends basemod (part of modloader) not block
{
public static final Block HealthBlock; //Static? Thats new, just go with it okay?
static
{
HealthBlock = (new HealthBlock(102, ModLoader.addOverride("/terrain.png", "/Fizzey's Extras/HealthBlock.png"))).setHardness(500F).setStepSound(Block.soundStoneFootstep).setBlockName("HealthBlock");
} //Those are the properties, should be familiar
public mod_HealthBlock()
{
ModLoader.AddName(HealthBlock, "HealthBlock"); //This is setting the ingame hover name.
ModLoader.RegisterBlock(HealthBlock); //Don't question, just do
ModLoader.AddRecipe(new ItemStack(HealthBlock, 1), new Object[] {
"!X!", "X#X", "!X!", Character.valueOf('X'), Item.redstone, Character.valueOf('#'), Block.torchRedstoneActive, Character.valueOf('!'), Block.blockDiamond
});
}
public String Version()
{
return "1.5_01";
}
}
The '{' at the top here
{
protected HealthBlock(int i, int j)
{
should be under here
public class HealthBlock extends Block
There might be more than that, but your spacing/tabbing is way funky.
Rollback Post to RevisionRollBack
I had a mod back in Beta 1.8.1, but I quit for a while so it hasn't been updated since then. WTF <-- If you'd like to try and update it, let me know. (It won't be an easy task, I'm sure)
well my healthblock works... a little exept it heals me OVER max health so i cant get hurt...
package net.minecraft.src;
public class mod_HealthBlock extends BaseMod //Note It extends basemod (part of modloader) not block
{
public static final Block HealthBlock; //Static? Thats new, just go with it okay?
static
{
HealthBlock = (new HealthBlock(102, ModLoader.addOverride("/terrain.png", "/Fizzey's Extras/HealthBlock.png"))).setHardness(500F).setStepSound(Block.soundStoneFootstep).setBlockName("HealthBlock");
} //Those are the properties, should be familiar
public mod_HealthBlock()
{
ModLoader.AddName(HealthBlock, "HealthBlock"); //This is setting the ingame hover name.
ModLoader.RegisterBlock(HealthBlock); //Don't question, just do
ModLoader.AddRecipe(new ItemStack(HealthBlock, 1), new Object[] {
"!X!", "X#X", "!X!", Character.valueOf('X'), Item.redstone, Character.valueOf('#'), Block.torchRedstoneActive, Character.valueOf('!'), Block.blockDiamond
});
}
public String Version()
{
return "1.5_01";
}
}
package net.minecraft.src;
public class HealthBlock extends Block
{
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j, int k)
{
float f = 0.0625F;
return AxisAlignedBB.getBoundingBoxFromPool((float)i + f, j, (float)k + f, (float)(i + 1) - f, (float)(j + 1) - f, (float)(k + 1) - f);
}
public AxisAlignedBB getSelectedBoundingBoxFromPool(World world, int i, int j, int k)
{
float f = 0.0625F;
return AxisAlignedBB.getBoundingBoxFromPool((float)i + f, j, (float)k + f, (float)(i + 1) - f, j + 1, (float)(k + 1) - f);
}
public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity entity)
{
entity.attackEntityFrom(null, -4);
}
protected HealthBlock(int i, int j)
{
super(i, j, Material.rock);
}
}
Trust me, nobody has done it, you don't know how many times i've tried to google a modding tutorial on and all I get is a bunch of crap. You try finding one, if you do, i'll give you a cookie
Trust me, nobody has done it, you don't know how many times i've tried to google a modding tutorial on and all I get is a bunch of crap. You try finding one, if you do, i'll give you a cookie
package net.minecraft.src;
public class EntityNamehere extends EntityCreature
{
public EntityNamehere(World world)
{
super(world);
texture = "/Namehere.png";
moveSpeed = 0.5F;
attackStrength = 2;
isImmuneToFire = false;
}
protected int getDropItemId()
{
return Item.swordStone.shiftedIndex;
}
public boolean canBreatheUnderwater()
{
return false;
}
protected boolean canDespawn()
{
return false;
}
public void onEntityDeath()
{
//If you know what you're doing, you can make it
//do cool things. e.g. explode like creeper.
}
}
mod_Namehere
package net.minecraft.src;
import java.lang.reflect.Method;
import java.util.Map;
public class mod_Namehere extends BaseMod
{
public mod_Namehere()
{
ModLoader.RegisterEntityID(EntityNamehere.class, "Namehere", ModLoader.getUniqueEntityId());
ModLoader.AddSpawn(EntityNamehere.class, 8, EnumCreatureType.creature);
}
public void AddRenderer(Map map)
{
map.put(EntityNamehere.class, new RenderBiped(new ModelBiped(), 0.5F));
}
public String Version()
{
return "1.7.3";
}
}
Help: EntityNamehere
1. At the top, you can make it extend any of these: EntityCreature, EntityMob, EntityWaterMob. This changes the way it moves and it's behaviour.
2. Change whatever you want at the top like movespeed etc. The attack strength is how many half hearts of damage it does. If you want it immune to fire then make it "true".
3. The rest is self explaining. The texture is the exact same as what you'd use as your own skin.
4. Make the canBreatheUnderwater "true" if you want it to well...breathe underwater.
5. If you never want it to despawn other than by being killed, set the canDespawn to "true".
6.
Help: mod_Namehere
1. At this part, change the Namehere between these " symbols to what you want it to be called in-game.
src\minecraft\net\minecraft\src\EntityList.java:125: cannot find symbol
symbol : class EntityMobs
location: class net.minecraft.src.EntityList
addMapping(EntityMobs.class, "Monster", 49);
^
src\minecraft\net\minecraft\src\EntityList.java:129: cannot find symbol
symbol : class EntityZombieSimple
location: class net.minecraft.src.EntityList
addMapping(EntityZombieSimple.class, "Giant", 53);
^
src\minecraft\net\minecraft\src\EntityTroll.java:11: cannot find symbol
symbol : variable attackStrength
location: class net.minecraft.src.EntityTroll
attackStrength = 5;
^
3 errors
==================
> Done in 4.50 seconds
> Recompiling server...
!! Can not find server sources !!
Pressione qualquer tecla para continuar. . .
Could you possibly make a tutorial on how to make Molotov Cocktails/Incendiary Grenades? Please and thank you! :smile.gif:
copy the EntityArrow.java and look for
if(this.inGround) {
copy and paste this underneath it
int r = 5; //this is the radius of the fire
for(int x = 0; x < r; x++) //this "creates" the x coördinate
{
for(int y = 0; y < r; y++) //this "creates" the y coördinate
{
for(int z = 0; z < r; z++) //this "creates" the z coördinate
{
int a = worldObj.getBlockId(this.xTile + x, this.yTile + y, this.zTile + z); // our coördinates
if(a == 0) //if our coördinates are air
{
worldObj.setBlock(this.xTile + x, this.yTile + y, this.zTile + z, Block.fire.blockID); //create fire
setEntityDead(); //remove the entity
}
}
}
}
Rollback Post to RevisionRollBack
schrödingers cat is
return (new Random().nextInt(2) == 0 ? "alive" : "dead");
src\minecraft\net\minecraft\src\EntityList.java:125: cannot find symbol
symbol : class EntityMobs
location: class net.minecraft.src.EntityList
addMapping(EntityMobs.class, "Monster", 49);
^
src\minecraft\net\minecraft\src\EntityList.java:129: cannot find symbol
symbol : class EntityZombieSimple
location: class net.minecraft.src.EntityList
addMapping(EntityZombieSimple.class, "Giant", 53);
^
src\minecraft\net\minecraft\src\EntityTroll.java:11: cannot find symbol
symbol : variable attackStrength
location: class net.minecraft.src.EntityTroll
attackStrength = 5;
^
3 errors
==================
> Done in 4.50 seconds
> Recompiling server...
!! Can not find server sources !!
Pressione qualquer tecla para continuar. . .
first error:
it should be EntityMob not EntityMobs
second:
there is no file called EntityZombieSimple, make sure that you haven't made a typo (it is case sensitive)
i don't know the fix for the third, post your EntityTroll.java
Rollback Post to RevisionRollBack
schrödingers cat is
return (new Random().nextInt(2) == 0 ? "alive" : "dead");
first error:
it should be EntityMob not EntityMobs
second:
there is no file called EntityZombieSimple, make sure that you haven't made a typo (it is case sensitive)
i don't know the fix for the third, post your EntityTroll.java
I think the problem is that he never defined it. I'm not sure what it's supposed to be, but probably an 'int'.
Rollback Post to RevisionRollBack
I had a mod back in Beta 1.8.1, but I quit for a while so it hasn't been updated since then. WTF <-- If you'd like to try and update it, let me know. (It won't be an easy task, I'm sure)
I think the problem is that he never defined it. I'm not sure what it's supposed to be, but probably an 'int'.
you don't have to define java files, you have to define variables and a file is no variable oh you mean he didn't define attackStrength? that might be it...
to Mixinghoney, add this in your entitytroll file:
public int attackStrength;
Rollback Post to RevisionRollBack
schrödingers cat is
return (new Random().nextInt(2) == 0 ? "alive" : "dead");
you don't have to define java files, you have to define variables and a file is no variable oh you mean he didn't define attackStrength? that might be it...
to Mixinghoney, add this in your entitytroll file:
public int attackStrength
Lol, yeah. That's exactly what I mean. :tongue.gif:
Rollback Post to RevisionRollBack
I had a mod back in Beta 1.8.1, but I quit for a while so it hasn't been updated since then. WTF <-- If you'd like to try and update it, let me know. (It won't be an easy task, I'm sure)
because he copied the code from the ChunkProviderSky.java
if you want it to be "normal", just copy the code from ChunkProviderSurface.java and replace all the blocks with your blocks
Put it into code tags [code ][/code ] (without the space) or you won't get much help. The reason you're getting the errors is because you put all the methods into the constructor [code]public HealthBlock(int i, int j)[/code]they have to be outside of that!
Also, check out my YouTube channel: www.YouTube.com/StrongJoshua
lol sorry but i thought the
neways uhh well what u told me to do killed 24 errors i had
well here are my codes
Check out my Minecraft Modding Tutorials!
The '{' at the top here
should be under here
There might be more than that, but your spacing/tabbing is way funky.
I had a mod back in Beta 1.8.1, but I quit for a while so it hasn't been updated since then.
WTF <-- If you'd like to try and update it, let me know. (It won't be an easy task, I'm sure)
Sorry, I can't do that. Making a new liquid without editing any base files is impossible for now...
Can you possibly point me in the direction of how to make a new liquid with editing base files?
Check out my Minecraft Modding Tutorials!
google... :dry.gif:
Trust me, nobody has done it, you don't know how many times i've tried to google a modding tutorial on and all I get is a bunch of crap. You try finding one, if you do, i'll give you a cookie
Check out my Minecraft Modding Tutorials!
Sorry I didn't see them any way I get 5 errors on missing symbols and I can't find whats missing
here is the part of the code it's referring to
and
EDIT: I've fixed the helmet and legs ones
this one is outdated, but it might work if you put some time in it http://www.minecraftforum.net/topic/333629-creatingmodsmaking-a-new-liquid/
I Done what you said , but i get this
== 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\EntityList.java:125: cannot find symbol
symbol : class EntityMobs
location: class net.minecraft.src.EntityList
addMapping(EntityMobs.class, "Monster", 49);
^
src\minecraft\net\minecraft\src\EntityList.java:129: cannot find symbol
symbol : class EntityZombieSimple
location: class net.minecraft.src.EntityList
addMapping(EntityZombieSimple.class, "Giant", 53);
^
src\minecraft\net\minecraft\src\EntityTroll.java:11: cannot find symbol
symbol : variable attackStrength
location: class net.minecraft.src.EntityTroll
attackStrength = 5;
^
3 errors
==================
> Done in 4.50 seconds
> Recompiling server...
!! Can not find server sources !!
Pressione qualquer tecla para continuar. . .
copy the EntityArrow.java and look for
copy and paste this underneath it
first error:
it should be EntityMob not EntityMobs
second:
there is no file called EntityZombieSimple, make sure that you haven't made a typo (it is case sensitive)
i don't know the fix for the third, post your EntityTroll.java
I think the problem is that he never defined it. I'm not sure what it's supposed to be, but probably an 'int'.
I had a mod back in Beta 1.8.1, but I quit for a while so it hasn't been updated since then.
WTF <-- If you'd like to try and update it, let me know. (It won't be an easy task, I'm sure)
you don't have to define java files, you have to define variables and a file is no variableoh you mean he didn't define attackStrength? that might be it...to Mixinghoney, add this in your entitytroll file:
Lol, yeah. That's exactly what I mean. :tongue.gif:
I had a mod back in Beta 1.8.1, but I quit for a while so it hasn't been updated since then.
WTF <-- If you'd like to try and update it, let me know. (It won't be an easy task, I'm sure)
I know that one, it doesn't work, i've tried it
Check out my Minecraft Modding Tutorials!