mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Node placement client-side prediction
This commit is contained in:
parent
7ba72f2763
commit
6a0388bb4b
8 changed files with 99 additions and 8 deletions
|
@ -67,6 +67,11 @@ struct ItemDefinition
|
|||
ToolCapabilities *tool_capabilities;
|
||||
ItemGroupList groups;
|
||||
|
||||
// Client shall immediately place this node when player places the item.
|
||||
// Server will update the precise end result a moment later.
|
||||
// "" = no prediction
|
||||
std::string node_placement_prediction;
|
||||
|
||||
/*
|
||||
Cached stuff
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue