die Location fürs nächste Projekt :D
gebaut per Plugin :D
public void buildArena(Location l){
World w = l.getWorld();
int x=l.getBlockX(), y=l.getBlockY(), z=l.getBlockZ();
float anstieg=0.04f, n=-40;
int start=Math.round(MathHelper.sqrt((256-n)/anstieg)+0.5f);
for(int a=-start;a<=start;a++){
System.out.println(a);
for(int b=-start;b<=start;b++){
if((y = (int) (n+anstieg*(sq(a)+sq(b))))>=0 && y<256){
for(int i=y;i<y+10 && i<256;i++){
net.minecraft.server.v1_7_R1.World world =((CraftWorld)w).getHandle();
net.minecraft.server.v1_7_R1.Chunk chunk = world.getChunkAt((x+a) >> 4, (z+b) >> 4);
a(chunk, (x+a) & 0xF, i, (z+b) & 0xF, net.minecraft.server.v1_7_R1.Block.e(7), 0);
}
}
}
}
}

318115467s ago, by Antonio 