Posted July 22, 201510 yr .setBlock(); no use in void actionPerformed() forasmuch setBlock it is World , int , int , int , Block . .setBlock(); it must use World int int int Block . if actionPerformed(World , int , int , int , Block) will not available button how to fix ?
July 22, 201510 yr You can't set blocks in the world from a GUI screen or any other client-side location - you have to send packets to the server and let it set the blocks. http://i.imgur.com/NdrFdld.png[/img]
July 22, 201510 yr "Write my code for me! I can't code!" Nobody's gonna write code for you for free. There's a tutorial on the SimpleNetworkWrapper by diesieben07 in the Tutorials section of Modder Support. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
July 22, 201510 yr A single line of code is ofcourse free. A part of a merthod too. But nobody's gonna write a whole algorithm or system in Minecraft for free. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
July 22, 201510 yr Author I do not want you to bring the whole project. but I want only the necessary code of send packets to the server and let it set the blocks.
July 22, 201510 yr http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/2137055-1-7-x-1-8-customizing-packet-handling-with or http://www.minecraftforge.net/forum/index.php/topic,20135.0.html 1.7.10 is no longer supported by forge, you are on your own.
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.