MattBDev
198427dc3d
fix more compile errors
2019-07-29 21:05:31 -04:00
Jesse Boyd
7967ef4db4
ff586011
2019-07-30 07:39:18 +10: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
6631b6bdf0
Make BlockStateHolder extend Pattern.
...
Removes the need for wrapping them in BlockPattern.
2019-07-28 18:20:00 -04:00
Jesse Boyd
1c256c1f5a
add Range annotation
2019-07-29 05:26:44 +10:00
Jesse Boyd
3303434d52
listchunks doesn't need to be a list
...
Nor does it need to be a string. As long as we can iterate, it should be fine.
This somewhat mitigates OOM from listchunks.
2019-07-29 05:03:17 +10:00
wizjany
c93e5ccfdf
Don't suggest ##* for masks.
2019-07-28 10:02:47 -04:00
Kenzie Togami
50cea37439
Fix other minor suggestion bugs
2019-07-27 23:49:11 -07:00
wizjany
8f33e0d550
Make a bunch of paginations internal, generify command boxes. ( #509 )
2019-07-27 14:35:38 +10:00
MattBDev
7963b2c92f
Removed commands.yml
...
I also did a few renames as well as a command registration fix.
2019-07-26 19:23:24 -04:00
MattBDev
ff5860113d
It started on work with commands then I got carried away.
2019-07-25 14:44:10 -04:00
wizjany
8545417b3a
Fix error in /up when used out of bounds.
...
Also reduce calls to Entity#getLocation() all over since it's
more expensive than it needs to be (adapts world/vector every time).
2019-07-23 22:16:26 -04:00
MattBDev
01c371df9c
Minor upstream changes and obviously more command work
2019-07-23 19:17:38 -04:00
MattBDev
9816eb3102
More work on commands
2019-07-23 16:26:18 -04:00
MattBDev
478c330c1e
Merge branch 'commanding' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into commanding
...
# Conflicts:
# worldedit-core/src/main/java/com/boydti/fawe/command/CFICommands.java
# worldedit-core/src/main/java/com/boydti/fawe/object/extent/NullExtent.java
2019-07-22 22:26:00 -04:00
MattBDev
b230999ca0
Mainly formatting and some work on schematic commands
2019-07-22 22:22:32 -04:00
Jesse Boyd
c05d425f64
couple more compilation issues
2019-07-23 06:58:18 +10:00
MattBDev
46f5b12b36
Convert tabs to whitespace.
2019-07-22 16:42:40 -04:00
Jesse Boyd
4d8cf04be1
fix some more compilation issues
2019-07-22 19:05:14 +10:00
Jesse Boyd
55196cec6d
Update GenerationCommands.java
2019-07-22 16:57:12 +10:00
Jesse Boyd
53eba86cdc
Delete SelectionCommand.java
2019-07-22 16:57:06 +10:00
Jesse Boyd
90044382d4
typo
2019-07-22 16:47:12 +10:00
Jesse Boyd
42a65ac924
@Range
2019-07-22 16:44:03 +10:00
Jesse Boyd
283351fea5
fix conflicts
2019-07-22 16:39:43 +10:00
Jesse Boyd
07283af614
some bindings
2019-07-22 16:02:51 +10:00
MattBDev
9c3122a227
More work on getting commands to compile
2019-07-21 22:49:08 -04:00
Jesse Boyd
f5c202af6d
BrushCommands
2019-07-21 21:39:36 +10:00
Jesse Boyd
ee5e15eda3
visual chunk
2019-07-20 15:32:15 +10:00
Jesse Boyd
85ebee7da7
brush settings
2019-07-20 01:29:49 +10:00
Jesse Boyd
e86e4c9c53
wip on FaweQueue
2019-07-19 06:49:29 +10:00
Jesse Boyd
f500b5e056
CommandContext + Confirmation
...
Use InjectedValueAccess instead
Fix command confirmation
2019-07-19 06:03:27 +10:00
Jesse Boyd
81298bf555
add command queuing
2019-07-19 03:10:04 +10:00
Jesse Boyd
6e13b44f84
resolve issues with 2e67425d8131a2b1eb7ff752335bccf371801b8b
2019-07-18 20:12:23 +10:00
Jesse Boyd
be8213d8ee
resolve conflicts
2019-07-18 16:56:57 +10:00
Jesse Boyd
dd38cbe750
.
2019-07-18 04:30:02 +10:00
Jesse Boyd
905fbf5a0b
8108d0a9
2019-07-18 02:31:13 +10:00
Jesse Boyd
1d413cde76
BrushTool typo
2019-07-17 10:56:28 -04:00
Jesse Boyd
68ea3d6e99
revert some changes
2019-07-17 20:50:54 +10:00
Jesse Boyd
08dead5a86
cleanup build script
2019-07-17 19:43:14 +10:00
Jesse Boyd
2da3367f3d
Switch
2019-07-17 16:21:30 +10:00
Jesse Boyd
3113d8dd69
Optional
2019-07-17 16:11:55 +10:00
Jesse Boyd
cedb261313
fix some Command annotations
2019-07-17 15:43:18 +10:00
MattBDev
0e54f196fc
Deleted a class and work on generation commands
2019-07-16 23:57:35 -04:00
MattBDev
8108d0a936
Major command changes that don't work yet.
2019-07-16 23:44:34 -04:00
wizjany
05cee0a30b
Don't overwrite history during changes.
...
Fixes issues with some changes not being undone.
I mean, the sphere algorithm needs to not set blocks 20 times,
but other things can trigger this too.
Also allow radius 0 sphere via //sphere (because /br sphere allows it).
2019-07-16 21:43:14 -04:00
Jesse Boyd
cf09ca7f37
delete FaweQueue
2019-07-12 01:32:14 +10:00
NotMyFault
f0cabb7d11
Build 1.14 artifacts
2019-07-11 13:13:43 +02:00
Jesse Boyd
cf0c735cf3
Merge branch 'breaking' into breaking-114
2019-07-11 08:08:55 +10:00
Kenzie Togami
9e7d46662c
Merge pull request #498 from EngineHub/feature/improved-chunk-batching
...
Buffered extent improvements
2019-07-10 14:25:22 -07:00
Kenzie Togami
e87a5559d6
Ensure blocks are not moved below world boundary
2019-07-10 14:10:22 -07:00
MattBDev
4a40c7d99c
Renaming and cleanup and a new method.
2019-07-09 15:50:13 -04:00
Jesse Boyd
f99d6e7478
wip on 1.14
2019-07-09 17:18:51 +10:00
Kenzie Togami
2ee71cc72f
Grav brush: move to bottom, not down one
2019-07-06 15:41:11 -07:00
Kenzie Togami
3ad80665d8
Fix gravity brush itself, not EditSession
2019-07-06 00:12:17 -07:00
wizjany
508ece9e0f
Use pagination for //distr and store results. ( #496 )
2019-07-04 19:33:37 -04:00
wizjany
a2b3aabbbf
Typo fixes and command clarifications/cleanup.
...
Also re-disable the gradle daemon. It doesn't always play nice with
ForgeGradle and hogs ram.
2019-07-04 19:28:42 -04:00
MattBDev
ffc2092d93
toggles and timeouts
2019-06-30 14:56:32 -04:00
wizjany
625cbe5e3d
Make //count take a mask. Also doc updates, perm fixes.
2019-06-30 00:38:17 -04:00
wizjany
1d1c38887f
Added worldedit.setwand
permission required to change wand/navwand.
...
Players without this perm will be stuck with the configuration-defined
default wand/navwand items.
2019-06-29 14:15:58 -04:00
wizjany
6be77451b6
Correct perms for nav wand binding.
2019-06-29 13:55:58 -04:00
wizjany
b5e895c37e
Update info tool to components.
2019-06-28 18:02:06 -04:00
wizjany
927ae6d076
Allow block replacer to copy TEs.
2019-06-28 16:29:21 -04:00
wizjany
2b0a4bab27
Change unknown selector to list to enable suggestions.
2019-06-28 16:23:24 -04:00
wizjany
c0f2557f15
Make the selection wand and navigation wand normal tools. ( #493 )
...
This means users can bind and unbind them to any item, like other tools.
By default, the items in config will be automatically bound. After
setting a different item via `//selwand` or `//navwand`, that item will
subsequently be used for that user.
Also add -n to //wand to get a navwand.
Also various other tool-related cleanup.
2019-06-28 15:45:16 -04:00
Jesse Boyd
8b9a2ff18c
get tool from player
2019-06-29 04:27:46 +10:00
Jesse Boyd
58c6b6278f
a69b239848
2019-06-29 04:20:48 +10:00
Jesse Boyd
8c44c532c4
753b34ef99
2019-06-29 02:35:41 +10:00
Jesse Boyd
ec8422bc13
1f14d4652e
2019-06-29 02:09:56 +10:00
Jesse Boyd
846a1b0769
6c94cca15e
2019-06-29 00:01:51 +10:00
MattBDev
d0a31691e1
Small changes
2019-06-26 20:14:00 -04:00
MattBDev
a69b239848
Upstream
2019-06-25 13:07:47 -04:00
MattBDev
a1c15e1c39
Many upstream changes. Should be non-breaking
2019-06-25 09:00:44 -04:00
MattBDev
57f992a524
Remove nullblock from EditSession
2019-06-23 14:05:14 -04:00
MattBDev
753b34ef99
Cleaned commands and extents a bit.
2019-06-23 14:00:22 -04:00
MattBDev
8c9090a21d
I changed stuff. That's all I remember
2019-06-23 13:27:34 -04:00
wizjany
8fcc22c21d
Cleanup multiple batch usage for chunk deletion.
2019-06-22 15:01:00 -04:00
wizjany
d763ab374c
Re-add delchunks command ( #481 )
...
The new command now writes a json file to WorldEdit's working directory with instructions on which chunks to delete, which is read by the plugin/mod at startup and calls the ChunkDeleter.
The chunk deleter parses the json and iterates the instructions, backing up .mca files as it goes and overwriting the offset headers with 0 wherever a chunk needs to be deleted.
This allows Minecraft to reclaim the space used for that chunk, as well as forcing it to be generated from scratch next time the area is loaded.
2019-06-22 14:20:14 -04:00
MattBDev
9d1117303c
Removed a stupid worldname method.
2019-06-18 23:43:06 -04:00
Kenzie Togami
c97071c0f4
Merge pull request #482 from EngineHub/forge-1.14
...
Update to Forge 1.14.
2019-06-16 14:03:35 -07:00
wizjany
dcd1d8d0bc
Clean up/fix undo/redo. Add separate .self perm nodes.
2019-06-16 10:09:35 -04:00
wizjany
078d6f6440
Update to Forge 1.14.
2019-06-15 20:47:48 -04:00
wizjany
6e833a9fe4
Correctly unwrap old CommandExceptions in AsyncCommandBuilder.
2019-06-13 14:35:24 -04:00
wizjany
7787f2c15e
Use AsyncCommandBuilder for /calc.
2019-06-13 10:17:37 -04:00
wizjany
213cadf093
Import cleanup, ensure gradle uses https for deps, bump deps.
2019-06-13 09:17:00 -04:00
wizjany
6f7927bc5a
Skip poi folders for snapshot restores.
...
New to 1.14, Mojang stores .mca files which don't contain chunks in the
poi folder.
Note: we explicitly filter *out* the poi folder, instead of filtering
*to* the regions folder, since old versions of minecraft had regions
directly in the world folder (instead of a regions subfolder).
2019-06-12 21:51:22 -04:00
NotMyFault
5f037df326
Adding missing permissions
...
Added some basic permissions to some basic and fawe specific commands.
Since they weren't around previously, they are true by default, however, you can now revoke/negate them.
2019-06-13 00:48:40 +02:00
MattBDev
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
NotMyFault
ec001b8d3b
Revert "Upstream, generics, formatting"
...
This reverts commit cd88e513a8
.
2019-06-12 15:45:41 +02:00
MattBDev
cd88e513a8
Upstream, generics, formatting
2019-06-11 20:31:56 -04:00
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
MattBDev
7f3c4c4828
A lot of removals, upstream merges, and maybe more.
2019-06-07 20:58:48 -04:00
MattBDev
229182aa63
Remove CUI and other cleaning
2019-06-06 18:39:51 -04:00
MattBDev
b42553116c
Removal of many prefixes and deprecation of FaweLocation
...
- Removed some prefixes to help make upstream merging a bit easier.
- Replaced reflection code for titles with the regular bukkit api.
- Removed FAWELocation and FAWEPlayer where it wasn't needed.
- Deprecated FaweLocation since having it in the first place is very stupid.
- FAWEPlayer should also be deprecated soon because the majority of that code is redundant.
2019-06-05 21:28:02 -04:00
wizjany
d7c11cbb69
Handle sub-commands without permissions.
2019-06-04 22:13:16 -04:00
wizjany
a904ff9fb9
Check sub-command permissions.
...
This ensures root commands aren't sent to the client/suggested unless
a player has at least one subcommand available to them.
2019-06-04 22:13:16 -04:00
MattBDev
6c94cca15e
Selective upstream merge
...
Signed-off-by: MattBDev <4009945+MattBDev@users.noreply.github.com>
2019-06-04 12:40:11 -04:00
wizjany
1e7c074217
Few misc command fixes.
2019-06-01 09:35:27 -04:00
wizjany
9099a17fe5
Some command refactoring. Switch usages of page args to -p flag.
2019-06-01 07:04:07 -04:00
Kenzie Togami
620992dd57
Update Piston to 0.4.0 for bugfixes
2019-06-01 01:51:25 -07:00
MattBDev
c73fc28847
Minor upstream changes
2019-05-31 11:20:02 -04:00
MattBDev
a0eb7ce59e
Typo Fixes and Added Annotations
2019-05-28 23:23:51 -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
Jesse Boyd
6bc5b4a823
.
2019-05-29 06:31:22 +10:00
wizjany
871c25e1cd
Initial support for 1.14.2.
2019-05-27 19:52:58 -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
7b47d9a945
Add /tracemask. ( #474 )
...
Allows setting a mask used for block traces. This allows brush tools to
pass through various materials, such as water (e.g. `/tracemask #solid`
or `/tracemask !air,water`) before starting to build.
By default, a null mask is equivalent to #existing (original behavior).
https://gfycat.com/ImmaculateFrayedCockatiel
2019-05-23 21:12:31 -04: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
Kenzie Togami
e7613dd879
Stop using IAE to communicate parameter mis-use
2019-05-14 17:57:05 -07:00
wizjany
10f7fb6a26
Add //br and //brush as aliases.
2019-05-13 18:49:43 -04:00
wizjany
9a913a93f6
Fix throwing uncaught exceptions in AsyncCommandBuilder.
2019-05-13 18:49:43 -04:00
wizjany
7b170d8193
Run schematic-file I/O in a task.
2019-05-12 16:01:22 -04:00
wizjany
fab21c3eea
Add AsyncCommandBuilder as replacement for AsyncCommandHelper.
...
See full explanation at https://github.com/EngineHub/WorldGuard/pull/408
2019-05-12 14:36:57 -04:00
Jesse Boyd
da034f9ac4
Use mask for hollow
...
Closes #1298
2019-05-13 00:28:48 +10:00
Jesse Boyd
43a6541763
shift some code to EditSessionBuilder
2019-05-13 00:21:01 +10:00
Jesse Boyd
c797dcb194
WIP filter patterns
2019-05-12 23:32:04 +10:00
wizjany
56908a7d62
Update to final Sponge schem v2 spec.
...
Read lenient, write strict.
2019-05-09 16:59:06 -04:00
wizjany
e2e903ca5e
Pass service to brush sub-commands too.
2019-05-09 11:14:10 -04:00
Kenzie Togami
8d68da09a3
Minor versioning changes
2019-05-09 15:02:11 +02: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
NotMyFault
e2513e2c08
Fix paste service
2019-05-05 20:43:56 +02:00
wizjany
bc8e477b1c
Fix error message with invalid //expand args.
2019-05-04 22:48:49 -04:00
wizjany
018b6bead8
Tweak removeabove/removebelow commands.
...
Fix misplaced negative.
Layer 0 will always be the current layer, plus <height> layers
above/below. No longer adds 1 arbitrarily to height.
2019-05-02 19:01:28 -04:00
Jesse Boyd
f5944fbcaf
filter set
2019-05-03 00:45:03 +10:00
Jesse Boyd
8dcc005ec1
tile/biome/entity set
2019-05-02 18:27:33 +10:00
wizjany
5e81dd1c4c
Make registries Keyed.
2019-05-01 20:12:35 -04:00
Jesse Boyd
f96760b36c
block set test
2019-05-02 02:01:41 +10:00
Jesse Boyd
eec08c81ad
async chunk loading
2019-05-02 01:45:18 +10:00
Kenzie Togami
fb4fb980e0
Condense some command packages
2019-04-30 15:03:18 -07:00
Kenzie Togami
743d7f08ab
Purge intake-like command system
2019-04-30 14:59:45 -07:00
Jesse Boyd
33e119ccb6
implement block get
2019-05-01 02:19:10 +10:00
Kenzie Togami
b1c042b196
Add checkstyle validation for formatting, fix issues
2019-04-29 22:40:32 -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
wizjany
8baf221c95
Hide help buttons in //sel selector box.
2019-04-29 17:38:26 -04:00
NotMyFault
ea07b540b1
Minor amendments
2019-04-29 18:13:58 +02:00
Kenzie Togami
6c21ae5c83
Drop old calc message
2019-04-28 22:09:48 -07:00
Kenzie Togami
82c4846436
Add more variable args for expressions, quoting
2019-04-28 22:03:54 -07:00
Kenzie Togami
d4fce65abc
A few command fixes
2019-04-28 21:42:45 -07:00
Kenzie Togami
2580a0cf97
Use 'shape' instead of 'regionFactory' in user-facing ctx
2019-04-28 17:30:58 -07:00
Kenzie Togami
6255ccce38
Minor bug fixes
2019-04-28 17:27:33 -07:00
NotMyFault
bf684d478e
Remove hashtag preventing wrong issue references
2019-04-28 20:11:05 +02:00
NotMyFault
c64b59da2f
Fix build number in version
2019-04-28 11:34:07 +02:00
Matthew Miller
32d4b36419
Fixed //drawsel
2019-04-28 17:05:37 +10:00
Matthew Miller
6e016a66f0
Fixed //size on clipboards
2019-04-28 16:05:01 +10:00
wizjany
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
Matthew Miller
62353a46db
Added a pagination box and use it in Biome List and Chunk List
2019-04-27 21:57:45 +10:00
Kenzie Togami
0960f70e6b
Update to latest Piston changes
2019-04-27 03:35:44 -07:00
Matthew Miller
7dcf8f5a45
Fixed //setbiome
2019-04-27 17:32:02 +10:00
Matthew Miller
f94093239f
Setup a registry converter
2019-04-27 16:46:13 +10:00
Matthew Miller
968decf62e
Remove the -l lightning flag from butcher
2019-04-26 23:42:57 +10:00
Kenzie Togami
23279c007e
Fix intialization, rework registration
2019-04-26 01:38:06 -07:00
Kenzie Togami
7ff537138a
Merge master again
2019-04-26 01:25:42 -07:00
Kenzie Togami
b8c120e0c4
Finish porting commands
2019-04-26 01:18:02 -07:00
wizjany
648ecf2153
Add entity, biome, and mask flags to clipboard brush.
2019-04-26 16:41:39 +10:00
wizjany
f0587354be
Cleanup, make copy/paste flags consistent, add status messages.
2019-04-26 16:41:39 +10:00
wizjany
af1af43ac1
Allow copy/pasting biomes.
...
Copy takes a -b flag to copy biomes.
Paste takes a -b flag to paste biomes (if available).
This allows flexibility to create/load schematics with/without biomes
(when schematic biome support is added).
Also added a -m mask flag to paste to set a source mask, and a -e flag
to skip pasting entities if they are loaded.
2019-04-26 16:41:39 +10:00
Kenzie Togami
46e0a7ba48
Port //set
2019-04-25 23:16:18 -07:00
Kenzie Togami
2486388e18
Fix help command suggestion
2019-04-25 23:02:23 -07:00
Kenzie Togami
853bfab022
Merge master, update to texts
2019-04-25 22:11:46 -07:00
Kenzie Togami
d8290cbd8f
Port worldedit commands
2019-04-25 21:03:28 -07:00
Kenzie Togami
9b0fda9f83
Port utility commands
2019-04-25 19:36:22 -07:00
Kenzie Togami
c05e1ed0cc
Fix a few bugs in tool commands
2019-04-25 13:30:16 -07:00
Kenzie Togami
8c2b725f42
Port toll / tool util commands, add more enums
2019-04-25 12:49:03 -07:00
Matthew Miller
db4871f022
Merge pull request #462 from EngineHub/feature/expanded-styleset
...
feat(text): added modern text formatting to worldedit, and switch a few things over to it
2019-04-25 19:39:26 +10:00
Matthew Miller
5606e752c2
Use wrappers for the Format-type components
2019-04-25 19:11:58 +10: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
c95fc06b82
Port scripting commands
2019-04-23 19:32:27 -07:00
Kenzie Togami
f81ffdde0c
Port region commands
2019-04-23 18:46:46 -07:00
Kenzie Togami
f2283e8ad0
Port navigation commands
2019-04-23 16:14:21 -07:00
Kenzie Togami
6d4982f23a
Fix checkstyle/license/gen code
2019-04-23 15:44:33 -07:00
Kenzie Togami
20da6227d4
Port history commands
2019-04-23 15:35:05 -07:00
Kenzie Togami
31486cd473
Port generation commands
2019-04-23 10:11:54 -07:00
Matthew Miller
c52eb59d7f
Get it all working
2019-04-22 22:05:20 +10:00
Kenzie Togami
51be16ad81
Port GeneralCommands
2019-04-21 13:10:20 -07:00
NotMyFault
43fec813b8
Moving some commands
2019-04-21 19:01:49 +02:00
NotMyFault
640fac6374
Add flags
2019-04-21 10:28:50 +02:00
Kenzie Togami
1e7b4fc835
Move shaded libraries to their own artifacts
2019-04-20 23:11:39 -07:00
wizjany
a9926328f1
Stop trying to redo when history runs out.
2019-04-20 12:14:11 -04:00
Matthew Miller
5b1573a24e
Replace the message system
2019-04-19 23:06:00 +10: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
37c993be16
Port ClipboardCommands, update to new Key
2019-04-18 12:34:57 -07:00
NotMyFault
a22ba45b1c
Minors
2019-04-18 20:47:25 +02:00
Kenzie Togami
f33140b327
Port ChunkCommands, fix up injection, simplify registration
2019-04-16 23:02:23 -07:00
NotMyFault
7b8bf18309
Fixes #124
...
This fixes the output of /fawe version and gives the versioning a fresh overhaul as well
2019-04-17 00:35:39 +02:00
NotMyFault
988c4b042d
Minors
2019-04-16 17:14:53 +02:00
Jesse Boyd
8c30c72b73
Fix repl
2019-04-16 13:08:57 +10:00
Jesse Boyd
a4de4e1a65
Use format extension here
2019-04-15 21:22:58 +10:00
Jesse Boyd
f849caf655
Fix clipboard upload/download
2019-04-15 21:05:26 +10:00
Kenzie Togami
e127bb89e5
Align annotation formatting with brush command methods
2019-04-15 02:03:05 -07:00
Kenzie Togami
e4d8091432
Convert part of the brush commands
2019-04-15 02:01:25 -07:00
Kenzie Togami
2b10128720
Restore Logging for setbiome
2019-04-15 01:25:19 -07:00
Kenzie Togami
267ccf2298
First attempt at integrating Piston as the only command system
2019-04-15 01:21:15 -07:00
Jesse Boyd
a8b0fd21bb
Minor tweaks to work with build.js
2019-04-14 22:46:01 +10:00
Kenzie Togami
f8c4f23658
Partial work on biome commands, need logging replacement
2019-04-14 01:30:40 -07:00
NotMyFault
20cb114357
Reorder commands
2019-04-13 20:45:04 +02:00
NotMyFault
d26e7e142f
Fixes #15
2019-04-13 16:13:19 +02:00
NotMyFault
0781c762e6
Merge branch 'remove-auto_updater' into breaking
2019-04-13 12:30:54 +02:00
NotMyFault
c4dc39edbf
Remove report system
2019-04-13 12:18:03 +02:00
NotMyFault
dcfa436c64
Minors
...
- Make disallowed-blocks translatable
- Add more trnslatable messages
- Update WorldEdit messages missing a prefix
2019-04-11 19:49:09 +02:00
Jesse Boyd
7a88039711
Fixes #105
2019-04-12 01:04:54 +10:00
Jesse Boyd
c05cdb35d8
Don't use CommandContext here
2019-04-12 00:56:59 +10:00
Mgazul
652f27c853
Fix fixLiquid
2019-04-09 11:29:43 +08:00
Jesse Boyd
1529c187d2
Merge branch 'breaking' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into breaking
2019-04-07 17:41:51 +10:00
Jesse Boyd
31ac2b69d1
Fix block rotation
2019-04-07 17:41:26 +10:00
Jesse Boyd
c8529b0609
.
2019-04-07 10:52:30 +10:00
NotMyFault
ab3394c35e
Add prefixes and make FAWE more translatable
2019-04-07 01:13:23 +02:00
Jesse Boyd
0afae082c2
Remove string switches for BlockType
2019-04-06 03:34:11 +11:00
Jesse Boyd
d49c5ebe74
translate a few utility commands
2019-04-06 03:04:27 +11:00
Jesse Boyd
f7cdae5e56
Disable undo if fastmode
2019-04-06 00:53:00 +11:00
Jesse Boyd
be5541b61b
revert some changes
2019-04-05 15:48:41 +11:00
Jesse Boyd
94d5d8df8e
Merge branch 'master' into breaking
2019-04-05 15:47:04 +11:00
Jesse Boyd
140809c903
Working now
2019-04-05 15:15:10 +11:00
Kenzie Togami
8ab6585815
Patch new cmds system into old system
2019-04-04 16:16:04 -07:00
Kenzie Togami
1966e5a8a2
Initial Piston conversion test. Non-functional.
2019-04-04 15:50:45 -07:00
Jesse Boyd
4de5487c51
Change Vector hash codes ( #456 )
...
And add additional unit vectors where needed.
2019-04-04 08:36:19 -04:00
Jesse Boyd
1beea3cd22
Some more upstream merge
2019-04-04 21:28:41 +11:00
Jesse Boyd
3d2054aa0a
WorldEdit accepts a pattern for these commands
...
update the message to reflect that.
2019-04-03 19:39:12 -04:00
Jesse Boyd
8897109dc4
wip upstream merge
2019-04-04 00:25:16 +11:00
Jesse Boyd
7086eb8b3e
continue with merge
2019-04-03 22:28:57 +11:00
Jesse Boyd
4cd8d08134
merge with upstream (broken)
2019-04-03 16:53:58 +11:00
Jesse Boyd
f361619037
Merge remote-tracking branch 'upstream/master' into breaking
2019-04-03 16:53:34 +11:00
Jesse Boyd
9fbcbc7cea
<pattern> not <block>
...
As there are actual commands that will only accept blocks
2019-04-03 15:40:31 +11:00
matt
29692f3fbe
Migrate to SLF4J
2019-04-02 18:21:02 -04:00
matt
47e66913e3
Selective upstream merge
2019-04-02 16:26:51 -04:00
Jesse Boyd
64a134a9ee
Merge remote-tracking branch 'refs/remotes/origin/master' into new-vector-system
...
# Conflicts:
# build.gradle
# worldedit-core/build.gradle
# worldedit-core/src/main/java/com/boydti/fawe/util/IncendoPaster.java
# worldedit-core/src/main/java/com/sk89q/worldedit/command/WorldEditCommands.java
# worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/SpongeSchematicReader.java
2019-04-01 23:50:16 +11:00
Jesse Boyd
92a7bd5e44
minor tweak for mutable vectors
2019-04-01 03:09:20 +11:00
NotMyFault
cb482ccbd5
Remove auto updater and minors
...
- Remove Changelog command
- Remove Auto updater
2019-03-28 21:31:28 +01:00
matt
699783ba72
Another selective merge
2019-03-28 15:02:37 -04:00
matt
1424998327
Simplified switch statements and minor formatting
2019-03-27 11:36:26 -04:00
NotMyFault
67fd0668ee
ocd
2019-03-27 15:40:53 +01:00
NotMyFault
8623dd0009
Fixes #80
2019-03-27 15:38:21 +01:00
matt
0d88a6bce2
Merging upstream changes
2019-03-26 13:27:09 -04:00
wizjany
8eccdc7444
Add -f flag to //count to allow fuzzy inputs.
...
Also re-implement //distr -c. And remove outdated help text on //copy.
2019-03-25 22:38:51 -04:00
matt
85bfd16d7c
Code cleaning
...
Most notable change: Remove redundant type parameters and replaced with <>. This is a small step to bring us closer to upstream parity.
2019-03-25 19:55:32 -04:00
IronApollo
3236bdd78e
Changes to NBT-handling in operations and extents, changes to match the widely supported setBlock functionality, minor code cleanup
2019-03-25 13:42:11 -04:00
NotMyFault
68c8950cdc
Add IncendoPaster
...
Co-Authored-By: Alexander Söderberg <citymonstret@hotmail.com>
2019-03-24 23:02:32 +01:00
wizjany
9b473cecbd
Fixes and changes to forest/forestgen.
...
* Sync up implementations of the two commands.
* Fix generating trees in spots with replaceable blocks.
* Make message when you mistype tree-type arg more correct.
Fixes WORLDEDIT-3869.
2019-03-20 21:05:11 -04:00
wizjany
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
wizjany
25631af31c
Add RequestExtent to be used when a delayed EditSession is needed.
...
For example, if you set a mask that takes an extent (many of them),
and then move to another world, the mask will test blocks in the old
world and return bad results.
2019-03-20 19:13:54 -04:00
Josh Knight
83bdb3c8e8
Merge pull request #11 from IntellectualSites/incendo-paste
...
Make debugpaste use Incendo Paste Viewer, rather than Hastebin.
2019-03-19 10:36:21 -04:00
Matthew Miller
d186cce393
Merge remote-tracking branch 'origin/feature/slf4j-logging'
2019-03-19 20:32:21 +10:00
wizjany
9d2d43f0db
Add -f to //schem save to confirm overwriting.
...
Overwriting existing schematics now checks delete perm.
Also allow delete to be run from console.
Fixes WORLDEDIT-3868.
2019-03-15 17:08:11 -04:00
Kenzie Togami
d6804737cf
Switch to SLF4J logging.
2019-03-13 19:51:48 -07:00
wizjany
7c89ece96e
Few tweaks to schematic loading and error fixes.
...
* Not all EntityTypes in Bukkit have the correct enum name.
* Don't read entire schematic files to list. Go off file extension only.
(Reading in files is more accurate, but slow.)
* Enforce extensions. (Due to the above, while you can technically make a
schematic called 'test.txt', it's better that we save it as
'test.txt.schem'.)
* Fix a few minor warnings.
2019-03-08 16:00:49 -05:00
wizjany
de08c8b8c7
Add better control over expression timeouts. ( #451 )
...
Add better control over expression timeouts.
* //timeout command can be used to change player's current timeout.
* Config now also has a max timeout, can be bypassed with permission
* Timeout of < 0 will let expressions run indefinitely.
* Said expressions won't run on a separate thread, slightly reducing the
overhead from context switching. For large //gen commands, for example,
this can actually increase speed.
2019-03-06 19:58:32 -05:00
wizjany
e53962dadd
Apply source function after source mask in ForwardExtentCopy.
...
The source function should only get applied to actually copied blocks.
2019-03-01 21:15:21 -05:00
IronApollo
3ffb5ff00d
Changes to fix some PlotSquared compatibility issues, plus fix block Mask parsing
2019-02-27 08:09:04 -05:00
wizjany
243d6476ac
Re-add smooth filtering via a mask.
...
Instead of trying to maintain a list of "natural terrain blocks", just
let the user specify a mask of blocks to use for the height map filter.
https://gfycat.com/severaljauntycondor
2019-02-26 23:54:53 -05:00
wizjany
9eeb0acffe
Add radius checks to a few more utility commands.
2019-02-25 18:41:20 -05:00
wizjany
2f734d4570
Check radius instead of diameter for clipboard brush.
...
This brings it more in line with other brushes in terms of allowable size.
2019-02-25 18:41:19 -05:00
Matthew Miller
1b101740fe
Use a proper registry for biomes
2019-02-16 17:27:00 +10:00
wizjany
de9d202681
Clear shaped brush material on command.
...
The initial material is held in the factory, but if a brush was previously bound, that pattern is used.
Now, using `//br set` will clear the previous material, allowing the OperationFactory's material to work.
This can be changed later with `/mat`, which will once again set the fill on the tool, overriding the factory's context.
2019-02-15 14:51:26 -05:00
wizjany
88014b18a3
Added a few new things using block states.
...
* `//set ##*tag` sets all states in the tag (not just default state per type)
* `//set ^type` is a pattern changing block type but copying all valid existing states
* `//set ^[prop=val,...]` sets the property `prop` to `val` wherever the existing block has that property
* `//set ^type[prop=val,...]` does both of the above
Those work anywhere a pattern is taken, of course.
* The mask syntax `^[prop=val]` matches blocks with the property `prop` set to `val`, or blocks that don't have the property at all.
* The mask syntax `^=[prop=val]` only matches blocks that have the property.
Those work anywhere a mask is taken, of course. (`//mask`, `//gmask`, `//replace`, etc)
The `//drain` command now takes `-w` flag that removes the waterlogged state from blocks (in addition to removing water, as before).
2019-02-14 17:21:01 -05:00
Wizjany
76400e533d
Add missing flags to clipboard brush usage.
2019-02-11 12:50:51 -05:00
IronApollo
0763e4c05c
Pull changes from upstream to match cdd7117
2019-02-07 09:11:51 -05:00
wizjany
dddf2b963a
Fix long-range build tool.
...
Blocks were always placed around 0,0,0 since the trace direction was being used as a position.
Also the message was backwards.
2019-02-03 19:27:30 -05:00
Matthew Miller
4a8931a55a
Added a ##tag parser Pattern. gives a random combination using the blocks from the tag with an equal distribution.
2019-02-03 07:59:06 -05:00
Kenzie Togami
590b7e23a9
Remove all raw usages of BSH, improve API generics
2019-02-03 05:01:39 -05:00
Matthew Miller
53308416ff
Start work on modularising masks and patterns
2019-02-03 03:33:52 -05:00
Matthew Miller
d80ac24c63
Pass the exception converter through more.
2019-02-02 11:36:55 -05:00
Matthew Miller
45f1de6009
Move the pasting system over to WorldEdit, and add a /we report command. Currently only reports system status and the config. Need to add a platform reporter system.
2019-02-02 11:20:36 -05:00
Matthew Miller
f3c633582e
Finish removal of PlayerDirection, and partially added diagonal support back to commands. (Other minor changes to WorldEdit-Sponge and FAVS)
2019-02-02 08:43:57 -05:00
IronApollo
e53535319d
Plenty of changes to core block behavior to become more compatible with upstream WorldEdit (still more to be done!)
2019-01-31 10:08:58 -05:00
IronApollo
f74381b93f
Merge remote-tracking branch 'refs/remotes/isfawe/new-vector-system' into new-vector-system
2019-01-13 02:00:14 -05:00
Matthew Miller
628c9cc0b7
Make BaseBlock more memory efficient, and make it clear in the API that it's not intended to be used for every single block.
2019-01-10 09:54:21 -05:00
NotMyFault
b200744d57
Cya hastebin
2019-01-10 14:46:10 +01:00
Kenzie Togami
4d6045813c
Move vectors to static creators, for caching
2019-01-10 07:17:04 -05:00
Byron Marohn
ab6aed703d
Merge current FAWE master ( 227d6d91
) into new-vector-system
...
Signed-off-by: Byron Marohn <combustible@live.com>
2019-01-09 22:35:26 -08:00
Sauilitired
33ad31454e
Make debugpaste use Incendo Paste Viewer, rather than Hastebin.
2019-01-10 04:04:52 +01:00
IronApollo
842b1307c7
Current Progress #3
2019-01-09 02:13:44 -05:00
SirYwell
193361ac32
fix //removenear exception for size < 1
2018-12-29 08:47:57 +01:00
Kenzie Togami
3fefcbf971
Remove all raw usages of BSH, improve API generics
2018-12-26 16:39:10 -08:00
IronApollo
d4157b7e0e
Current progress with update
2018-12-23 11:19:33 -05:00
Matthew Miller
d6977aeae4
Allow a pattern for the leave-id of //move
2018-12-22 17:26:02 +10:00
Matthew Miller
8d07877463
Pass the exception converter through more.
2018-12-21 17:31:27 +10:00
Byron Marohn
c0fa1602ad
Restore the formatting of many things to upstream WorldEdit - no code changes
...
This patch touches many files but changes absolutely no functionality.
The goal here is to make future merges with worldedit produce fewer
conflicts that have to be resolved.
This patch was made by painstakingly diff'ing files and copying changes
over from the last upstream merge commit (02c6f11b
) into this codebase.
Signed-off-by: Byron Marohn <combustible@live.com>
2018-12-20 11:33:56 -08:00
Matthew Miller
5eb9b779d7
Move the pasting system over to WorldEdit, and add a /we report command. Currently only reports system status and the config. Need to add a platform reporter system.
2018-12-18 19:28:55 +10: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
Matthew Miller
5f2c77b719
Further work on this. Currently fast mode breaks doors, gotta work out why applying physics to doors breaks them.
2018-12-09 16:28:01 +10:00
Matthew Miller
7f11b2800d
Added an option to switch reorder modes
2018-12-09 16:28:01 +10:00
Matthew Miller
24800a662a
Finish removal of PlayerDirection, and partially added diagonal support back to commands.
2018-11-12 12:38:13 +10:00
Kenzie Togami
2c8b2fe089
Move vectors to static creators, for caching
2018-11-03 23:00:24 -07: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
Kenzie Togami
3b5972b7f2
Flush / unbuffer more tools
2018-10-30 18:06:00 -07:00
Matthew Miller
275a2fa887
Fixed a few bad javadoc imports
2018-10-24 16:33:04 +10:00
Kenzie Togami
a3f1c71d97
Make EditSession closeable for easy flushing
2018-10-20 19:50:35 -07:00
Kenzie Togami
1fa1ff895b
Flush or disable buffers in tools
2018-10-20 19:47:17 -07:00
Jesse Boyd
a7c6d5e987
schem list validation
2018-10-17 23:57:36 +11:00
Jesse Boyd
f65887c957
Some ammendments to PR boy0001/WorldEdit#9
2018-10-17 23:41:38 +11:00
Jesse Boyd
c04f99a720
#1158
2018-10-16 02:27:10 +11:00
Matthew Miller
dd2fcbac23
Merge pull request #430 from sk89q/feature/chunk-batching-mode
...
Chunk Batching
2018-10-15 13:50:10 +10:00
Jesse Boyd
7cf7c0712f
fix fixwater/lava + tile paste
2018-10-13 19:50:13 +11:00
Jesse Boyd
888cbcedee
tweak undo message
2018-10-13 15:21:39 +11:00
Jesse Boyd
1a12c065a1
Various minor fixes
...
Fix drain
Fix some messages lacking prefix
Fix non persistent brushes
2018-10-13 15:15:38 +11:00
Matthew Miller
0a149a796f
Make distr operation based
2018-10-12 15:28:40 +10:00
Kenzie Togami
7d4906cfe9
Add chunk batching flag, enable by default
2018-10-10 11:38:23 -07:00
NotMyFault
730e50a710
That wasn't supposed to be like that
2018-10-04 20:52:54 +02:00
NotMyFault
39ba616ffa
heightmapinterface permission
...
Heightmapinterface permission added as you can download it on any server
2018-10-04 20:42:43 +02:00
NotMyFault
4b07928994
Fixing wrong syntax
2018-10-04 20:20:05 +02:00
NotMyFault
037714ab76
Possibly fix for searchItem message
2018-10-04 00:29:01 +02:00
Matthew Miller
1a2cd3a948
Fixes WORLDEDIT-3609, Message should say cut when //cut is used.
2018-09-20 17:09:50 +10:00
Jesse Boyd
5b5336cc83
some fixes
...
Use sponge schematic format instead of structure block
Fix VS undo running on main thread
Fix missing sections when setting blocks
2018-09-18 12:49:33 +10:00
Jesse Boyd
277ff8f787
Fix command confirmation session
2018-09-08 09:10:36 +10:00
Jesse Boyd
fc949e3efc
Fixes #1112
2018-09-08 03:11:56 +10:00
Jesse Boyd
11fe5061cc
Fix optional heightmap NPE
2018-09-08 02:06:25 +10:00
Jesse Boyd
39a85d54ea
pull changes from boy0001/FastAsyncWorldEdit
2018-09-08 01:31:30 +10:00
Jesse Boyd
6ae0d3f64e
Fixes boy0001/FastAsyncWorldEdit#1099
2018-09-08 01:09:31 +10:00
Jesse Boyd
d99765f13f
add min/max args
2018-09-07 06:45:19 +10:00
Jesse Boyd
7af1b3dcc8
Add heightmap web util command
2018-09-07 06:40:13 +10:00
Jesse Boyd
82ede1d42b
freebuild region restrictions
2018-09-05 05:10:15 +10:00
Jesse Boyd
5f8e2ed4d8
Allow local images for brushes
2018-09-03 07:46:35 +10:00
Jesse Boyd
b24d322d29
Update from sk89q/master
2018-09-03 00:10:38 +10:00
Matthew Miller
8bfbc55c71
Enable experimental //walls for non-cuboid regions.
2018-08-30 16:42:50 +10:00
Matthew Miller
c931095736
Little bit of formatting
2018-08-27 17:24:18 +10:00
Jesse Boyd
a61c856adc
Allow certain commands to bypass queuing
2018-08-24 19:33:52 +10:00
Jesse Boyd
c3db5c0cf1
Fix persistent brushes
2018-08-24 07:18:14 +10:00
Jesse Boyd
dbd31ea347
Fixes boy0001/FastAsyncWorldedit#1090
2018-08-24 01:22:30 +10:00
Jesse Boyd
9927cde616
JS command perms
2018-08-22 17:13:01 +10:00
Jesse Boyd
8de18566c0
Searchitem use fawe prefix
2018-08-22 03:52:13 +10:00
Jesse Boyd
f161c69a66
Use parse for search item
2018-08-22 03:25:42 +10:00
Jesse Boyd
c55353e5b1
Various command (use es6 if java9 + nashorn)
2018-08-22 03:22:37 +10:00
Jesse Boyd
43531a0da0
Use expression for brush radius
2018-08-22 02:58:10 +10:00
Matthew Miller
69ab1781c6
Replace FuzzyBlockMask with BlockMask, and added BlockTypeMask as a more performant mask for just block types.
2018-08-20 15:57:42 +10:00
Matthew Miller
eba91cac5f
Added a config option to entirely disable server side cui.
2018-08-18 19:42:45 +10:00
Matthew Miller
20b67db48d
Added a command to turn it on/off
2018-08-18 16:34:32 +10:00
Jesse Boyd
ae65708d82
Fix some command parsing issues
...
Tab complete runs on main thread - that could be an issue
2018-08-17 20:13:33 +10:00
Jesse Boyd
177bfaa930
Rename setCopyEntities to setCopyingEntities
2018-08-17 18:33:37 +10:00
Jesse Boyd
36ede1b27d
Fixes boy0001/FastAsyncWorldedit#1078
2018-08-17 18:27:48 +10:00
Jesse Boyd
20feefcab2
Fix schematic load with no specified format
2018-08-17 02:55:41 +10:00
Jesse Boyd
6ebdc00fba
Merge remote-tracking branch 'refs/remotes/sk89q/master'
...
# Conflicts:
# worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitBlockRegistry.java
# worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java
# worldedit-core/src/main/java/com/sk89q/worldedit/blocks/BlockMaterial.java
# worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/FloatingTreeRemover.java
# worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/LongRangeBuildTool.java
# worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/RecursivePickaxe.java
# worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/GravityBrush.java
# worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/AbstractPlayerActor.java
# worldedit-core/src/main/java/com/sk89q/worldedit/extent/inventory/BlockBagExtent.java
# worldedit-core/src/main/java/com/sk89q/worldedit/util/TargetBlock.java
# worldedit-core/src/main/java/com/sk89q/worldedit/world/chunk/OldChunk.java
# worldedit-core/src/main/java/com/sk89q/worldedit/world/registry/PassthroughBlockMaterial.java
2018-08-16 20:06:27 +10:00
Matthew Miller
bc5609114b
Add a material to check if air is air, because there are now 3 types of air.
2018-08-16 15:42:11 +10:00
Jesse Boyd
15d0d16da6
Update the tips to reflect 1.13 changes
2018-08-16 00:31:44 +10:00
Jesse Boyd
19125bee5f
Update Existing pattern usage
2018-08-16 00:14:03 +10:00
Jesse Boyd
7ed96ec358
Add property pattern
2018-08-16 00:12:07 +10:00
Jesse Boyd
a67441bbff
Merge remote-tracking branch 'refs/remotes/sk89q/master'
...
# Conflicts:
# worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java
# worldedit-core/src/main/java/com/sk89q/worldedit/blocks/BaseBlock.java
# worldedit-core/src/main/java/com/sk89q/worldedit/world/NullWorld.java
2018-08-15 14:02:51 +10:00
Jesse Boyd
1740c845d2
What are the dud BlockCategories?
2018-08-14 11:00:44 +10:00
Jesse Boyd
76a55b7712
Merge remote-tracking branch 'refs/remotes/sk89q/master'
...
# Conflicts:
# worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitAdapter.java
# worldedit-core/src/main/java/com/sk89q/util/yaml/YAMLProcessor.java
# worldedit-core/src/main/java/com/sk89q/worldedit/blocks/BlockType.java
# worldedit-core/src/main/java/com/sk89q/worldedit/command/ToolCommands.java
# worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/BlockReplacer.java
# worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/LongRangeBuildTool.java
# worldedit-core/src/main/java/com/sk89q/worldedit/extent/reorder/MultiStageReorder.java
# worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockType.java
# worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemType.java
2018-08-14 01:36:00 +10:00
Jesse Boyd
0632a9ce96
Fix some merge issues
2018-08-14 00:38:33 +10:00
Matthew Miller
e0e7778536
Fixed some bugs and cleanup some code.
2018-08-13 22:18:12 +10:00
Jesse Boyd
6f04022738
And these stubs
2018-08-13 03:23:53 +10:00
Jesse Boyd
e7c27b08bf
Remove stub injector methods
2018-08-13 02:36:39 +10:00
Jesse Boyd
a629d15c74
Copy paste/merge FAWE classes to this WorldEdit fork
...
- so certain people can look at the diff and complain about my sloppy code :(
Signed-off-by: Jesse Boyd <jessepaleg@gmail.com>
2018-08-13 00:03:07 +10:00
Matthew Miller
f54d6afb65
Make BaseBlock more memory efficient, and make it clear in the API that it's not intended to be used for every single block.
2018-08-10 20:29:06 +10:00
Matthew Miller
5f4cc3e694
Cleanup a little bit more code.
2018-08-06 19:08:15 +10:00
Matthew Miller
334143357a
Added LongArrayTag support to NBT
2018-08-05 13:36:53 +10:00
Matthew Miller
2f3bc59e1b
Fixed //move
2018-08-04 11:43:42 +10:00
Matthew Miller
a75d9e896b
Start work on the Sponge schematic format. This should work but it may not, it's untested.
2018-08-04 11:43:42 +10:00
Matthew Miller
1480606b52
Fixed a few more issues found looking over the changeset.
2018-08-04 11:43:42 +10:00
Matthew Miller
db21f51a18
Fixed up data cycler command, and the fixwater & fixlava commands.
2018-08-04 11:43:41 +10:00
Matthew Miller
bc2279f2f6
Refactor schematics to use kenzierocks registerable system.
2018-08-04 11:43:41 +10:00
Matthew Miller
9f9fda72b7
Re-add legacy support to block parser, and fix query tool.
2018-08-04 11:43:41 +10:00
Matthew Miller
65420af09e
Fixed //fill and //rotate
2018-08-04 11:43:41 +10:00
Matthew Miller
663dd1f4d8
Added an entity, weathertype, and gamemode registry.
2018-08-04 11:43:41 +10:00
kashike
70208c38fd
category changes
2018-08-04 11:43:40 +10:00
Matthew Miller
e1c2ea3a3b
Update configs, and remove unused BlockData methods.
2018-08-04 11:43:40 +10:00
kashike
d33e2e98aa
registry changes
2018-08-04 11:43:40 +10:00
kashike
a48c319e7e
package move
2018-08-04 11:43:40 +10:00
Matthew Miller
efa09001c2
Remove the 'natural only' smooth brush feature due to inaccuracies.
2018-08-04 11:43:40 +10:00
Matthew Miller
93b225ca3c
Expose a way of switching between ItemType and BlockType for ItemBlocks.
2018-08-04 11:43:39 +10:00
Matthew Miller
b06937d1c8
Setup a legacy mapper system. The file does not exist yet.
2018-08-04 11:43:39 +10:00
Matthew Miller
66d70f00e7
Removed more deprecated code
2018-08-04 11:43:39 +10:00
Matthew Miller
416480c16d
Separated out fluids and blocks - they're different now
2018-08-04 11:43:39 +10:00
Matthew Miller
70aceb3837
Use default state a bit more.
2018-08-04 11:43:39 +10:00
Matthew Miller
282eca7663
Added a category system and refactored registries
2018-08-04 11:43:39 +10:00
Matthew Miller
484687a49d
Further work on BlockState transition
2018-08-04 11:43:39 +10:00
Matthew Miller
e99190225e
Further BaseBlock modernisation
2018-08-04 11:43:39 +10:00
Matthew Miller
5f5a1797ad
Remove legacy ServerInterface
2018-08-04 11:43:39 +10:00
Matthew Miller
e2608bc0c9
Further modernise and remove legacy item classes
2018-08-04 11:43:39 +10:00
Matthew Miller
c43109bde5
Start work on the new BaseBlock/BlockState split
2018-08-04 11:43:39 +10:00
Matthew Miller
aaaf2d5678
More deprecation removal
2018-08-04 11:43:38 +10:00
Matthew Miller
20bf6e079b
Continue the great purge
2018-08-04 11:43:38 +10:00
Matthew Miller
c537a2e948
Remove a tonne of code from WorldEdit. This breaks backwards compatibility. More will be removed. Sorry :)
2018-08-04 11:43:38 +10:00
Matthew Miller
a71e39d777
Convert the data system to a state system. This doesn't work, needs new data
2018-08-04 11:43:38 +10:00
Matthew Miller
1cc735e359
Further work on items
2018-08-04 11:43:38 +10:00
Matthew Miller
f5f1d357d9
Get rid of the string equality and convert a few more ID uses over.
2018-08-04 11:43:14 +10:00
Matthew Miller
41a80064f5
I guarantee this is broken. Start some form of string ID for blocks
2018-08-04 11:43:14 +10:00
Cebtenzzre
030a07b1d6
Fix ascent and descent commands.
...
For seven years and two days, the algorithm for ascent and descent has had an off-by-one error, and started at the wrong level.
Also, the message for failed descent has apparently never been right.
I figured I'd follow Java's conventions (as I see them) and have a body for the loop, so instead of incrementing the counter within the loop condition, I refactored the loop and put in a break statement. I prefer the shorter version, but POLA wins in a foreign code base.
2018-07-09 06:00:58 -04:00
wizjany
b557b2b71d
Revert "Some command fixes" aka "Some command breaks"
...
This reverts commit 4a8bba7a54
.
Fixes WORLDEDIT-3574.
2017-06-09 12:46:26 -04:00
Jesse Boyd
4a8bba7a54
Some command fixes
...
Fix EditSession being created for commands that don't need it
Fix error from schematic list (when there are files in sub directories)
Fix dispatcher redundantly checking a huge number of permissions
2017-06-08 10:01:23 -04:00
wizjany
46dff16a97
Use our own firstNonNull to maintain back-compat.
...
Fixes WORLDEDIT-3567.
2017-06-08 10:01:23 -04:00
wizjany
41de204186
Allow copyEntities to be used in ForwardExtentCopy again.
...
The -e flag should now work for //copy and //cut as it used to.
Fixes WORLDEDIT-3557.
2017-03-19 11:56:04 -04:00
wizjany
e511758d99
Add rotations to various blocks that were missing them.
...
Up/down levers still broken.
Fixes WORLDEDIT-3490.
2017-02-26 18:56:38 -05:00
Wizjany
2e10fe896f
Fixed bad copypaste in error message for //curve.
2016-08-27 16:53:51 -04:00
wizjany
c957ffb95a
Fix NPE when //genbiome expression was false.
...
Fixes WORLDEDIT-3467.
2016-07-06 11:14:11 -04:00
wizjany
28d45870e2
Apply transforms to vectors in //paste -s.
2016-06-29 00:38:11 -04:00
Wyatt Childers
6e36b5236c
Fixed the automatic selection of a user's pasted area when using //paste -s
...
Fixes WORLDEDIT-3457
2016-06-28 20:36:46 -04:00
Wizjany
03d7cd394a
Fix another NPE in schematics.
2016-05-18 12:44:22 -04:00
wizjany
b3fbe8b7a5
Update blocks.json.
...
This fixes a lot of issues with block rotations for various blocks.
Additionally, the //info tool will now report states (only works for
states that use data values) for easier lookups.
Note that some doors still have update issues, and //fast is needed
to paste them if they drop as items.
2016-05-15 04:02:35 -04:00
wizjany
c9f54ecb01
Only negative radius allowed for //butcher is -1.
2016-04-26 19:40:25 -04:00
wizjany
94ae1be2d1
Fix NPE when using //schem list with not schematics present.
2016-03-08 12:42:23 -05:00
wizjany
62befe7594
Fix schematics in directories.
2016-01-13 18:55:49 -05:00
Kenzie Togami
8cd46977f3
Add paging to //schematics.
...
-p <int> can be used to select a page. Defaults to page 1.
First implementation by @BangL.
2015-12-28 12:52:39 -08:00
wizjany
23d6fa7579
Add worldedit.calc permission node to //calc command.
2015-12-21 16:14:44 -05: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
sk89q
0e200df5be
Replace //set with new command version.
2015-10-29 18:20:27 -07:00
Albert Pham
fdfc3cdb33
Reorganize and further unify the new commands.
2015-10-29 13:05:04 -07:00
Albert Pham
25ad916611
Make ApplyCommand use SimpleCommand rather than ParameterCommand.
2015-10-28 14:08:47 -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
sk89q
935de4c93d
Add some experimental brush commands.
...
/br set <shape> <radius> <pattern>
/br deform <shape> <expression>
/br scatter <shape> <density> <generator>
/br apply <shape> <generator>
<shape> can be: cuboid, cyl[inder], sphere
<density> is 0-100
<generator> can be:
forest|tree <type>
item <item>[:<data>] (ONLY WORKS ON FORGE)
Examples:
/br deform cuboid 5 y-=0.2
/br scatter sphere 5 100 minecraft:dye:15
2015-10-26 23:14:30 -07:00
wizjany
9a65bdb72d
Fix cycler tool trying to set negative data values.
...
Fixes WORLDEDIT-3325.
2015-07-31 12:46:51 -04:00
wizjany
025591e6d9
Don't double-check for symlinks while loading schematics.
...
Fixes WORLDEDIT-3310.
2015-06-19 18:28:25 -04:00
Kenzie Togami
ec5de0f22f
Cleanup unused imports
2015-05-31 15:59:40 -07:00
flamin_scotsman
f71d037a35
Change cycler tool to use EditSession rather than changing the world directly
2015-03-10 21:55:51 +00:00
flamin_scotsman
0d347a3837
Fix incorrect instantiation of BlockBag and EditSession in two of the tools.
...
Used EditSessionFactory rather than getting the EditSession from the local session.
2015-03-10 21:51:35 +00:00
wizjany
ec9c77c31b
Excluded armor stands from //butcher by default.
...
Someone got lazy and just made armor stands a living entity instead of extracting an ArmorEquippable interface.
2015-01-22 15:54:01 -05:00
TomyLobo
dc6ffae500
Fixed /butcher text in the case of only one mob being killed.
2015-01-21 09:46:35 +01:00
wizjany
d1631a9ca4
Restore entity counter to //remove and grammatified //butcher similarly.
2015-01-20 12:30:51 -05:00
sk89q
7192780251
Switch to Gradle. Use git log --follow for history.
...
This converts the project into a multi-module Gradle build.
By default, Git does not show history past a rename, so use git log
--follow to see further history.
2014-11-14 11:27:39 -08:00