Commit Graph

48 Commits

Author SHA1 Message Date
Jesse Boyd 134daefa24
Various unfinished
Start work on command GUI
Code cleanup
Add new lighting mode (see config)
Rename sponge -> sponge112
Fix sponge compile issues
Fix fuzzy region min/max not being set on first use
Fix clipboard on disk not closing on java 9
Start work on CFI chunk simplifier (for loading existing worlds)
Minor tile fixes for bukkit 1.12
2018-01-16 11:30:55 +11:00
Jesse Boyd 0bac7251c1
Remove debug + Sync sponge tile changes 2017-11-12 11:42:19 +11:00
Jesse Boyd b020e3ebe6
Various minor
re-implement forge/sponge modules
Fix NBT copy error
Fix entity/tile error
Some work on multi-clipboards
2017-11-09 07:18:16 +11:00
Jesse Boyd fb444ad5c4
Various minor
Fix skull rotation
Fix off axis rotation issues after reloading disk clipboard
Fix image loading removing alpha
Add masking support to 2 cfi blockBiomeColor
2017-09-05 21:50:12 +10:00
Jesse Boyd 2649824761
Add sweep brush
Adapted from: https://github.com/Rafessor/VaeronTools
Credit @Schuwi
todo: Schematic pasting needs to be optimized for lots of small pastes,
as this is kinda slow.
2017-09-05 01:13:33 +10:00
Jesse Boyd 8d9914fafd
Don't swallow exception with disk clipboard 2017-08-10 01:19:46 +10:00
Jesse Boyd fb3c8cc5e1
Only resize if expanding 2017-08-02 13:20:47 +10:00
Mike Primm 2411adb6d1 Finish fixing AddBlock support 2017-08-01 21:58:02 -05:00
Mike Primm 8c519afce6 Fix handling of AddBlocks length, DiskClipboard resize 2017-08-01 20:47:16 -05:00
Jesse Boyd 6305919397
cleanup disk clipboard code 2017-07-31 12:48:30 +10:00
Jesse Boyd 3726a69f13
Copy/paste/stack/move biomes 2017-07-31 11:56:32 +10:00
Jesse Boyd 36fc147cc2
Start work on biome copy (will finish later) 2017-07-30 23:39:55 +10:00
Jesse Boyd 8dfcb0f914
Various
Start work on interactive commands (//help, //biomelist, //pos1/2)
Added clipboard and world remapping (between mcpe/pe)
//schematic remap
//anvil remapall
Added anvil -> leveldb converter (run Nukkit jar or /anvil2leveldb)
Added safe zstd decompressor
Angle mask fixes
Fix paste air issues with fawe format (which no-one uses anyway)
Fix cfi file:// with an absolute path
FIx schematic format and addBlocks
Update forge to 1.12
Fixes #663
2017-07-28 15:12:58 +10:00
Jesse Boyd 043f1e6002
minor cleanup 2017-06-20 19:00:30 +10:00
Jesse Boyd e03cb44b16
Fix disk clipboard initialization 2017-05-10 12:08:27 +10:00
Jesse Boyd f5720ad761
Fixes #516 - Invalidate ClipboardHolder on close 2017-04-28 13:14:05 +10:00
Jesse Boyd 1bd8c3935a
Optimize copy and load 2017-04-22 21:22:09 +10:00
Jesse Boyd b19402ae17
Some minor code cleanup 2017-03-31 06:46:05 +11:00
Jesse Boyd ecbcc7e64b
* 2017-03-29 06:59:23 +11:00
Jesse Boyd bb56a39792
Optimize schem paste + add MCAWriter to anvil 2017-03-29 06:57:01 +11:00
Jesse Boyd 147cfeed10
Add surface spline 2017-03-13 03:17:22 +11:00
Jesse Boyd 6439f28c0c
Add restrictions to region copy 2017-02-02 10:29:37 +11:00
Jesse Boyd 812c12fce4
Undo/Settings
Fix some disk and undo issues
FaweQueue uses Settings instance
2017-01-15 18:45:12 +11:00
Jesse Boyd 90e381a132
Minor vector optimizations
For the MutableBlockVector, use int instead of double
- Should reduce how quickly memory is used/collected
2017-01-13 06:05:32 +11:00
Jesse Boyd e7d97d030f
Add fuzzy region selection (with mask support)
`//sel fuzzy` or `//sel fuzzy=<mask>`
- All connected blocks matching the mask (default is same id/data) will
be added.
- Left click to select the region
- Right click to add to the existing region
2016-12-12 20:48:09 +11:00
Jesse Boyd f0a36ba1fa
Zstd/disk clipboard/version/various
Better compression with Zstd
Fix disk clipboard + minor optimizations
Fix version output
Some various incomplete stuff
2016-12-12 17:41:32 +11:00
Jesse Boyd 1c948cf0ed
Various
Add #clipboard transform
Add #fullcopy pattern
- similar to transform, it pastes the full clipboard at any changed
block
- e.g. //replace <marker> #fullcopy
Async block get optimizations for bukkit by running tasks multiple times
during a single tick
Tweak the OOM message to be more informative
Tweak the max memory config comment to be more informative
Restructured transforms to use resettable extent + reduce code
duplication
Clipboards can now be streamed to a schematic file without significant
memory overhead
- This means you can now load/paste/copy/save arbitrarily large sizes
with fixed memory usage
Optimizations to the various clipboard implementations
Add optimized extent block translation (no additional object creation
for set block)
Optimized forward extent block copy
- use optimized extent transform/translate
- pre calculate required functions/extents outside iterations
- short circuit certain functions depending on input parameters
Use edit session for patterns rather than world (faster/safer)
2016-12-06 15:58:28 +11:00
Jesse Boyd f13c01a177
Fixes #340 2016-10-24 19:38:25 +11:00
Jesse Boyd 814ac60823 Fixes #253 + other stuff
Fixes clipboard on disk
Fixed hybrid MCAQueue hybrid get (tile/block/refresh)
Fixed no NMS queue messages
2016-08-22 22:18:59 +10:00
Jesse Boyd a2589d4493 More work on optimized MCA reader
+ Fix for 1.7.10 gson import error
2016-08-17 12:10:03 +10:00
Jesse Boyd 1ed87eabbc Various
Per world session history index when using disk
Configurable clipboard/history save locations
Fixed and optimized packet sending
History caching optimizations (instant now)
2016-08-09 14:32:51 +10:00
Jesse Boyd c98d07039d Buffered random access clipboard compression + schematic -> clipboard streaming
Also adds CPUOptimizedClipboard which has no extra compression
Note: Performance degrades if access is actually random (the buffering
optimizes sequential r/w)
Removing stream in favor of clipboard compression / disk
- In order to stream a schematic, it would need to be fully read 3 times
as  tags are not ordered (dimensions -> block ids -> data + tiles +
entities)
- Much faster just using disk / memory as an intermediate step
2016-08-06 16:42:40 +10:00
Jesse Boyd 0849948f77 Minor change to relight chunk load 2016-07-16 04:38:45 +10:00
Jesse Boyd c52c1bee27 Relight improvements + ports
6 lighting modes (0-5), see config
forge194
forge110
bukkit1710
(untested)
2016-07-15 09:53:30 +10:00
Jesse Boyd ef06ca3b19 Proper NBT streaming + random access optimizations 2016-07-13 19:00:15 +10:00
Jesse Boyd 87f79f9fa6 Various fixes
Fix undo
Fix blockshub hook
API improvements
Added worldedit from console
Fixed async world loading for paperspigot
Some minor optimizations
Added some extra translations
2016-07-12 17:54:00 +10:00
Jesse Boyd e4b1cc376b Document some stuff 2016-06-21 20:35:09 +10:00
Jesse Boyd 9bf2d2b0c3 Various
Update to PS 3.4.1
- Added various optimizations for PlotSquared
- Support full schematic exporting (includes NBT now)

Added compression level option:
0 is no compression
1-9 = varying levels of compression at the expense of CPU
3 = Good fast compression
5 = Good high compression
8 = Lots of compression (going further has diminishing returns)

Add EditSession builder (for extra control over optimizations)
Added compression option to FaweChangeSet constructor
Added FAWE format (used for history / clipboard on disk)

Various minor optimizations

TODO bug fixes
2016-06-16 20:25:21 +10:00
Jesse Boyd 54864b73d2 Various
centralize error handling
fix tile entities (undo/redo)
2016-05-19 17:41:55 +10:00
Jesse Boyd 00c685cd93 Various
add git revision to jar
fix fixlighting
fix fallback bukkit queue
(currently not stable for forge/sponge)
2016-05-13 18:19:18 +10:00
Jesse Boyd 3b9408d381 Various 2016-04-28 15:00:49 +10:00
Jesse Boyd 4ec9ed3a8d Various 2016-04-28 08:10:17 +10:00
Jesse Boyd aec27d0e09 Set command optimizations 2016-04-27 05:51:22 +10:00
Jesse Boyd 57696f25f4 Finish clipboard on disk 2016-04-26 04:14:41 +10:00
Jesse Boyd 644dfc512a *correct id 2016-04-25 07:07:27 +10:00
Jesse Boyd 362490938c Added option clipboard on disk 2016-04-25 06:59:25 +10:00
Jesse Boyd 912ea44cc8 Fixes
Fixes #51
Fixes #49
2016-04-25 04:54:32 +10:00
Jesse Boyd 0da4f6f63a Fixes #48 2016-04-25 02:20:26 +10:00