Commit Graph

416 Commits

Author SHA1 Message Date
7aa0d9c122 Various minor
Disable P2's we region restrictions (so that it uses FAWE's)
Fix extent binding
Fix filtering on null sections
2019-11-11 16:49:13 +00:00
240b2de90c Update to PlotSquared-we branch 2019-11-06 09:29:20 +00:00
0bfb1dbdd1 Fix BlockArrayClipboard offset 2019-11-05 15:08:44 +00:00
32d837414b static blocktype initialization
instead of using hacky reflection
2019-11-02 20:35:51 +01:00
df9e9e510a Limit processing 2019-11-02 12:13:42 +01:00
ed7df341b4 Make mca file reusable 2019-11-02 08:07:40 +01:00
2f3c6769c8 Legacy clipboards 2019-11-02 07:15:56 +01:00
c2cb463dae Fix schem load 2019-11-01 23:48:52 +01:00
0c1fdcc498 remove broken debug 2019-11-01 22:56:07 +01:00
23e0b0ef02 Update SpongeSchematicReader.java 2019-11-01 22:26:39 +01:00
88b6d60f8e schem v2 biomes 2019-11-01 22:09:50 +01:00
1ad040f7d0 fix compile 2019-11-01 18:36:40 +01:00
f0ab1d5f18 finish overhaul of NBT stream api 2019-11-01 18:29:13 +01:00
9cf02fe654 WIP Anvil API 2019-10-31 21:04:02 +01:00
b533408022 wip clipboard migration 2019-10-31 14:12:23 +01:00
0296d566ed wip remove faweclipboard 2019-10-31 04:04:15 +01:00
1b28dcda40 Minor changes to match upstream more closely 2019-10-23 14:29:37 -04:00
fd408c64ed Selective merge of commanding branch. 2019-10-23 12:58:36 -04:00
8768085479 schem list is still broken
clickEvent and hoverEvent don't seem to work, I'm probably doing something wrong
2019-10-23 15:35:04 +01:00
2080e9786b commanding-pipeline diff 2019-10-23 05:23:52 +01:00
f963e63f58 Attempt to fix compiling 2019-10-03 19:35:55 -04:00
7e3fc6c8e7 Disable watchdog ticking by default, //watchdog to turn on 2019-09-29 22:10:04 -07:00
8af68fc884 Initial watchdog setup. Bukkit needs adapters, everything needs testing. 2019-09-29 22:09:55 -07:00
24a147465d Fixed a bunch of extends and removed slottableblockbag 2019-09-21 21:00:45 -04:00
8b96cdc9a5 *
A tribute to Jesse
2019-09-20 21:52:35 -04:00
cafb4120ef More upstream compatibility fixes 2019-09-03 15:21:53 -04:00
0620478763 feature(cli): Added a CLI version of WorldEdit, and allowed most commands to be run from console (#508)
* Re-do commits to avoid awful rebase

* You can load and save a schematic file now. Still gotta setup ability to use commands as a console actor.

* Add a world override concept to LocalSession, and allow a lot more commands to be performed by actors.

* Fixed commands, and set the loaded schematic as the world override in CLI

* Properly load tags

* Added 1.14.4 data values

* Allow a majority of commands to be performed by the console.

* Fixed a lot of PR requested changes

* Added a Locatable interface and use that for getting the location of the player in commands.

* Added script support. Currently requires a newline at the end of the script.

* Shade everything to allow this to run locally - should probably minimize this to an extent later.

* Actually hook up the version

* Added a //world command to set the override

* Fixed a missed checkstyle issue

* Added CommandBlock support to Bukkit

* Make command block support configurable

* Minor cleanup and implementing a few of the final functions

* Fixed most issues from PR

* Improve UX, saving is now automatic and unknown command messages show

* Better save docs and support any clipboard format

* Include the entire formats list

* Arrays.copyOf

* Clear the world override if the selector is called on another world.

* Update logging extent to allow basic logging with non-player actors
2019-08-25 19:58:28 +10:00
cbbe8b5dfa upstream changes 2019-08-15 15:24:18 -04:00
f472c20bfb Memory optimizations (#505)
* Remove LocatedBlock overhead in LBL map

* Add new space-efficient block map, with thourough testing

* Drop ordering property, add full insertion test

* Add licenses

* Fix mocked platform conflicts

* Disable full block map testing for faster builds

* Re-implement BlockMap with fastutil maps

* Re-write chunk batching to be memory efficient

* Make MultiStageReorder use BlockMap

* Increase LBL load factor, fix long-pack limit detection

* Fix infinite loop in chunk batching

* Save memory in history by cleaning up MSR

* Re-implement LocatedBlockList in BlockMap

* Fix data race with BlockType lazy fields

* Make IDs ALWAYS present, only runtime-consistent. Use for memory efficiency in BlockMap

* Remap inner structure of BlockMap for smaller maps

* Remove containedBlocks fields, not very efficient

* Fix minor de-optimizing bug in stage reorder

* Make long packed y signed

* Add extended Y limit configuration option

* Add licenses

* Store 3 ints for unoptimized BV list

* Add final to BitMath

* Correct int-cast for long-packing
2019-08-12 22:06:40 +10:00
7a57a5dd8c minor
idk it compiles now
2019-08-10 16:01:42 +10:00
3b879477b6 more compiling 2019-08-07 10:25:57 +10:00
3c626ef25a Differentiate passthrough / abstract delegate
AbstractDelegateExtent allows overriding just the basic set/get to change behavior - at performance cost

Passthrough passes all operation, so each must be individually overrided.
2019-08-07 06:38:25 +10:00
4c2b753687 merge 2019-08-07 01:32:05 +10:00
b6bc09226c conflicts 2019-08-07 01:25:53 +10:00
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
4b54c32f3a Skip invalid blocks in schematics. 2019-08-04 15:56:16 -04:00
afae2b0784 Make TE tag optional for MCEdit schems too.
And name our threads here too.
2019-08-01 20:15:34 -04:00
0d2b0025ce Merge branch 'commanding' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into commanding
# Conflicts:
#	worldedit-core/src/main/java/com/sk89q/worldedit/command/MaskCommands.java
2019-07-29 21:06:11 -04:00
198427dc3d fix more compile errors 2019-07-29 21:05:31 -04:00
7967ef4db4 ff586011 2019-07-30 07:39:18 +10:00
f4c238c3da Load chunks when setting biomes too. 2019-07-28 10:21:29 -04:00
ff5860113d It started on work with commands then I got carried away. 2019-07-25 14:44:10 -04:00
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
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
01c371df9c Minor upstream changes and obviously more command work 2019-07-23 19:17:38 -04:00
46f5b12b36 Convert tabs to whitespace. 2019-07-22 16:42:40 -04:00
4d8cf04be1 fix some more compilation issues 2019-07-22 19:05:14 +10:00
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
85ebee7da7 brush settings 2019-07-20 01:29:49 +10:00
e86e4c9c53 wip on FaweQueue 2019-07-19 06:49:29 +10:00