Posted July 6, 201510 yr With this code no changes will occur to the block at the position S23PacketBlockChange blockPacket = new S23PacketBlockChange(event.world, event.pos); blockPacket.blockState = Blocks.diamond_block.getDefaultState(); playerMP.playerNetServerHandler.sendPacket(blockPacket); however if i do world.setBlockState on the pos with the same blockstate var it will change to the diamond block (Server only mod)
July 6, 201510 yr I am confused what you want. Do you want to send a package from the client to the server to make it change a block?
July 6, 201510 yr Author I want it to appear changed on the client, but not actually change it on the server world, so that i can show a area border when required.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.