ok now i got the coordinates in the list like:
[iNFO] [sTDOUT] [box[-295.0, 68.0, 277.0 -> -294.0, 69.0, 278.0], box[-295.0, 69.0, 277.0 -> -294.0, 70.0, 278.0], box[-295.0, 70.0, 277.0 -> -294.0, 71.0, 278.0], box[-295.0, 68.0, 278.0 -> -294.0, 69.0, 279.0],...]
but how do i go through this with a block specific comparison? ^^
complete code:
[hide]
AxisAlignedBB var4 = AxisAlignedBB.getBoundingBox(plX, plY, plZ, plX + 1.0D, plY + 1.0D, plZ + 1.0D).expand(4D, 2D, 4D);
List list = Minecraft.getMinecraft().theWorld.getAllCollidingBoundingBoxes(var4);
Iterator var6 = list.iterator();
EntityPlayer var7;
if(list.equals("50"))
while (var6.hasNext())
{
System.out.println("got one torch!");
var7 = (EntityPlayer)var6.next();
}
System.out.println(list);
[/hide]