Jump to content

[1.10.2] Beacon replica, packet receiving


pizzaluc

Recommended Posts

Hey MinecraftForge i have question, with something i have been trying to fix for the past hours, so i have created a beacon replica, shamelessly taken all the BlockBeacon, ContainerBeacon, etc. and copied them over, changed the referrals and registrered all the classes but it still dont work as planned. So when i put in the payment item (iron, diamond..) and clicks okay in the gui the item pops out and nothing happens. But i think i found the flaw, when you click that button in the gui, it executes this code, where it sends the primary and secondary potion effect to the server as the gui code on executes on the client. 
Beacon packet sender. 


Well my question in basically how to i intercept that message so i can run the appropriate code on the server

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.