Commit Graph

248 Commits

Author SHA1 Message Date
24800a662a Finish removal of PlayerDirection, and partially added diagonal support back to commands. 2018-11-12 12:38:13 +10:00
626861aa99 Fixed serialisation of vectors. 2018-11-05 23:27:03 +10:00
4e4ed6c893 Fixed missing BaseBlock import 2018-11-04 17:27:36 +10:00
53bc730909 Merge pull request #435 from sk89q/feature/trace-unflushed-sessions
Add tracing for unflushed EditSessions
2018-11-04 17:21:25 +10:00
b6f6f3dde6 Correct trace property name 2018-11-03 23:06:52 -07:00
2c8b2fe089 Move vectors to static creators, for caching 2018-11-03 23:00:24 -07:00
399e0ad5fa Refactor vector system to be cleaner
- Move Vector, etc. into `.math` package
- Drop many methods that will be auto-promoted anyways, eg. with
`divide(int)` and `divide(double)` the first is now gone.
- Take Block vectors into their own class hierarchy
- Make it clear throughout the API what takes blockvectors
- many more improvements
2018-11-03 23:00:23 -07:00
e202348dac Simplify commit-required detection 2018-11-03 22:22:43 -07:00
b8ae611c73 Checkstyle requires calling super.finalize 2018-10-30 18:44:32 -07:00
e1fbaaff59 Add tracing for unflushed EditSessions 2018-10-30 18:39:51 -07:00
3b5972b7f2 Flush / unbuffer more tools 2018-10-30 18:06:00 -07:00
93de97dc19 Allow modifying the region of a BlockArrayClipboard 2018-10-24 16:50:15 +10:00
275a2fa887 Fixed a few bad javadoc imports 2018-10-24 16:33:04 +10:00
d1312c66e1 Ensure we flush iff it is needed 2018-10-20 19:54:13 -07:00
a3f1c71d97 Make EditSession closeable for easy flushing 2018-10-20 19:50:35 -07:00
1fa1ff895b Flush or disable buffers in tools 2018-10-20 19:47:17 -07:00
dd2fcbac23 Merge pull request #430 from sk89q/feature/chunk-batching-mode
Chunk Batching
2018-10-15 13:50:10 +10:00
f8bf547c9e Added some missing bukkit registries 2018-10-14 17:55:57 +10:00
0a149a796f Make distr operation based 2018-10-12 15:28:40 +10:00
e16dacc11e Small patches for timed-calc post-1.12-merge 2018-10-11 17:25:06 -07:00
21db86f26b Register a platform for expression tests 2018-10-11 17:18:52 -07:00
bb923aeb59 Attach a configurable timeout to expression evaluation 2018-10-11 17:18:52 -07:00
844971bca6 Java on TC doesn't compile this code for some reason. 2018-10-11 22:04:16 +10:00
495b9d07b5 Not all "north/south/east/west" are boolean 2018-10-11 21:39:41 +10:00
2824a92c19 Fix some minor ordering bugs 2018-10-10 12:23:00 -07:00
7d4906cfe9 Add chunk batching flag, enable by default 2018-10-10 11:38:23 -07:00
ff391ca0b3 Update licenses 2018-10-10 11:38:23 -07:00
f73be4b75c Add newline to LocatedBlock.java 2018-10-10 11:38:23 -07:00
e059490cd1 Rework block-batching, create draft of chunk batching 2018-10-10 11:38:23 -07:00
6ecbf19406 Properly rotate fences etc 2018-10-08 22:32:26 +10:00
ff877ec03b Make BlockType#getDefaultState like other fields 2018-10-04 17:20:07 -07:00
ef2c07ca24 Update forge for new block API 2018-10-04 17:18:43 -07:00
d0ea5121f2 Make some BlockType fields lazy, to avoid early Platform dependencies 2018-10-04 17:18:01 -07:00
2cad9a2c09 Switch to a license plugin for headers 2018-10-04 00:29:34 -07:00
36cbc5d9d0 Cleanup javadoc warnings in worldedit-core 2018-10-01 15:30:23 -07:00
59584ba10c [Experimental] Don't check for permissions on root parents. 2018-09-26 15:41:27 +10:00
fd6034fbdd Added the 1.13.1 new blocks. 2018-09-23 20:22:33 +10:00
1a2cd3a948 Fixes WORLDEDIT-3609, Message should say cut when //cut is used. 2018-09-20 17:09:50 +10:00
4969dac39c Potential minor performance improvements when checking fuzzy equality. 2018-09-20 16:56:46 +10:00
934680dac2 fix sponge schematic offset 2018-09-04 14:26:50 +02:00
480f2de3af Add 1.13 chunk format for snapshots
Fixes WORLDEDIT-3714
2018-09-02 04:33:08 +02:00
8bfbc55c71 Enable experimental //walls for non-cuboid regions. 2018-08-30 16:42:50 +10:00
fdc3cd56f7 Add a mask for block categories. Eg, you can now do //replace ##wool minecraft:sand to replace all wool with sand 2018-08-30 14:51:38 +10:00
c931095736 Little bit of formatting 2018-08-27 17:24:18 +10:00
69ab1781c6 Replace FuzzyBlockMask with BlockMask, and added BlockTypeMask as a more performant mask for just block types. 2018-08-20 15:57:42 +10:00
d3b3d57041 Merge pull request #420 from sk89q/server-side-cui
Added a server side version of WorldEditCUI with limited functionality
2018-08-20 14:46:08 +10:00
7b83f97c35 Fixed NotABlockException not getting thrown 2018-08-19 14:41:09 +10:00
0f8cc99c35 Disable server CUI by default. 2018-08-19 13:46:24 +10:00
4d0df10f88 Fixed sessions not saving on shutdown 2018-08-19 13:01:08 +10:00
41c307a4b5 Set the session to dirty if the server CUI is changed. 2018-08-19 10:46:46 +10:00