Results 1 to 2 of 2
Thread: Help with my error?
- 06-03-2012, 08:15 PM #1
Member
- Join Date
- Jun 2012
- Posts
- 1
- Rep Power
- 0
Help with my error?
THE CODE
package net.minecraft.src;
import java.util.random;
import.java.io.PrintStream;
public class WorldGenPillar extends WorldGenerator
{
public WorldGenPillar()
{
}
public boolean generate(World world, Random rand, int x, int y, int z)
{
if (world.getBlock(x, y, z)!= Block.dirt.blockID|| world.getBlockID(x, z, y)!= 0)
{
return false;
}
int block = Block.BlockDiamond.blockID;
world.setBlockWithNotify(x, y + 1, z, block);
world.setBlockWithNotify(x, y + 2, z, block);
world.setBlockWithNotify(x, y + 3, z, block);
world.setBlockWithNotify(x, y + 4, z, block);
world.setBlockWithNotify(x, y + 5, z, block);
world.setBlockWithNotify(x, y + 6, z, block);
world.setBlockWithNotify(x, y + 7, z, block);
world.setBlockWithNotify(x, y + 8, z, block);
return true;
}
}
ERROR
Can anyone help me fix this error?== 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.6.0_27\bin\javac" -Xlint:-options -deprecation -g -
source 1.6 -target 1....' failed : 1
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\WorldGenPillar.jav a:5: <identifier> expected
import.java.io.PrintStream;
^
1 error
==================
== Recompiling server ==
> Cleaning bin
> Recompiling
- Done in 22.23 seconds
Druk op een toets om door te gaan. . .
(its a minecraft mod)
thanks.
- 06-03-2012, 08:45 PM #2
Member
- Join Date
- Mar 2011
- Posts
- 21
- Rep Power
- 0
Similar Threads
-
java.lang.NullpointerException error in tomcat 5.5 / http status 500 error
By rahil in forum Apache CommonsReplies: 3Last Post: 05-08-2012, 05:26 PM -
Thread: Error 500--Internal Server Error java.lang.NullPointerException
By jackdear44 in forum New To JavaReplies: 1Last Post: 12-05-2009, 07:28 AM -
java.lang.Error: Error opening DSound for capture
By NARs in forum NetworkingReplies: 1Last Post: 10-26-2009, 04:38 PM -
Diference Between compiler error Garbage collection and Runtime Error?
By makpandian in forum New To JavaReplies: 3Last Post: 01-23-2009, 08:53 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks