I just completely lost...
After trying for hours I've found no way to bring that to work.
This is what I've got, and I know this doesn't work because my game crashes any time when i place the block
@Override
public int onBlockPlaced(World world, final int x, final int y, final int z, final int p_149660_5_, final float hitX, final float hitY, final float hitZ, final int metadata) {
return world.createExplosion(null, 9D, 9D, 9D, 9F);
}
}
I just don't know what I have to fill in into this auto comleteted thing that comes up...
Thanks...
By the way: If you find mystakes like grammarmystakes or spellingmystakes... I'm german, my english is not the best!