Jump to content

[1.7.10] Set blocks on the server from a Key Binding?


Eternaldoom

Recommended Posts

I have created a set of armor and used a PlayerTickEvent and a key binding to allow the player to "freeze" the water under them when wearing the armor and pressing the F key. The problem is, key bindings are client-side so I can't set the blocks on a server. I imagine I would have to use a packet to do this, but I have no idea how. Is there a good tutorial for 1.7, or a different way to do this?

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.