Jump to content

[1.8] Need way to fix an entity only existing on server, not client


GalianRyu

Recommended Posts

I have been doing some testing with a new block I added to the mod I am making and found a particular bug.  The block has an entity associated with it and if a player does certain things, they end up with the entity not showing up on their client. 

 

I've tried several ways to fix this, but none of them work because entities are spawned on the server, the server still thinks the entity is there, and any code I put in the block to test for this only runs on their client.  I know network wrappers and packet handling is there for syncing between client and server, but I still don't fully understand how to implement it.

 

Can someone help me out?

Check out my Mod: The RPCraft Toolkit!

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.