Jesse Boyd
1ad040f7d0
fix compile
2019-11-01 18:36:40 +01:00
Jesse Boyd
f0ab1d5f18
finish overhaul of NBT stream api
2019-11-01 18:29:13 +01:00
Jesse Boyd
9cf02fe654
WIP Anvil API
2019-10-31 21:04:02 +01:00
Jesse Boyd
b533408022
wip clipboard migration
2019-10-31 14:12:23 +01:00
Jesse Boyd
0296d566ed
wip remove faweclipboard
2019-10-31 04:04:15 +01:00
Jesse Boyd
e1b9b9e3e8
Revert "Like this @mattbdev ?"
...
This reverts commit bddf92cd9b
.
2019-10-31 00:41:36 +01:00
Jesse Boyd
ef47ea74df
Revert "Or this?"
...
This reverts commit 558144696a
.
2019-10-31 00:41:15 +01:00
Jesse Boyd
558144696a
Or this?
2019-10-30 20:03:38 +01:00
Jesse Boyd
bddf92cd9b
Like this @mattbdev ?
2019-10-30 20:01:18 +01:00
Jesse Boyd
50b7b4fb54
fix sp alias conflict
2019-10-30 18:52:55 +01:00
Jesse Boyd
0b39b4a381
wip schem vis
2019-10-30 13:14:15 +01:00
Jesse Boyd
c383fab2c2
cfi packet listener
2019-10-30 12:58:21 +01:00
Jesse Boyd
72951cdf23
Various
...
fake chunk packet
aliases
cfi wip
2019-10-30 12:26:52 +01:00
Pieter12345
bf3b91aaa7
Fix stack command diagonal shifting with -s flag
...
Fix `//stack -s [num]` shifting the selection to unexpected places. This fix causes `//stack -s [num]` behavior in diagonal directions to be consistent with the behavior in non-diagonal directions, which means that the last stack will be selected.
2019-10-28 15:02:24 +01:00
Kenzie Togami
257988b149
Add tests for expressions listed on the docs
2019-10-27 15:15:59 -07:00
Kenzie Togami
777b132a04
Catch small edge-case in parser
2019-10-27 12:58:32 -07:00
Kenzie Togami
ae71c2a51b
Clean up formatting on ANTLR grammar
2019-10-26 16:51:13 -07:00
Kenzie Togami
fa42e40281
Limit expression thread count to processor count.
2019-10-26 16:44:23 -07:00
Kenzie Togami
b0528f157a
Improve timeout tracking for expressions
2019-10-26 16:18:59 -07:00
Jesse Boyd
8356004ec9
chunk sending / cfi
2019-10-26 14:21:49 +01:00
MattBDev
678a99667d
Replaced an empty for loop with a while loop for better readability.
2019-10-25 13:40:56 -04:00
MattBDev
d20b8ddb2a
Fixed/Removed some wrong JavaDocs
2019-10-25 13:40:13 -04:00
MattBDev
ca843f1b90
Minor changes for readability
2019-10-23 22:34:44 -04:00
MattBDev
1b28dcda40
Minor changes to match upstream more closely
2019-10-23 14:29:37 -04:00
MattBDev
c050132737
Merge branch 'commanding-pipeline' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into commanding-pipeline
...
Conflicts:
worldedit-core/src/main/java/com/sk89q/worldedit/command/SchematicCommands.java
2019-10-23 13:40:45 -04:00
MattBDev
fd408c64ed
Selective merge of commanding branch.
2019-10-23 12:58:36 -04:00
Jesse Boyd
938dde68b2
Don't force load
...
didn't realize this loads the chunk, I just need to delay unloading until the operation is complete
2019-10-23 16:44:36 +01:00
Jesse Boyd
a8df8a805f
Update CFICommands.java
2019-10-23 15:58:18 +01:00
Jesse Boyd
e32bc6db4a
Use enum type for scoll actions
2019-10-23 15:44:13 +01:00
Jesse Boyd
8768085479
schem list is still broken
...
clickEvent and hoverEvent don't seem to work, I'm probably doing something wrong
2019-10-23 15:35:04 +01:00
Jesse Boyd
d904270a3d
Update CommandUtil.java
2019-10-23 05:31:26 +01:00
Jesse Boyd
2080e9786b
commanding-pipeline diff
2019-10-23 05:23:52 +01:00
Kenzie Togami
a273e55e7a
Fix gradle build
2019-10-18 22:39:52 -07:00
Kenzie Togami
1ba02c54b7
Completely rewrite the expression parser in ANTLR.
2019-10-18 22:27:31 -07:00
Kenzie Togami
9f1e7cdaaf
Small modifications for better visitors
2019-10-13 02:20:10 -07:00
Kenzie Togami
7d52374fc0
Add initial ANTLR setup + lex/parser
2019-10-13 02:02:47 -07:00
Matt
ffbb25f1ea
Fixed snapshot typo
2019-10-11 13:42:07 -04:00
MattBDev
fb91456bdd
Some changes to make the diff between 1.14-snapshot and commanding branch smaller.
2019-10-11 10:34:56 -04:00
MattBDev
0d794c1004
Minor annotation change.
2019-10-10 20:30:51 -04:00
MattBDev
c9aa6816df
Limit shouldn't ever be null.
2019-10-09 23:01:51 -04:00
MattBDev
7d60053aaf
Fixed the mixup of backslash and forward slash
2019-10-09 21:51:37 -04:00
MattBDev
f5ded1e50b
New command fix attempt
2019-10-09 21:43:14 -04:00
MattBDev
e0895ef042
New command fix attempt
2019-10-09 21:05:47 -04:00
MattBDev
ccd8f2c2a9
Attempt to fix command execution.
2019-10-09 20:43:28 -04:00
MattBDev
da3019ae3d
More compile fixes and upstream mergesa
2019-10-09 16:15:26 -04:00
MattBDev
67b3fa054a
Allow Actors to use generation commands
2019-10-07 15:23:40 -04:00
MattBDev
11d30d2f94
Disabled FAWE commands until the plugin can actually set a block again
2019-10-07 15:09:52 -04:00
Kenzie Togami
0767f56711
Update to Piston 0.5.2 + Doctools/Deprecation improvements ( #523 )
...
* Update to Piston 0.5.2
* [Doctools] Fix output, be verbose about deprecations
* Improve deprecation system, doctools output
(cherry picked from commit 03c0cce53e
)
2019-10-07 12:57:47 -04:00
MattBDev
3431bd0644
Remove old plugin support and migrate to Piston (non-FAWE)
2019-10-07 12:27:18 -04:00
Kenzie Togami
03c0cce53e
Update to Piston 0.5.2 + Doctools/Deprecation improvements ( #523 )
...
* Update to Piston 0.5.2
* [Doctools] Fix output, be verbose about deprecations
* Improve deprecation system, doctools output
2019-10-05 19:06:18 +10:00
MattBDev
51a5c22677
I hope these are the last few errors
2019-10-03 20:37:19 -04:00
MattBDev
f963e63f58
Attempt to fix compiling
2019-10-03 19:35:55 -04:00
wizjany
91f92a46fe
Apply watchdog mode to undo/redo. Abstract EditSession creation logic.
2019-09-30 18:28:13 -04:00
Kenzie Togami
7e3fc6c8e7
Disable watchdog ticking by default, //watchdog to turn on
2019-09-29 22:10:04 -07:00
Kenzie Togami
8af68fc884
Initial watchdog setup. Bukkit needs adapters, everything needs testing.
2019-09-29 22:09:55 -07:00
Kenzie Togami
fa25ad22cd
Harden JsonFileSessionStore against nulls/Gson oddities
2019-09-23 11:46:24 -07:00
Kenzie Togami
1832d08d92
Merge pull request #520 from EngineHub/feature/tool-command
...
Add /tool back, deprecate global tool commands
2019-09-22 13:27:43 -07:00
Kenzie Togami
6162a47002
Force non-Locatable actors to use placeAtPos1
2019-09-21 18:21:22 -07:00
MattBDev
94e4fb089a
Attempt to fix dependency resolution with PlotSquared
2019-09-21 21:20:59 -04:00
MattBDev
24a147465d
Fixed a bunch of extends and removed slottableblockbag
2019-09-21 21:00:45 -04:00
MattBDev
8b96cdc9a5
*
...
A tribute to Jesse
2019-09-20 21:52:35 -04:00
wizjany
44dc926c49
Fix console command usage.
2019-09-19 20:53:47 -04:00
MattBDev
68c8fca672
Fixed PlotSquared compiling issues
2019-09-19 16:43:21 -04:00
MattBDev
c926cddbd6
Item Registry Test is now functional
2019-09-19 14:56:03 -04:00
MattBDev
16e24a2400
Created an Item Registry Test (non-functional)
2019-09-19 11:30:22 -04:00
MattBDev
3bcfcd3008
Fixed bug with wands and updated tests
2019-09-18 15:09:04 -04:00
MattBDev
4357c4b049
Fixed not being able to login.
2019-09-15 12:50:37 -04:00
MattBDev
0bddb565ab
Fixed compile issue
2019-09-13 23:19:28 -04:00
MattBDev
14ed3f1d9c
Remove FawePlayer and API modifications
2019-09-13 23:05:16 -04:00
Kenzie Togami
ba26d788af
Add /brush none
and unbind aliases
2019-09-09 18:13:57 -07:00
Kenzie Togami
0e9fee3b60
Add /tool back, deprecate global tool commands
2019-09-08 17:46:29 -07:00
MattBDev
c65e06cb1b
Removed tool command
2019-09-03 15:40:59 -04:00
MattBDev
2548b955ac
Remove immutable list from brushes to prevent possible startup issue.
2019-09-03 15:33:07 -04:00
MattBDev
cafb4120ef
More upstream compatibility fixes
2019-09-03 15:21:53 -04:00
MattBDev
e88adea066
Added WorldConverter.java
2019-09-03 12:35:22 -04:00
MattBDev
c03015adc8
Temporarily removed the world command
...
Issues need to be worked out and investigated.
2019-09-02 15:41:43 -04:00
MattBDev
46550a076f
Possible compile fix
2019-09-02 15:37:01 -04:00
MattBDev
06a92d29b1
Merge branch 'commanding' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into commanding
...
# Conflicts:
# worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/BukkitImplAdapter.java
# worldedit-core/src/main/java/com/sk89q/worldedit/command/ApplyBrushCommands.java
# worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/PlatformCommandManager.java
# worldedit-libs/core/build.gradle.kts
2019-09-02 15:24:53 -04:00
MattBDev
c20f4c6b7f
Fixed a null pointer. Merged in a bunch of CLI stuff.
2019-09-02 15:22:43 -04:00
Matthew Miller
a73a45ce43
Create parser context data for factory converter in non-user-mode
2019-08-31 16:30:51 +10:00
Kenzie Togami
299d703f24
[Doctools] Fix //expand listing, ensure no missed commands
2019-08-29 19:58:00 -07:00
NotMyFault
e8a768f7c8
Fix issue on startup and update outdated links
2019-08-29 15:52:08 +02:00
Jesse Boyd
68eea925e1
update adapter and platform manager
2019-08-29 13:57:03 +01:00
Matthew Miller
44bffc5a86
Use https for the pastebin service
2019-08-27 21:54:53 +10:00
Kenzie Togami
45bfa0d140
[Doctools] Add command-topic for CSS markup
2019-08-26 00:45:08 -07:00
Kenzie Togami
7af397bd56
[Doctools] Fix //rotate description quoting
2019-08-26 00:17:22 -07:00
Jesse Boyd
aa4c443358
Revert "Revert 'revert ivy change'"
2019-08-26 06:03:58 +01:00
Jesse Boyd
edb626a961
merge
2019-08-26 05:49:00 +01:00
Jesse Boyd
4e49d16505
fix dependencies
2019-08-26 05:45:03 +01:00
Matthew Miller
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
NotMyFault
c5d3c4dca7
Build "Fawe" and credit Matt ❤️
...
Also update PlotSquared stuff
2019-08-23 15:48:51 +02:00
Jesse Boyd
ae89c16390
merge
2019-08-23 08:36:33 +01:00
MattBDev
20fff1c668
Commands can't have overlapping aliases
2019-08-22 21:40:22 -04:00
MattBDev
c36db8de37
Attempt 2
2019-08-22 21:10:31 -04:00
MattBDev
70d4af006a
attempt at setting up fawe.properties
2019-08-22 21:06:03 -04:00
MattBDev
b5b89412d9
Let's try this
2019-08-22 16:12:50 -04:00
MattBDev
37d3fcd01c
upgrade zstd
2019-08-22 15:21:38 -04:00
MattBDev
b2ca05bc54
shade in missing dependency
2019-08-22 15:11:13 -04:00
MattBDev
cc7e452d4b
We aren't even using this yet
2019-08-22 13:17:30 -04:00
MattBDev
135c12b650
More compile fixes
2019-08-22 13:14:27 -04:00
MattBDev
6998c2d230
fix compile
2019-08-20 16:03:50 -04:00
MattBDev
64a1bfc9b3
migrate to gradle to kotlin
2019-08-20 14:52:24 -04:00
MattBDev
1eec4884c8
Attempt at fixing NamespacedRegistry
2019-08-19 14:12:28 -04:00
MattBDev
45f947a3b2
migrated settings.gradle to kotlin
2019-08-19 14:00:37 -04:00
MattBDev
f04cae1686
Merge branch 'commanding' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into commanding
2019-08-18 10:42:37 -04:00
Jesse Boyd
d434dfcfdd
some minor refactoring
2019-08-18 02:09:09 +01:00
Jesse Boyd
21caf0cf94
delete some classes
2019-08-18 01:59:07 +01:00
MattBDev
4db192c9b8
fixes and brush command tweaks
2019-08-17 18:50:06 -04:00
MattBDev
f8758994c3
gradle updates
2019-08-15 15:39:20 -04:00
MattBDev
cbbe8b5dfa
upstream changes
2019-08-15 15:24:18 -04:00
Kenzie Togami
a0b9810c44
[Doctools] Read source files for command ordering
2019-08-13 20:06:15 -07:00
Kenzie Togami
33633acbe7
Add validator extent to every entry point, fix extent ordering
2019-08-12 10:04:29 -07:00
Kenzie Togami
f472c20bfb
Memory optimizations ( #505 )
...
* Remove LocatedBlock overhead in LBL map
* Add new space-efficient block map, with thourough testing
* Drop ordering property, add full insertion test
* Add licenses
* Fix mocked platform conflicts
* Disable full block map testing for faster builds
* Re-implement BlockMap with fastutil maps
* Re-write chunk batching to be memory efficient
* Make MultiStageReorder use BlockMap
* Increase LBL load factor, fix long-pack limit detection
* Fix infinite loop in chunk batching
* Save memory in history by cleaning up MSR
* Re-implement LocatedBlockList in BlockMap
* Fix data race with BlockType lazy fields
* Make IDs ALWAYS present, only runtime-consistent. Use for memory efficiency in BlockMap
* Remap inner structure of BlockMap for smaller maps
* Remove containedBlocks fields, not very efficient
* Fix minor de-optimizing bug in stage reorder
* Make long packed y signed
* Add extended Y limit configuration option
* Add licenses
* Store 3 ints for unoptimized BV list
* Add final to BitMath
* Correct int-cast for long-packing
2019-08-12 22:06:40 +10:00
wizjany
61bc012f6f
Fix source masks using EditSession instead of clipboard. ( #515 )
2019-08-10 11:54:22 -04:00
Jesse Boyd
7a57a5dd8c
minor
...
idk it compiles now
2019-08-10 16:01:42 +10:00
Kenzie Togami
f83de2a703
Fix bug with spaces at end of suggestions.
2019-08-08 16:28:00 -07:00
wizjany
0e25839490
Fix schematic list box loading schems with spaces in path.
2019-08-08 10:14:16 -04:00
wizjany
95d5adb30c
Update docs links to point to enginehub.
2019-08-06 21:49:43 -04:00
Jesse Boyd
3b879477b6
more compiling
2019-08-07 10:25:57 +10:00
Jesse Boyd
ee59dec3d8
comments / minor compiling
2019-08-07 10:13:07 +10:00
Jesse Boyd
3c626ef25a
Differentiate passthrough / abstract delegate
...
AbstractDelegateExtent allows overriding just the basic set/get to change behavior - at performance cost
Passthrough passes all operation, so each must be individually overrided.
2019-08-07 06:38:25 +10:00
Jesse Boyd
322a3e66be
piston doesn't like conditions
2019-08-07 06:24:05 +10:00
Jesse Boyd
92fb90de09
Fix some arguments
2019-08-07 06:18:44 +10:00
Jesse Boyd
4c2b753687
merge
2019-08-07 01:32:05 +10:00
Jesse Boyd
a476ab1ea0
merge
2019-08-07 01:29:49 +10:00
Jesse Boyd
a3c58a187e
merge
2019-08-07 01:29:09 +10:00
Jesse Boyd
74fe88ae01
merge
2019-08-07 01:28:12 +10:00
Jesse Boyd
b6bc09226c
conflicts
2019-08-07 01:25:53 +10:00
wizjany
d822ccc9e5
This is how Mojang checks if trees can grow.
...
Subject to changes.
2019-08-05 23:16:42 -04:00
wizjany
e25a6d21cd
Add -e/-b/-m flags to //stack and //move, to match copy and paste.
...
Fixes WORLDEDIT-3935.
2019-08-05 22:47:57 -04:00
wizjany
a1465c02ed
Make EditSession#center (//center) set even y blocks.
...
At some point this was fixed for x and z but never for y...
2019-08-05 22:44:51 -04:00
wizjany
6ab74dc7e5
Add missing radius checks.
...
Courtesy @mathiascode.
2019-08-05 17:39:00 -04:00
wizjany
4b54c32f3a
Skip invalid blocks in schematics.
2019-08-04 15:56:16 -04:00
MattBDev
5c6c41a95a
Docs, command, and formatting changes.
2019-08-03 22:43:29 -04:00
wizjany
df9d766eb3
Merge pull request #513 from EngineHub/bugfix/reloadable-internal-state-ids
...
Re-load internal state IDs when WORLD_EDITING cap is re-loaded
2019-08-03 09:59:10 -04:00
Kenzie Togami
f848d3114f
Re-load internal state IDs when WORLD_EDITING cap is re-loaded
2019-08-02 15:47:29 -07:00
wizjany
9a133c05d1
Merge pull request #510 from EngineHub/feature/blocks-are-patterns
...
Make BlockStateHolder extend Pattern.
2019-08-02 17:42:14 -04:00
wizjany
afae2b0784
Make TE tag optional for MCEdit schems too.
...
And name our threads here too.
2019-08-01 20:15:34 -04:00
MattBDev
cb03ed2fe8
remove Fast2DIterator
2019-07-30 15:27:59 -04:00
MattBDev
0d2b0025ce
Merge branch 'commanding' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into commanding
...
# Conflicts:
# worldedit-core/src/main/java/com/sk89q/worldedit/command/MaskCommands.java
2019-07-29 21:06:11 -04:00
MattBDev
198427dc3d
fix more compile errors
2019-07-29 21:05:31 -04:00
Jesse Boyd
accc62c10b
7963b2c9
2019-07-30 07:48:19 +10:00
Jesse Boyd
cdb9abc117
9a4473b73f
2019-07-30 07:44:19 +10:00
Jesse Boyd
7967ef4db4
ff586011
2019-07-30 07:39:18 +10:00
MattBDev
12114ec987
Minor changes
2019-07-29 11:19:38 -04:00
MattBDev
7f51791d6c
Merge remote-tracking branch 'remotes/origin/commanding' into commanding
...
# Conflicts:
# worldedit-core/src/main/java/com/sk89q/worldedit/command/ChunkCommands.java
# worldedit-core/src/main/java/com/sk89q/worldedit/command/UtilityCommands.java
2019-07-29 10:58:41 -04:00
MattBDev
ca54f8c371
Work on CLI and I forget what else
2019-07-29 10:57:28 -04:00
wizjany
9d9e3ea065
Remove overrides.
2019-07-28 22:50:42 -04:00
wizjany
6631b6bdf0
Make BlockStateHolder extend Pattern.
...
Removes the need for wrapping them in BlockPattern.
2019-07-28 18:20:00 -04:00
Jesse Boyd
02d5f3e8d5
Update PlatformManager.java
2019-07-29 05:27:50 +10:00