wizjany
f2f9c26602
Expanded the scope of item brushes (/br apply item, /br paint item).
...
They now additionally take a direction in which the simulated item usage
should be facing.
Also allow the item parser to parse "hand" and "offhand" as items, to
allow platforms with NBT item support return items with NBT (since
parsing is a slightly more complex task).
2019-06-09 20:44:30 -04:00
wizjany
5e857b3547
Improve parsing from registries.
...
If multiple namespaces are present, suggestions will first suggest a
namespace, then once a namespace is selected, keys within that namespace.
Starting an argument with ":" will instead search across all namespaces
for matching keys.
2019-05-28 22:55:20 -04:00
wizjany
6962b2e7b6
Add comprehensive suggestions to many commands.
...
All patterns now have suggestions, including recursive patterns.
Suggestions will suggest blocks and block states.
All masks now have suggestions, though mask intersections are not
yet supported due to issues with quotes strings.
EntityRemover and ItemFactory now also have completions, as well
as all RegistryConverters (though I am unsure how many are actually
used).
Also use paper's AsyncTabComplete event, if available.
2019-05-28 22:55:20 -04:00
Matthew Miller
4804fe64e3
Don't use a no-op suggester
2019-05-24 21:31:29 +10:00
Matthew Miller
a3ffb91917
Added suggestions to a lot of factory-related commands
2019-05-24 21:31:29 +10:00
wizjany
334d5cfaab
The "spawner|mobType" syntax once again makes functional mob spawners.
...
Also fix block parser context not being restricted.
2019-05-18 10:16:08 -04:00
Kenzie Togami
3173e26109
Fix //expand, improve //help
2019-05-17 22:24:31 -07:00
Matthew Miller
9a5d45deed
Fixed direction error
2019-05-06 18:33:21 +10:00
Kenzie Togami
1c54a04fd1
Update Text to 3
2019-05-05 23:06:20 -07:00
wizjany
bc8e477b1c
Fix error message with invalid //expand args.
2019-05-04 22:48:49 -04:00
wizjany
5e81dd1c4c
Make registries Keyed.
2019-05-01 20:12:35 -04:00
Kenzie Togami
743d7f08ab
Purge intake-like command system
2019-04-30 14:59:45 -07:00
Kenzie Togami
7188d27aaa
Fix minor bugs in converters
2019-04-29 22:11:15 -07:00
Kenzie Togami
d0f9a71d53
Re-implement many converters using Piston utility converters
2019-04-29 21:57:29 -07:00
Kenzie Togami
6255ccce38
Minor bug fixes
2019-04-28 17:27:33 -07:00
Matthew Miller
f94093239f
Setup a registry converter
2019-04-27 16:46:13 +10:00
Kenzie Togami
b8c120e0c4
Finish porting commands
2019-04-26 01:18:02 -07:00
Kenzie Togami
853bfab022
Merge master, update to texts
2019-04-25 22:11:46 -07:00
Kenzie Togami
9b0fda9f83
Port utility commands
2019-04-25 19:36:22 -07:00
Kenzie Togami
8c2b725f42
Port toll / tool util commands, add more enums
2019-04-25 12:49:03 -07:00
Kenzie Togami
e447ac55db
Port super pickaxe commands
2019-04-24 00:00:56 -07:00
Kenzie Togami
2ea30dc70e
Port snapshot commands, update some time stuff to new time
2019-04-23 23:47:22 -07:00
Kenzie Togami
ea3605204c
Fix licenses
2019-04-23 22:59:11 -07:00
Kenzie Togami
e07e0d10b0
Port selection commands
2019-04-23 22:58:30 -07:00
Kenzie Togami
6d4982f23a
Fix checkstyle/license/gen code
2019-04-23 15:44:33 -07:00
Kenzie Togami
31486cd473
Port generation commands
2019-04-23 10:11:54 -07:00
Kenzie Togami
48fcfeed35
Fix licenses
2019-04-18 19:12:09 -07:00
Kenzie Togami
ac03de89cc
Work on adding converters for some arguments
2019-04-18 19:11:57 -07:00
Kenzie Togami
f33140b327
Port ChunkCommands, fix up injection, simplify registration
2019-04-16 23:02:23 -07:00
Kenzie Togami
267ccf2298
First attempt at integrating Piston as the only command system
2019-04-15 01:21:15 -07:00
Matthew Miller
700e41b706
Remove the final stage committer from the MultiStageReorder extent, as it caused issues and no longer appears to be entirely necessary.
2018-12-13 20:30:54 +10:00
Kenzie Togami
399e0ad5fa
Refactor vector system to be cleaner
...
- Move Vector, etc. into `.math` package
- Drop many methods that will be auto-promoted anyways, eg. with
`divide(int)` and `divide(double)` the first is now gone.
- Take Block vectors into their own class hierarchy
- Make it clear throughout the API what takes blockvectors
- many more improvements
2018-11-03 23:00:23 -07:00
Matthew Miller
1480606b52
Fixed a few more issues found looking over the changeset.
2018-08-04 11:43:42 +10:00
Matthew Miller
66d70f00e7
Removed more deprecated code
2018-08-04 11:43:39 +10:00
Matthew Miller
e99190225e
Further BaseBlock modernisation
2018-08-04 11:43:39 +10:00
Matthew Miller
aaaf2d5678
More deprecation removal
2018-08-04 11:43:38 +10:00
Matthew Miller
1cc735e359
Further work on items
2018-08-04 11:43:38 +10:00
wizjany
46dff16a97
Use our own firstNonNull to maintain back-compat.
...
Fixes WORLDEDIT-3567.
2017-06-08 10:01:23 -04:00
wizjany
bed8a80894
Revert to Guava 17's firstNonNull.
...
Deprecated but Spigot doesn't include guava18 yet.
2015-11-13 20:17:56 -05:00
Albert Pham
fdfc3cdb33
Reorganize and further unify the new commands.
2015-10-29 13:05:04 -07:00
Albert Pham
98b61d0fbd
Add a default suggested Deform expression.
2015-10-28 13:38:04 -07:00
Albert Pham
874408ad10
Make flags command executor-specific.
2015-10-28 13:37:58 -07:00
Albert Pham
f4bb5272e1
Update new commands with suggestion and help support.
2015-10-27 13:51:45 -07:00