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
wizjany
edb2e919e7
Add more id conversions.
...
Bukkit apparently lower cases these for us, but not Forge.
(And invalid block entities are fine - invalid keys are not).
2019-07-19 21:45:25 -04: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
0a924915c8
shift extent queue methods
2019-07-19 02:07:31 +10:00
Jesse Boyd
22a7ad7503
optimized biome streaming to schematics
2019-07-18 22:36:50 +10:00
Jesse Boyd
4ed3fe724e
Merge branch 'breaking-114' into commanding
2019-07-18 20:22:44 +10:00
Jesse Boyd
6e13b44f84
resolve issues with 2e67425d8131a2b1eb7ff752335bccf371801b8b
2019-07-18 20:12:23 +10:00
Jesse Boyd
1bc35eb59a
add missing method to baseblock
2019-07-18 17:00:33 +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
ff94a1e5ed
8108d0a9
2019-07-18 04:24:21 +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
eff203c3b8
Merge branch 'breaking' into breaking-114
2019-07-17 21:31:06 +10: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
Jesse Boyd
ae9efc3df1
Merge branch 'breaking-114' into filter-pipeline
2019-07-17 14:55:04 +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
wizjany
f75104f2ac
Actually use fixed IDs in MCEdit reader.
...
Fixes WORLDEDIT-3947.
2019-07-16 19:45:27 -04:00
Jesse Boyd
48356275af
fix loading legacy biomes
2019-07-17 06:36:48 +10:00
Jesse Boyd
71a9256617
Merge branch 'breaking' into breaking-114
2019-07-17 06:08:18 +10:00
Jesse Boyd
75f059fdc5
check length, not null
2019-07-17 05:28:55 +10:00
Jesse Boyd
b3e11d2094
patch for missing tile position data
2019-07-17 05:16:08 +10:00
Jesse Boyd
cfbde956f4
some refactoring to pipeline classes (WIP)
2019-07-17 05:10:39 +10:00
Kenzie Togami
e98b99edcd
Properly acquire JUnit 4, drop json-simple
2019-07-15 16:38:33 -07:00
Kenzie Togami
5277f99bf2
Minor fixes for craftscripts in Forge
2019-07-12 13:49:45 -07:00
Jesse Boyd
14d5275e05
wip chunk based bitset
2019-07-12 02:10:32 +10: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
b44dcc91b8
update vs
2019-07-11 20:27:29 +10:00
Jesse Boyd
f4947885b2
fix import
2019-07-11 08:46:02 +10: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
Jesse Boyd
cafd4bfece
use Locale.ROOT for uppercase as well
2019-07-10 22:26:31 +10:00
Jesse Boyd
a98a91e066
Use Locale.ROOT
2019-07-10 21:03:00 +10:00
Jesse Boyd
b32d46b08a
Use Locale.ROOT
2019-07-10 21:01:56 +10:00
Jesse Boyd
50e649acb8
update items
2019-07-10 20:58:27 +10:00
Jesse Boyd
20b7b121b1
1.14 blocks
2019-07-10 06:49:51 +10: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
96e2b6c5af
First attempt at fixing quoted string oddities.
2019-07-04 22:01:55 -04: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
Kenzie Togami
f2c47f3759
License for new class
2019-07-04 11:55:27 -07:00
Kenzie Togami
99ee32fe8e
Many fixes for buffered extents
2019-07-04 11:43:36 -07:00
Kenzie Togami
d27daefd3e
Implement getBlock for chunk batching extent
...
Also improve speed of comparators, by using ::comparingX and bitwise
ops.
2019-07-03 21:11:36 -07: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
9cbf8178ea
Fix setting player heads with owner name.
2019-06-29 11:11:22 -04:00
wizjany
fae44ffaf2
Re-send type id for cuboid CUI.
...
Works like poly CUI now.
CUI in general needs to cleanup :\
2019-06-29 07:49:09 -04:00
Jesse Boyd
a4344fb2df
add 1.14 depend (non functional)
2019-06-29 14:06:19 +10:00
MattBDev
0feebac44b
Make AbstractProperty abstract
2019-06-28 19:00:31 -04:00
MattBDev
be78f2eae1
Added TODO to missing code.
2019-06-28 18:03:24 -04:00
MattBDev
51b1b4262d
Revert removal of world field.
...
This is needed. It shouldn't have been removed because it's nothing new.
2019-06-28 18:03:01 -04:00
wizjany
b5e895c37e
Update info tool to components.
2019-06-28 18:02:06 -04:00
wizjany
9136139cfd
Fix pasting leashed entities. ( #494 )
2019-06-28 17:09:42 -04:00
Jesse Boyd
13b602cb83
isAffectedBlock
2019-06-29 06:31:07 +10: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
Brokkonaut
096a9e4f9f
Paintings are very special ( #492 )
...
Fixes WORLDEDIT-3429
2019-06-28 16:11: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
wizjany
542f87b8f7
Fix infinite loop re-sizing block state internal ID array.
2019-06-28 15:18:53 -04:00
Jesse Boyd
c5b90ba954
use cached maxY
2019-06-29 04:53:44 +10:00
Jesse Boyd
3850944a81
Optimize waterlog remover
2019-06-29 04:49:48 +10: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
f1e98da01f
d0a31691e1
2019-06-29 03:29:53 +10:00
Jesse Boyd
a2efdbc488
a1c15e1c39
2019-06-29 03:10:47 +10:00
Jesse Boyd
8c44c532c4
753b34ef99
2019-06-29 02:35:41 +10:00
Jesse Boyd
5a67363a78
0313320816
2019-06-29 02:24:57 +10:00
Jesse Boyd
ec8422bc13
1f14d4652e
2019-06-29 02:09:56 +10:00
Jesse Boyd
7a9adacc32
Don't read the entire file to check the format
2019-06-29 01:42:22 +10:00
Jesse Boyd
55dad5a972
7f3c4c4828
2019-06-29 01:39:58 +10:00
Jesse Boyd
d9906c9026
229182aa63
2019-06-29 01:19:58 +10:00
Jesse Boyd
2b0a310e0e
filter sphere
2019-06-29 00:16:12 +10:00
Jesse Boyd
846a1b0769
6c94cca15e
2019-06-29 00:01:51 +10:00
Jesse Boyd
3b2031c22c
c77ee07fcd
2019-06-28 22:43:52 +10:00
Jesse Boyd
fecb380d44
aea5b68ced
2019-06-28 22:43:32 +10:00
MattBDev
3a4354268c
Attempt to fix null command issues.
2019-06-26 20:18:21 -04:00
MattBDev
d0a31691e1
Small changes
2019-06-26 20:14:00 -04:00
Jesse Boyd
de4dcc0dd5
idk, messing around with region filtering
2019-06-26 20:22:21 +10:00
MattBDev
1932c96d4f
Fixed removed import during upstream cleanup.
2019-06-25 13:14:59 -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
wizjany
79910c57d7
Add 1.14 blocks, items, entities, and tags. ( #490 )
...
Should remain backwards compatible with 1.13. Removed blocks/items will
be forwarded to the "replacement" block/item. (e.g. BlockTypes.SIGN will
find OAK_SIGN on 1.14.)
2019-06-24 23:15:07 -04:00
MattBDev
c672bcfddd
Add license notice back and remove left over git stuff.
2019-06-23 14:07:47 -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
1e02560039
Remove BukkitMask
2019-06-21 19:58:40 -04:00
wizjany
902754ce8a
Bit more cleanup for schematic handling.
2019-06-21 11:07:03 -04:00
MattBDev
0313320816
As Jesse would say... *
2019-06-20 20:05:18 -04:00
wizjany
a3d23fdcea
Fix requirements of sponge schematic spec.
...
Fixes WORLDEDIT-3929.
2019-06-20 18:51:29 -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
61fd44fa8c
Save some RAM.
...
Vanilla only needs 12k~ states right now, 32k is unnecessary.
2019-06-15 20:24:47 -04:00
wizjany
0aa0dbfd11
Fix BlockTransformExtent rotating directional boolean properties.
...
Also add support for redstone dust, which is directional non-boolean.
(It's the only block like this atm.)
2019-06-15 13:35:23 -04:00
wizjany
0088fe79b3
Cleanup Bukkit internal id usage.
2019-06-15 17:33:17 +10:00
Kenzie Togami
27c7d488a2
Add perf. improvments for Forge
2019-06-15 17:33:17 +10:00
Kenzie Togami
8c17aab9c5
Clean-up some misc. parts of the code
2019-06-15 17:33:17 +10:00
wizjany
dc21b4df58
This does something idk.
2019-06-15 17:33:17 +10:00
Matthew Miller
2571efb5c3
Few fixes for worldedit changes
2019-06-15 17:33:17 +10:00
Kenzie Togami
a3a175ab8c
Initial attempt at binding state IDs
2019-06-15 17:33:17 +10: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
fb0bb62180
Removed installer
...
The code was mainly for forge and it was built using swing instead of javafx
2019-06-11 20:40:33 -04:00
MattBDev
cd88e513a8
Upstream, generics, formatting
2019-06-11 20:31:56 -04:00
Wyatt Childers
026bfeed08
Improved usage of the naturalize command over large areas
...
This change fixes the block count report, and also makes
naturalize act more like a "//replace dirt grass" where
we only attempt block changes if the block is not already
what we're looking for.
2019-06-11 18:01:45 -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
Kenzie Togami
62e2a76d78
Merge pull request #480 from EngineHub/feature/docprinter
...
New doc printer for rst output
2019-06-08 20:57:08 -07:00
IronApollo
e2c2205dac
Hollow fix
2019-06-08 14:48:30 -04:00
MattBDev
7f3c4c4828
A lot of removals, upstream merges, and maybe more.
2019-06-07 20:58:48 -04:00
MattBDev
3169592332
Merge remote-tracking branch 'origin/breaking' into breaking
2019-06-06 18:40:14 -04:00
MattBDev
229182aa63
Remove CUI and other cleaning
2019-06-06 18:39:51 -04:00
wizjany
351fd6771a
Restore ability to restore old MCRegion files.
2019-06-06 10:34:12 -04:00
George Lin
c77ee07fcd
Fix incorrect casting of CharSequence to String
2019-06-06 15:34:45 +08:00
Kenzie Togami
d46cd78e14
Port doc printer to Kotlin, heavily improve
2019-06-05 23:26:57 -07: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
e69aedf059
Allow clean shutdown.
...
Rearrange command tables.
2019-06-05 14:57:44 -04:00
wizjany
e767dd9888
Missing perm.
2019-06-05 12:31:12 -04:00
wizjany
22157f0864
Write entire perms file for easier gen.
...
Also fix some format issues.
2019-06-05 11:27:16 -04:00
wizjany
b7e329bc1b
Better spacing for section headers.
2019-06-05 10:39:10 -04:00
wizjany
34020f7bd2
Less ugly. Makes tables for all commands and subcommands.
2019-06-05 10:23:41 -04:00
wizjany
dc380b1fb3
Ugly but working generator for rst commands.
2019-06-05 10:21:35 -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
3a6b3dc75c
Fix restore for 1.14 chunk format.
...
Top-most chunk can now have lighting without have a palette or blocks.
2019-06-02 21:56:29 -04:00
wizjany
a3afd9d5b3
Make suggestions more robust.
...
And fix potential errors in the ^[] pattern parser.
2019-06-01 12:39:24 -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
Matthew Miller
38607f387a
Added a permission node to set NBT data, allowing servers to disallow NBT interactions.
2019-06-01 15:53:18 +10:00
MattBDev
c73fc28847
Minor upstream changes
2019-05-31 11:20:02 -04:00
MattBDev
3eb7200ea0
Fixed issues with //copy
2019-05-31 10:41:05 -04:00
MattBDev
aea5b68ced
Upstream merges and a few code cleanups
2019-05-30 16:07:30 -04:00
wizjany
6ad274677f
Don't require command for CUI init.
2019-05-29 23:15:06 -04:00
wizjany
ec3648e521
Wrap and unwrap.
...
Exceptions are fun.
2019-05-29 23:15:05 -04:00
MattBDev
a0eb7ce59e
Typo Fixes and Added Annotations
2019-05-28 23:23:51 -04:00
wizjany
27b58f4e85
Add suggestions for items.
2019-05-28 22:55:20 -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
ab1e09fdaf
Give factories a default parser.
...
Later registered parsers will always come before the default, ensuring
that the default parser is used when no other parser can match the input,
and that errors may be thrown by it to signify the end of the line.
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
wizjany
4b15439e03
Don't attempt to update empty or invalid flower pots.
2019-05-25 00:35:12 -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
b0777f6b06
Use DFUs for some additional data fixing.
...
Legacy mapper now uses the data fixers to upgrade blocks and item types
(e.g. signs, dyes that changed names in 1.14).
The sponge schematic reader can now attempt to use the data fixers to
upgrade blocks, block entities, biomes and entities. This has been
tested with the 1.13 -> 1.14 changes. It is yet to be seen if it will
continue to work because...
The mc edit schematic reader has code for using data fixers, but it is
currently disabled as there seem to be some issues with fixing up older
block entities.
2019-05-20 16:39:58 -04:00
Matthew Miller
8ee484fca8
Removed unused classes
2019-05-19 13:34:43 +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
Kenzie Togami
e7613dd879
Stop using IAE to communicate parameter mis-use
2019-05-14 17:57:05 -07:00
wizjany
f9d0d340e7
Add DFUs. Currently used by //restore.
2019-05-13 23:07:53 -04: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
118a51f477
Merge branch 'breaking' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into breaking
2019-05-13 00:38:59 +10: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
Kenzie Togami
a2b67f8ddb
Re-write EventBus to be faster
2019-05-10 05:01:01 -07: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
wizjany
c169d8f258
Re-use command manager service.
2019-05-09 10:28:08 -04:00
Kenzie Togami
8d68da09a3
Minor versioning changes
2019-05-09 15:02:11 +02:00
Jesse Boyd
113aeb1689
Use fuzzy blocks in default block parser
2019-05-07 16:40:37 +10:00
wizjany
31d4daf474
Don't compare null BlockStates.
2019-05-06 19:59:58 -04:00
Matthew Miller
9a5d45deed
Fixed direction error
2019-05-06 18:33:21 +10:00
Kenzie Togami
067a570df0
Implement basic Forge suggestions
2019-05-05 23:06:20 -07:00
Kenzie Togami
8a3e6a12b9
Implement suggestions for Bukkit + Sponge
2019-05-05 23:06:20 -07:00
Kenzie Togami
1c54a04fd1
Update Text to 3
2019-05-05 23:06:20 -07:00
Kenzie Togami
4355f8cbf7
Update Piston for suggestions, add hacky-pseudo-suggestions
2019-05-05 23:06:20 -07:00
Jesse Boyd
55b02e1b1f
Implement FuzzyBlockState
2019-05-06 15:58:55 +10:00
Jesse Boyd
459629a2f2
scanchunk
2019-05-06 15:57:12 +10:00
wizjany
ceff17c4f7
Misc fixes.
...
Closes a few old youtrack issues which I don't remember because I had
like 30 tabs open, and a few other issues which I found while testing
some of those.
2019-05-05 15:15:03 -04:00
NotMyFault
e2513e2c08
Fix paste service
2019-05-05 20:43:56 +02:00
Jesse Boyd
d603f45063
remove debug
2019-05-05 22:19:13 +10:00
wizjany
bc8e477b1c
Fix error message with invalid //expand args.
2019-05-04 22:48:49 -04:00
wizjany
f279907616
Create CommandManagerService directly instead of service loading it.
2019-05-04 17:06:19 -04:00
Jesse Boyd
2be8d87d5a
Fix mask parsing not using factory
2019-05-05 03:59:25 +10:00
Jesse Boyd
7c174beaee
Region filter
2019-05-05 03:58:26 +10: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
57c161a602
Actually initialize GameModes and WeatherTypes.
2019-05-02 00:08:19 -04:00
wizjany
5e81dd1c4c
Make registries Keyed.
2019-05-01 20:12:35 -04:00
Kenzie Togami
13a8c480e3
Insert Locale.ROOT into all case change methods
2019-05-01 15:24:32 -07: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
e06c8b84b4
Merge branch 'master' into feature/piston-commands
2019-04-29 22:44:15 -07: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
3c04a83852
Add nicer error when using player commands as console.
...
Also fix slash counts for Bukkit.
2019-04-29 17:39:30 -04: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
462843c3df
Add license
2019-04-28 22:07:08 -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
wizjany
3ffa54af84
Fix TrueZip region stores.
...
I think. Someone tell me if this breaks their setup with truezip, but
it works for me now and didn't before. I'm assuming people using .zip
just used the normal zip store anyway.
(cherry picked from commit dcfb769d96
)
2019-04-28 17:28:15 -04:00
NotMyFault
bf684d478e
Remove hashtag preventing wrong issue references
2019-04-28 20:11:05 +02:00
wizjany
d48702aad6
Fix schematic id conversion for entities with multiple renames.
2019-04-28 10:56:34 -04:00
NotMyFault
c64b59da2f
Fix build number in version
2019-04-28 11:34:07 +02:00
Matthew Miller
f7670f7812
Temporary fix for forge having terrible classpath issues.
2019-04-28 18:47:28 +10: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
NotMyFault
686c71d965
Move around some debugs
2019-04-27 20:34:56 +02: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
wizjany
b7ea46db2f
Re-add 1.13 entity renames.
...
Accidentally replaced the new ones with the old ones.
This is why we need DFUs.
2019-04-26 21:48:03 -04: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
31a8328fb5
Add data version to BukkitImplAdapter.
...
Also throttle unknown-block warning when loading MCEdit schematics.
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
17fba54305
Update SpongeSchematic format to version 2.
...
Allows saving and loading entities and biomes.
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
wizjany
26511bcc25
Add licenses.
2019-04-26 16:41:39 +10:00
wizjany
fcb42f05cf
Add skull handler.
2019-04-26 16:41:39 +10:00
wizjany
526b3366b5
Add more schematic compat, cleanup.
2019-04-26 16:41:39 +10:00
Kenzie Togami
bfc1fd8fd0
Add licenses
2019-04-26 16:41:39 +10:00
Kenzie Togami
56ef786415
Don't touch the Direction tag, as possibly only Facing changed.
2019-04-26 16:41:39 +10:00
Kenzie Togami
efc4ebe309
Fix 1.13 entity direction code, port old schematics
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
f70557e3da
Provide a warning when an invalid property is entered rather than failing. Fixes WorldEdit entirely failing on new MC versions.
2019-04-25 22:48:15 +10: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
b1e43b7561
wrap to TextComponent
2019-04-25 19:20:29 +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
Brokkonaut
6415d0d964
Fix typo
2019-04-23 18:24:32 -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
Jesse Boyd
c6ce0c773f
Fixes #30
2019-04-23 23:49:45 +10:00
Jesse Boyd
c45d4b58cc
Fixes #117
2019-04-23 22:56:01 +10:00
Jesse Boyd
208929c378
Fix ItemType.getBlockType
2019-04-23 16:16:26 +10:00
Jesse Boyd
290f047f6a
Fix tab complete error for single property states
2019-04-23 15:08:05 +10: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
Jesse Boyd
c56ba112d1
Merge branch 'breaking' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into breaking
2019-04-20 00:47:32 +10:00
Matthew Miller
5b1573a24e
Replace the message system
2019-04-19 23:06:00 +10:00
Matthew Miller
55348346e9
Shade in Kashike's lib
2019-04-19 14:49:29 +10:00
Kenzie Togami
f481f7d26d
Handle lack of global injected value store
2019-04-18 19:59:53 -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
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
274c52163b
Fix setting the same block multiple times sequencially
2019-04-17 01:12:09 +10: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
Jesse Boyd
69e2ce6165
Avoid block vector creation for combine stages = false
2019-04-15 19:56:38 +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
Matthew Miller
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
Kenzie Togami
f8c4f23658
Partial work on biome commands, need logging replacement
2019-04-14 01:30:40 -07:00
Jesse Boyd
a4f63ec6f0
Check type, not state
2019-04-14 12:16:15 +10: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
Jesse Boyd
110f782a5c
Optimize entity get (lazy nbt)
2019-04-14 00:00:38 +10: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
Jesse Boyd
99c4c2f35d
Add option to disable commands
2019-04-12 10:51:18 +10: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
524b24eeae
Fixes #114 (untested)
2019-04-12 01:00:03 +10:00
Jesse Boyd
c05cdb35d8
Don't use CommandContext here
2019-04-12 00:56:59 +10:00
Jesse Boyd
a831ae17b7
Merge pull request #110 from Mgazul/breaking
...
Fix fixLiquid
2019-04-12 00:55:59 +10:00
NotMyFault
d49be8047c
Fix missing prefixes
2019-04-11 15:13:15 +02:00
Jesse Boyd
6996a97027
various minor
...
CFI works without PlotSquared
tab completion
biome tweaks
WIP on anvil
document disallowed-blocks in legacy config
2019-04-11 21:32:32 +10:00
Jesse Boyd
24590199c8
Fix disallowedBlocks
2019-04-11 14:05:29 +10:00
Jesse Boyd
b5e1f3dbc3
Remove the system property check for uuidOverride ( #459 )
...
as it caused a server timeout...
https://pastebin.com/z5ktU8r3
2019-04-10 22:39:56 -04:00
Jesse Boyd
f726c9afc4
fix //none
for tools
2019-04-11 11:28:06 +10:00
Jesse Boyd
a7c5580db3
comment out forced key
2019-04-11 11:19:51 +10:00
Jesse Boyd
d61e5f33f1
some minor fixes
...
/br sspl - says to click same spot again to apply, clicked same spot and nothing happens
/br layer - gives an error message "there was an error handling a FAWE command: [See console]
/br clipboard - doesn't let me execute because of max radius of 5, however am unable to set a lower radius as there is no option for it
/br butcher - tried to kill some mobs, but didn't work (nothing happened)
/br splatter - tried to execute the command, nothing happened
2019-04-11 05:14:58 +10:00
Jesse Boyd
21be61f03a
fix block mask inverse
2019-04-11 03:25:19 +10:00
Jesse Boyd
2e1b7676eb
Just use instanceof
2019-04-11 02:17:45 +10:00
Jesse Boyd
808d32bc85
make bit mask protected
...
TODO same for BIT_OFFSET
2019-04-10 22:03:51 +10:00
Jesse Boyd
b24ebaf6f2
Delay command setup
2019-04-10 22:03:10 +10:00
Jesse Boyd
31797d4231
WIP on 1.13 CFI
2019-04-10 18:32:21 +10:00
Jesse Boyd
d7380781f4
Fix BlockTransformExtent
2019-04-10 02:31:05 +10:00
Mgazul
652f27c853
Fix fixLiquid
2019-04-09 11:29:43 +08:00
Jesse Boyd
093542c337
fix compile + use mutable vector for affine transform + fix bstats package
2019-04-07 20:43:59 +10: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
wizjany
ec0422d682
Avoid atan2 in Location cinit.
...
@kashike
2019-04-06 21:26:52 -04:00