Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TileEntity implementations need default packet-based client syncing #11

Open
ramou opened this issue Apr 21, 2020 · 0 comments
Open

TileEntity implementations need default packet-based client syncing #11

ramou opened this issue Apr 21, 2020 · 0 comments

Comments

@ramou
Copy link
Owner

ramou commented Apr 21, 2020

We should provide default implementations for the network packet management to update clients on server changes, an overrideable hasChanged so that the server-side can determine if a change has been made since the last time it updated clients and a default tick() method that overrides the abstract base class and calls a doTick that must be overridden. doTick will get called and then the superclass will check hasChanged, and notify clients that have the chunk loaded, once, if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant