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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...

Important Information

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