wizjany and MattBDev
da577a3752
Fix buildscript issue on certain locales.
...
(cherry picked from commit e64cfe5d3776cb74288591f3e0d19ed4bfe45518)
2020-07-06 23:42:18 -04:00
wizjany and MattBDev
6d056847c1
Update adapter jar.
...
(cherry picked from commit 9e186225bd25f4805d09081f8b8ca717f61a73a4)
2020-06-25 15:41:49 -04:00
wizjany and MattBDev
ee3a30d582
Don't suggest default namespaces.
...
This just ends adding a lot of `minecraft:` to otherwise short commands.
(cherry picked from commit d2601851835201d11e5805250ecffc703d0b0cd6)
2020-04-24 15:57:07 -04:00
wizjany and MattBDev
2ea85ab004
Make //size text color consistent.
...
(cherry picked from commit eb8fcdcd5b797a7ec1db0c53c3602f79d4f971bf)
2020-03-31 00:33:43 -04:00
wizjany and MattBDev
dabba81902
Allow expand to be used by console. ( #1264 )
...
* Allow expand to be used by console.
Also fix direction converter requiring a player.
* Revert exception.
(cherry picked from commit b4d2db3dee01d6af4f49d6ee1ea015dbd685839c)
2020-03-23 16:47:04 -04:00
wizjany and MattBDev
f4d03291c5
Revert "Revert "Add Vault as a softdepend to the Bukkit variant to prevent a warning from Spigot""
...
This reverts commit 376f241b7dfbe3cf221adaae340661d0c9a5c81f.
Spigot bad. Also LP bad. This really shouldn't be necessary but it's
probably safer due to all the weird shit spigot and LP do.
(cherry picked from commit 68d48148d3df6e01815d05c462ba22498734fdc4)
2020-01-31 14:41:22 -05:00
wizjany and GitHub
23a3929051
Merge pull request #531 from EngineHub/wiz/misc-fixes
...
* Make a few more selection commands usable from console.
* Use persistent leaves for garden patch generator (/pumpkins)
* Make lrbuild tool use history.
* Add -n flag to //paste to select without pasting.
2019-11-10 10:05:11 -05:00
wizjany
fc5c625f02
Add -n flag to //paste to select without pasting.
2019-11-09 20:58:47 -05:00
wizjany
2b1a7ed943
Make lrbuild tool use history.
2019-11-09 20:58:47 -05:00
wizjany
e5fe051340
Use persistent leaves for garden patch generator (/pumpkins)
2019-11-09 20:58:39 -05:00
wizjany
575463a8e9
Make a few more selection commands usable from console.
2019-11-09 11:31:51 -05:00
wizjany
91f92a46fe
Apply watchdog mode to undo/redo. Abstract EditSession creation logic.
2019-09-30 18:28:13 -04:00
wizjany
da0ef12239
Add Bukkit watchdog implementation.
2019-09-30 16:47:24 -04:00
wizjany and GitHub
a515ed0a30
Merge pull request #522 from EngineHub/feat/nested-fabric-api
...
Bundle required fabric api jars.
2019-09-28 19:58:52 -04:00
wizjany and GitHub
7f4166157e
Merge branch 'master' into feat/nested-fabric-api
2019-09-28 19:43:06 -04:00
wizjany
e77393a51e
Bundle required fabric api jars.
2019-09-19 21:21:25 -04:00
wizjany
44dc926c49
Fix console command usage.
2019-09-19 20:53:47 -04:00
wizjany and MattBDev
a62cbce787
Update docs links to point to enginehub.
...
(cherry picked from commit 95d5adb30c )
2019-08-22 21:34:01 -04:00
wizjany and MattBDev
d2063a210e
Update/remove more dead links.
...
(cherry picked from commit 17cfdee347 )
2019-08-22 21:32:56 -04:00
wizjany and GitHub
61bc012f6f
Fix source masks using EditSession instead of clipboard. ( #515 )
2019-08-10 11:54:22 -04:00
wizjany and GitHub
0e25839490
Fix schematic list box loading schems with spaces in path.
2019-08-08 10:14:16 -04:00
wizjany
17cfdee347
Update/remove more dead links.
2019-08-06 23:07:26 -04:00
wizjany
95d5adb30c
Update docs links to point to enginehub.
2019-08-06 21:49:43 -04:00
wizjany
11a532be74
Back to snapshot.
2019-08-05 23:43:58 -04:00
wizjany
bdaffff90a
7.0.1 release candidate 2
2019-08-05 23:43:58 -04: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
wizjany and GitHub
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
wizjany and GitHub
9a133c05d1
Merge pull request #510 from EngineHub/feature/blocks-are-patterns
...
Make BlockStateHolder extend Pattern.
2019-08-02 17:42:14 -04:00
wizjany
50341acab2
Fix travis.
2019-08-01 20:29:01 -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
wizjany and GitHub
c5f46d15e1
Switch build badge to TC.
...
Also remove dead wiki link.
2019-07-29 11:32:48 -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
wizjany
f4c238c3da
Load chunks when setting biomes too.
2019-07-28 10:21:29 -04:00
wizjany and GitHub
6855f22152
Merge pull request #499 from EngineHub/fix/quoted
...
Fixes using suggestions with quoted args, as well as a few other minor issues with suggestions.
2019-07-28 10:07:32 -04:00
wizjany
c93e5ccfdf
Don't suggest ##* for masks.
2019-07-28 10:02:47 -04:00
wizjany
0f420f02ff
Fix some load-order issues probably.
...
Edge cases might still exist around plugins which use WE for initial
world-gen, or in general plugins that try to access the platform
before it's ready.
2019-07-27 11:45:21 -04:00
wizjany and Matthew Miller
8f33e0d550
Make a bunch of paginations internal, generify command boxes. ( #509 )
2019-07-27 14:35:38 +10:00
wizjany
415cdc0ab2
Output to debug only if we have a valid DFU for schematics.
...
Warn for backwards (since we can't DFU) and info for missing DFU
(since it might still be compatible).
Under normal circumstances, a DFU should be available so we'll only
log to debug (which is generally off).
2019-07-24 19:05:39 -04:00
wizjany and GitHub
78488d9b76
Merge pull request #495 from EngineHub/hotfix/nav
...
Pass through wall improvements
2019-07-23 22:17:15 -04:00
wizjany
4ee2d3b47c
Move isAllowedToFly and setFlying to AbstractPlayer, protect them.
2019-07-23 22:16:26 -04:00
wizjany
2cc6a367c6
Move floatAt logic to AbstractPlayer, add isAllowedToFly and setFlying.
2019-07-23 22:16:26 -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
wizjany
e504c29df6
Fix potential race condition.
...
I guess.
2019-07-23 21:41:39 -04: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
wizjany
a65351e43e
Don't load old adapters.
2019-07-19 21:19:09 -04:00
wizjany
7c41949f40
Update bukkit adapters for 1.14.4.
2019-07-19 20:44:39 -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
wizjany
a18f26f8af
Play nicer with naughty plugins.
2019-07-06 09:44:53 -04:00
wizjany
f0c0eedde7
Fix handling CUI on Forge server.
...
Probably.
2019-07-05 17:08:18 -04:00
wizjany
96e2b6c5af
First attempt at fixing quoted string oddities.
2019-07-04 22:01:55 -04:00
wizjany and GitHub
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
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
abbca2ea18
[Docs] Add a more visible tip about //help on the commands page.
2019-06-29 10:35: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
wizjany
b5e895c37e
Update info tool to components.
2019-06-28 18:02:06 -04:00
wizjany and GitHub
9136139cfd
Fix pasting leashed entities. ( #494 )
2019-06-28 17:09:42 -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 and GitHub
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
wizjany
efc4d7cba1
[Fabric] Update fabric/yarn versions to 1.14.3.
2019-06-27 18:37:55 -04:00
wizjany
7d558ccffa
Update Piston for to 0.4.2 for bugfix.
2019-06-26 23:16:24 -04:00
wizjany and GitHub
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
wizjany
2347fdff62
[Forge] Use IClearable to clear containers.
2019-06-24 22:44:45 -04:00
wizjany
8fcc22c21d
Cleanup multiple batch usage for chunk deletion.
2019-06-22 15:01:00 -04:00
wizjany and GitHub
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
wizjany
902754ce8a
Bit more cleanup for schematic handling.
2019-06-21 11:07:03 -04:00
wizjany
a3d23fdcea
Fix requirements of sponge schematic spec.
...
Fixes WORLDEDIT-3929.
2019-06-20 18:51:29 -04: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 and Matthew Miller
0088fe79b3
Cleanup Bukkit internal id usage.
2019-06-15 17:33:17 +10:00
wizjany and Matthew Miller
dc21b4df58
This does something idk.
2019-06-15 17:33:17 +10:00
wizjany
e69ba31d6b
Bring FakePlayer cache to Forge.
2019-06-14 18:09:21 -04:00
wizjany
e1c191599c
Implement item brushes and item NBT for bukkit.
...
This allows usage of `/br <apply|paint> <shape> item` and the `offhand`
syntax for item parser to use NBT.
2019-06-14 16:37:23 -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
wizjany
efb7650d6f
Fix some reload issues.
...
And some unload issues.
2019-06-11 18:02:24 -04:00
wizjany
fd1178a3d0
Fix item interact event.
2019-06-11 18:02:24 -04:00
wizjany
c361da11f1
Various fixes and improvements for Forge WE 1.13.
2019-06-09 20:45:24 -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
wizjany
3fd661c513
Don't attempt to check unloaded world refs.
2019-06-08 11:25:36 -04:00
wizjany
8022d8e911
Use ItemInteract for item right clicks in Sponge.
...
They don't fire for InteractBlock.
# Conflicts:
# worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java
2019-06-06 13:22:18 -04:00
wizjany
351fd6771a
Restore ability to restore old MCRegion files.
2019-06-06 10:34:12 -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