Posted April 27, 201312 yr Is there a packet that can send an entity reference or something? "you seem to be THE best modder I've seen imo." ~spynathan ლ(́◉◞౪◟◉‵ლ
April 28, 201312 yr No (a reference is an address in memory, would be pointless to send the server the address of an entity on the server side ) - but you shouldn't need to. Both the client and server keep a "world". You just need to keep in mind that whatever you do has to occur on the server side. Your best bet is to send the entityId (believe the world object has a getEntityById like method). You could also look at data watchers (I'm told the wolf class is a good example)
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.