Commit Graph

3019 Commits

Author SHA1 Message Date
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 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
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
Matthew Miller f89bc3a648 7.0.1 Snapshots 2019-06-11 21:38:53 +10:00
Matthew Miller 84eb4b1aab Bump to 7.0.0 2019-06-11 21:36:19 +10:00
Matthew Miller 214af8a535 Update changelog 2019-06-11 21:15:48 +10: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
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
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
Kenzie Togami d46cd78e14 Port doc printer to Kotlin, heavily improve 2019-06-05 23:26:57 -07: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
Matthew Miller 1b4ea528ea Back to SNAPSHOT for continued development 2019-06-05 22:02:08 +10:00
Matthew Miller 5c2ed0228d Update to RC3 2019-06-05 22:01:57 +10: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
Kenzie Togami bae2a0b244 Update Piston to 0.4.1 for bugfixes 2019-06-04 18:57:40 -07:00
wizjany 2ef7cfd038 Update readme links. 2019-06-04 18:31:19 -04:00
wizjany e3097dd0fc Use java-library to exclude some deps. 2019-06-03 23:56:34 -04:00
wizjany 3df2410254 Change chunk loading method.
Behavior of loadChunk changed a lot for the worse in CB 1.14.
2019-06-02 21:56:29 -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 a3ca670a32 Fix sponge perms too.
Untested tho cuz 1.13 lol
2019-06-01 09:48:45 -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
wizjany 59447c6ee3 Gradle sucks. 2019-05-31 13:53:28 -04:00
wizjany 44ee1546b7 Apparently CB uses this. 2019-05-31 11:48:08 -04:00
wizjany 4e43595c99 Fix builds maybe. 2019-05-31 11:24:38 -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
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