ramou / ChessMod

Adding Pippin Barr's Chesses to minecraft.
MIT License
3 stars 3 forks source link

TileEntity implementations need default packet-based client syncing #11

Open ramou opened 4 years ago

ramou commented 4 years ago

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.