Commit Graph

59 Commits

Author SHA1 Message Date
8078cf077a consistency changes 2020-01-26 13:01:16 -05:00
b292416496 Upstream and some refactoring
Note: Maybe this doesn't compile, ij is broken af smh, let's give it a try...
2020-01-04 18:34:30 +01:00
39faa740a2 Fix some adapter issues
regen 1.13, tile get npe, null block type values
2019-12-21 09:45:59 +00:00
b4a3155ee7 Update translation string matching upstream 2019-11-23 19:34:03 +01:00
1844d4dba7 Various major
Add regen
Add //history [find|restore|rollback|summary|clear]
 - history commands are interactable
 - inspect brush info is interactable
Commands are now logged to a searchable database
Fix some cases of id/ordinal mismatch
2019-11-23 04:31:48 +00:00
0c85db920c save strings.json 2019-11-21 20:37:56 +00:00
1341e38a90 fix compile 2019-11-21 19:56:10 +00:00
66744bfaa4 Merge remote-tracking branch 'upstream/feature/translatable-text' into i18n-merge 2019-11-21 13:50:05 +00:00
37b6c406ac reduce diff 2019-11-21 07:57:32 +00:00
52a502a1c6 Refactor confirmation 2019-11-21 06:50:37 +00:00
60759934a3 Fix some merge issues 2019-11-20 00:11:54 +00:00
2c9f192baf Merge remote-tracking branch 'upstream/master' into merge 2019-11-19 21:23:47 +00:00
0087a0d6ab Various minor
fix undo null sections
fix cancel for certain parallel jobs
optimize schem paste
2019-11-17 22:47:56 +00:00
96e56bdd0c Rebase translation work for easier rebasing 2019-11-16 22:42:14 +10:00
8812e1b60c Fixes #231 2019-11-14 16:01:38 +00:00
d8d7c8c53f Merge branch 'commanding-pipeline' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into commanding-pipeline
 Conflicts:
	worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitPlayer.java
	worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java
	worldedit-core/src/main/java/com/boydti/fawe/beta/filters/DistrFilter.java
	worldedit-core/src/main/java/com/boydti/fawe/beta/implementation/ChunkCache.java
	worldedit-core/src/main/java/com/boydti/fawe/beta/implementation/ParallelQueueExtent.java
	worldedit-core/src/main/java/com/boydti/fawe/command/CFICommands.java
	worldedit-core/src/main/java/com/boydti/fawe/object/brush/visualization/cfi/HeightMapMCAGenerator.java
	worldedit-core/src/main/java/com/boydti/fawe/object/brush/visualization/cfi/MCAWriter.java
	worldedit-core/src/main/java/com/boydti/fawe/wrappers/WorldWrapper.java
	worldedit-core/src/main/java/com/sk89q/worldedit/LocalSession.java
	worldedit-core/src/main/java/com/sk89q/worldedit/command/ToolUtilCommands.java
	worldedit-core/src/main/java/com/sk89q/worldedit/world/NullWorld.java
	worldedit-core/src/main/java/com/sk89q/worldedit/world/World.java
	worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockTypes.java
2019-11-02 15:58:46 -04:00
f262271519 Message updates 2019-11-02 15:53:25 -04:00
72951cdf23 Various
fake chunk packet
aliases
cfi wip
2019-10-30 12:26:52 +01:00
fd408c64ed Selective merge of commanding branch. 2019-10-23 12:58:36 -04:00
8b96cdc9a5 *
A tribute to Jesse
2019-09-20 21:52:35 -04:00
14ed3f1d9c Remove FawePlayer and API modifications 2019-09-13 23:05:16 -04:00
0620478763 feature(cli): Added a CLI version of WorldEdit, and allowed most commands to be run from console (#508)
* Re-do commits to avoid awful rebase

* You can load and save a schematic file now. Still gotta setup ability to use commands as a console actor.

* Add a world override concept to LocalSession, and allow a lot more commands to be performed by actors.

* Fixed commands, and set the loaded schematic as the world override in CLI

* Properly load tags

* Added 1.14.4 data values

* Allow a majority of commands to be performed by the console.

* Fixed a lot of PR requested changes

* Added a Locatable interface and use that for getting the location of the player in commands.

* Added script support. Currently requires a newline at the end of the script.

* Shade everything to allow this to run locally - should probably minimize this to an extent later.

* Actually hook up the version

* Added a //world command to set the override

* Fixed a missed checkstyle issue

* Added CommandBlock support to Bukkit

* Make command block support configurable

* Minor cleanup and implementing a few of the final functions

* Fixed most issues from PR

* Improve UX, saving is now automatic and unknown command messages show

* Better save docs and support any clipboard format

* Include the entire formats list

* Arrays.copyOf

* Clear the world override if the selector is called on another world.

* Update logging extent to allow basic logging with non-player actors
2019-08-25 19:58:28 +10:00
a476ab1ea0 merge 2019-08-07 01:29:49 +10:00
1c256c1f5a add Range annotation 2019-07-29 05:26:44 +10:00
ff5860113d It started on work with commands then I got carried away. 2019-07-25 14:44:10 -04:00
b230999ca0 Mainly formatting and some work on schematic commands 2019-07-22 22:22:32 -04:00
9c3122a227 More work on getting commands to compile 2019-07-21 22:49:08 -04:00
f5c202af6d BrushCommands 2019-07-21 21:39:36 +10:00
e86e4c9c53 wip on FaweQueue 2019-07-19 06:49:29 +10:00
f500b5e056 CommandContext + Confirmation
Use InjectedValueAccess instead
Fix command confirmation
2019-07-19 06:03:27 +10:00
905fbf5a0b 8108d0a9 2019-07-18 02:31:13 +10:00
68ea3d6e99 revert some changes 2019-07-17 20:50:54 +10:00
2da3367f3d Switch 2019-07-17 16:21:30 +10:00
3113d8dd69 Optional 2019-07-17 16:11:55 +10:00
cedb261313 fix some Command annotations 2019-07-17 15:43:18 +10:00
8108d0a936 Major command changes that don't work yet. 2019-07-16 23:44:34 -04:00
9d1117303c Removed a stupid worldname method. 2019-06-18 23:43:06 -04:00
dcd1d8d0bc Clean up/fix undo/redo. Add separate .self perm nodes. 2019-06-16 10:09:35 -04:00
1f14d4652e Upstream changes, prefix changes, formatting changes, variable name changes
I think that draining waterlogged items also works now?
2019-06-12 17:13:53 -04:00
ec001b8d3b Revert "Upstream, generics, formatting"
This reverts commit cd88e513a8.
2019-06-12 15:45:41 +02:00
cd88e513a8 Upstream, generics, formatting 2019-06-11 20:31:56 -04: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
f7cdae5e56 Disable undo if fastmode 2019-04-06 00:53:00 +11:00
f361619037 Merge remote-tracking branch 'upstream/master' into breaking 2019-04-03 16:53:34 +11:00
92a7bd5e44 minor tweak for mutable vectors 2019-04-01 03:09:20 +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
4d6045813c Move vectors to static creators, for caching 2019-01-10 07:17:04 -05:00
842b1307c7 Current Progress #3 2019-01-09 02:13:44 -05:00
888cbcedee tweak undo message 2018-10-13 15:21:39 +11:00