mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-14 14:25:32 +01:00
d01951a10e
Within BlockProperties BlockCache and IBlockCacheNode ("read only") get passed, removing id/data/shape from arguments. If a property is not set in the node, it'll be fetched from the block cache, but the node is not updated from outside the BlockCache. For subsequent calls, the node would be updated by the block cache, if it isn't a node stored by the BlockChangeTracker from an earlier time, and similar. This way, opportunistic passable checking can be implemented, by switching to cached nodes instead of id/data/shape arguments with lazy fetching from BlockCache. The name IBlockCacheNode seems to be appropriate, since we'll pass it alongside with a BlockCache anyway. |
||
---|---|---|
.. | ||
src | ||
pom.xml |