Jump to content

Recommended Posts

Posted

No (a reference is an address in memory, would be pointless to send the server the address of an entity on the server side xD) - 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.

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.