I'm trying to place a block(specifically water/lava from a bucket) at certain coordinates.
The placement action needs to be sent from the client because I want the mod to work on a vanilla server.
What I've got so far places the block where the player is looking at but I don't want that. I thought this would place the block at x:1, y:3, z:0 soo... what am I doing wrong? [embed=425,349]Minecraft.getMinecraft().thePlayer.sendQueue.addToSendQueue(new C08PacketPlayerBlockPlacement(1, 3, 0, f, Minecraft.getMinecraft().thePlayer.inventory.getCurrentItem(), 0.0F, 0.0F, 0.0F));[/embed]