Commit Graph

81 Commits

Author SHA1 Message Date
743d7f08ab Purge intake-like command system 2019-04-30 14:59:45 -07:00
3c04a83852 Add nicer error when using player commands as console.
Also fix slash counts for Bukkit.
2019-04-29 17:39:30 -04:00
82c4846436 Add more variable args for expressions, quoting 2019-04-28 22:03:54 -07:00
6255ccce38 Minor bug fixes 2019-04-28 17:27:33 -07:00
b3053f19ce Pagination changes and cleanup.
Refactored PaginationBox to be abstract. Implementations can generate individual components as needed now.
Add lots of Component usage to schematic list, help listings, etc.
Fix a few schematic and file resolution issues.
2019-04-28 01:12:05 -04:00
62353a46db Added a pagination box and use it in Biome List and Chunk List 2019-04-27 21:57:45 +10:00
0960f70e6b Update to latest Piston changes 2019-04-27 03:35:44 -07:00
f94093239f Setup a registry converter 2019-04-27 16:46:13 +10:00
23279c007e Fix intialization, rework registration 2019-04-26 01:38:06 -07:00
7ff537138a Merge master again 2019-04-26 01:25:42 -07:00
b8c120e0c4 Finish porting commands 2019-04-26 01:18:02 -07:00
17fba54305 Update SpongeSchematic format to version 2.
Allows saving and loading entities and biomes.
2019-04-26 16:41:39 +10:00
46e0a7ba48 Port //set 2019-04-25 23:16:18 -07:00
853bfab022 Merge master, update to texts 2019-04-25 22:11:46 -07:00
d8290cbd8f Port worldedit commands 2019-04-25 21:03:28 -07:00
9b0fda9f83 Port utility commands 2019-04-25 19:36:22 -07:00
8c2b725f42 Port toll / tool util commands, add more enums 2019-04-25 12:49:03 -07:00
e447ac55db Port super pickaxe commands 2019-04-24 00:00:56 -07:00
2ea30dc70e Port snapshot commands, update some time stuff to new time 2019-04-23 23:47:22 -07:00
e07e0d10b0 Port selection commands 2019-04-23 22:58:30 -07:00
c95fc06b82 Port scripting commands 2019-04-23 19:32:27 -07:00
f81ffdde0c Port region commands 2019-04-23 18:46:46 -07:00
f2283e8ad0 Port navigation commands 2019-04-23 16:14:21 -07:00
6d4982f23a Fix checkstyle/license/gen code 2019-04-23 15:44:33 -07:00
20da6227d4 Port history commands 2019-04-23 15:35:05 -07:00
31486cd473 Port generation commands 2019-04-23 10:11:54 -07:00
c52eb59d7f Get it all working 2019-04-22 22:05:20 +10:00
51be16ad81 Port GeneralCommands 2019-04-21 13:10:20 -07:00
1e7b4fc835 Move shaded libraries to their own artifacts 2019-04-20 23:11:39 -07:00
5b1573a24e Replace the message system 2019-04-19 23:06:00 +10:00
55348346e9 Shade in Kashike's lib 2019-04-19 14:49:29 +10:00
f481f7d26d Handle lack of global injected value store 2019-04-18 19:59:53 -07:00
ac03de89cc Work on adding converters for some arguments 2019-04-18 19:11:57 -07:00
37c993be16 Port ClipboardCommands, update to new Key 2019-04-18 12:34:57 -07:00
f33140b327 Port ChunkCommands, fix up injection, simplify registration 2019-04-16 23:02:23 -07:00
e4d8091432 Convert part of the brush commands 2019-04-15 02:01:25 -07:00
267ccf2298 First attempt at integrating Piston as the only command system 2019-04-15 01:21:15 -07:00
3e4004ad9e Start work on improving the formatting system. May switch to Kashike's as Bukkit is shit 2019-04-14 19:33:44 +10:00
f8c4f23658 Partial work on biome commands, need logging replacement 2019-04-14 01:30:40 -07:00
8ab6585815 Patch new cmds system into old system 2019-04-04 16:16:04 -07:00
9ba1121592 swap order of checks
since a boolean check is faster than getting inventory item + string
comparison
2019-04-04 10:45:21 +11:00
1934006d14 Better enforce the Request lifetime.
Previously, the current request would just get a new EditSession when
one was created. Now, a Request is reset before and after:
 - a command is used and
 - an interact is fired with the platform
This means each action taken will get a single, non-reusable Request.

Note that this only applies to actions taken through the platform.
API users will not be using requests anyway, since things like Masks,
etc. will be constructed directly instead of being passed through the
platform's parsers and so on. (e.g. if a plugin loads a schematic into
the world with a mask, they should create the EditSession and mask it
directly, and not use that Mask again for another EditSession in another
World).

Also, get rid of a bunch of (some now-)unnecessary EditSession creation
during command dispatching.

Note that this also fixed the dynamic selection mask, which apparently
has been broken for some unknown amount of time.
2019-03-20 19:13:54 -04:00
d6804737cf Switch to SLF4J logging. 2019-03-13 19:51:48 -07:00
2f8bdccf65 Clarify state when asking for caps with no platforms 2018-12-28 22:20:12 -08:00
3fefcbf971 Remove all raw usages of BSH, improve API generics 2018-12-26 16:39:10 -08:00
c949b07df1 Added a method to teleport entities across worlds. 2018-12-21 16:56:10 +10:00
8f236afae9 Added a display name to Actors 2018-12-18 17:36:53 +10:00
24800a662a Finish removal of PlayerDirection, and partially added diagonal support back to commands. 2018-11-12 12:38:13 +10:00
2c8b2fe089 Move vectors to static creators, for caching 2018-11-03 23:00:24 -07:00
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