This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
tutorial:blockentity [2022/05/26 09:21] moheng Add a prompt to actively trigger BlockEntity synchronization |
tutorial:blockentity [2022/05/26 09:25] (current) moheng correct a small mistake |
||
---|---|---|---|
Line 111: | Line 111: | ||
} | } | ||
</code> | </code> | ||
- | **Warning**: Need to call ''world.updateListeners(pos, state, state, Block.NOTIFY_LISTENERS);'' on the Client to trigger the update. | + | **Warning**: Need to call ''world.updateListeners(pos, state, state, Block.NOTIFY_LISTENERS);'' to trigger the update. |
===== Block Entity Ticking ===== | ===== Block Entity Ticking ===== |