Files
Pumpkin/pumpkin-util
Laptop59 0b15f29f90 feat: integrate command dispatchers + reimplement /help (#1700)
* initial commit

* added more functions

* ported /help command to new dispatcher

* /? shows similar usage to /help instead of `-> help`

* fixed /help bugs

* change min limit in `read_boxed_slice` to 0 so that empty command (`/`) doesn't cause an error

* fixed clippy errors

* formatted

* added convenience for fetching world and server from context

* fixed `min` mistakes to `max` instead

* changed node to now store a list of predicates as its requirement (permission included)

* added easier way to register aliases

* prevent unauthorized usage of command when aliased

* added `TextComponent::empty()` to create empty text only for the purpose of adding children to it

* added more documentation

* make argument more obvious

* fixed some issues (not done yet)

* added more clarification in comments & docs

* fixed fn docs

* fixed order of arguments in translated error

---------

Signed-off-by: Alexander Medvedev <lilalexmed@proton.me>
Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
2026-03-19 17:17:57 +01:00
..
2026-03-03 19:47:19 +01:00