Commit Graph

322 Commits

Author SHA1 Message Date
eff203c3b8 Merge branch 'breaking' into breaking-114 2019-07-17 21:31:06 +10:00
8108d0a936 Major command changes that don't work yet. 2019-07-16 23:44:34 -04:00
48356275af fix loading legacy biomes 2019-07-17 06:36:48 +10:00
cf09ca7f37 delete FaweQueue 2019-07-12 01:32:14 +10:00
f4947885b2 fix import 2019-07-11 08:46:02 +10:00
cf0c735cf3 Merge branch 'breaking' into breaking-114 2019-07-11 08:08:55 +10:00
cafd4bfece use Locale.ROOT for uppercase as well 2019-07-10 22:26:31 +10:00
a98a91e066 Use Locale.ROOT 2019-07-10 21:03:00 +10:00
b32d46b08a Use Locale.ROOT 2019-07-10 21:01:56 +10:00
50e649acb8 update items 2019-07-10 20:58:27 +10:00
20b7b121b1 1.14 blocks 2019-07-10 06:49:51 +10:00
4a40c7d99c Renaming and cleanup and a new method. 2019-07-09 15:50:13 -04:00
f99d6e7478 wip on 1.14 2019-07-09 17:18:51 +10:00
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
0feebac44b Make AbstractProperty abstract 2019-06-28 19:00:31 -04:00
58c6b6278f a69b239848 2019-06-29 04:20:48 +10:00
55dad5a972 7f3c4c4828 2019-06-29 01:39:58 +10:00
fecb380d44 aea5b68ced 2019-06-28 22:43:32 +10:00
1932c96d4f Fixed removed import during upstream cleanup. 2019-06-25 13:14:59 -04:00
a69b239848 Upstream 2019-06-25 13:07:47 -04:00
a1c15e1c39 Many upstream changes. Should be non-breaking 2019-06-25 09:00:44 -04:00
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
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
0313320816 As Jesse would say... * 2019-06-20 20:05:18 -04:00
27c7d488a2 Add perf. improvments for Forge 2019-06-15 17:33:17 +10:00
8c17aab9c5 Clean-up some misc. parts of the code 2019-06-15 17:33:17 +10:00
dc21b4df58 This does something idk. 2019-06-15 17:33:17 +10:00
2571efb5c3 Few fixes for worldedit changes 2019-06-15 17:33:17 +10:00
a3a175ab8c Initial attempt at binding state IDs 2019-06-15 17:33:17 +10:00
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
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
ec001b8d3b Revert "Upstream, generics, formatting"
This reverts commit cd88e513a8.
2019-06-12 15:45:41 +02:00
cd88e513a8 Upstream, generics, formatting 2019-06-11 20:31:56 -04:00
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
7f3c4c4828 A lot of removals, upstream merges, and maybe more. 2019-06-07 20:58:48 -04:00
351fd6771a Restore ability to restore old MCRegion files. 2019-06-06 10:34:12 -04:00
6c94cca15e Selective upstream merge
Signed-off-by: MattBDev <4009945+MattBDev@users.noreply.github.com>
2019-06-04 12:40:11 -04:00
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
9099a17fe5 Some command refactoring. Switch usages of page args to -p flag. 2019-06-01 07:04:07 -04:00
c73fc28847 Minor upstream changes 2019-05-31 11:20:02 -04:00
aea5b68ced Upstream merges and a few code cleanups 2019-05-30 16:07:30 -04:00
6bc5b4a823 . 2019-05-29 06:31:22 +10:00
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
f9d0d340e7 Add DFUs. Currently used by //restore. 2019-05-13 23:07:53 -04:00
c797dcb194 WIP filter patterns 2019-05-12 23:32:04 +10:00
113aeb1689 Use fuzzy blocks in default block parser 2019-05-07 16:40:37 +10:00
31d4daf474 Don't compare null BlockStates. 2019-05-06 19:59:58 -04:00
55b02e1b1f Implement FuzzyBlockState 2019-05-06 15:58:55 +10:00
57c161a602 Actually initialize GameModes and WeatherTypes. 2019-05-02 00:08:19 -04:00
5e81dd1c4c Make registries Keyed. 2019-05-01 20:12:35 -04:00