Commit Graph

1509 Commits

Author SHA1 Message Date
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
MattBDev e6a433ec93 Merge branch 'breaking' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into breaking 2019-06-12 15:04:53 -04:00
NotMyFault ec001b8d3b Revert "Upstream, generics, formatting"
This reverts commit cd88e513a8.
2019-06-12 15:45:41 +02:00
MattBDev 83197dba0c Removed unused classes 2019-06-11 20:42:26 -04: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
MattBDev bf5d2c2788 Temporarily removed plotsquard replaceall.
Poorly written and there is code in there that I may break in a future commit.
2019-06-05 16:13:30 -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