1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-10-05 10:20:46 +00:00
CC-Tweaked/projects/common/src
Jonathan Coates b7df91349a
Rewrite computer selectors
This adds support for computer selectors, in the style of entity
selectors. The long-term goal here is to replace our existing ad-hoc
selectors. However, to aid migration, we currently support both - the
previous one will most likely be removed in MC 1.21.

Computer selectors take the form @c[<key>=<value>,...]. Currently we
support filtering by id, instance id, label, family (as before) and
distance from the player (new!). The code also supports computers within
a bounding box, but there's no parsing support for that yet.

This commit also (finally) documents the /computercraft command. Well,
sort of - it's definitely not my best word, but I couldn't find better
words.
2024-03-12 20:12:13 +00:00
..
client/java/dan200/computercraft Don't cache the client monitor 2024-03-10 10:57:56 +00:00
main Rewrite computer selectors 2024-03-12 20:12:13 +00:00
test/java/dan200/computercraft Rewrite computer selectors 2024-03-12 20:12:13 +00:00
testFixtures/java/dan200/computercraft/test/shared Fix crash when joining a dedicated server 2023-10-08 15:22:32 +01:00
testMod Atomic update of disk drive item stacks 2024-01-20 18:46:43 +00:00