Commit Graph

568 Commits

Author SHA1 Message Date
f848d3114f Re-load internal state IDs when WORLD_EDITING cap is re-loaded 2019-08-02 15:47:29 -07:00
afae2b0784 Make TE tag optional for MCEdit schems too.
And name our threads here too.
2019-08-01 20:15:34 -04:00
f4c238c3da Load chunks when setting biomes too. 2019-07-28 10:21:29 -04:00
c93e5ccfdf Don't suggest ##* for masks. 2019-07-28 10:02:47 -04:00
50cea37439 Fix other minor suggestion bugs 2019-07-27 23:49:11 -07:00
76b608f90b Fix suggestions on Bukkit for good 2019-07-27 23:31:38 -07:00
3a5170a0e8 Potenially fix quoted string completion 2019-07-27 18:12:18 -07:00
d134820bcb Merge branch 'master' into fix/quoted 2019-07-27 17:41:44 -07:00
8f33e0d550 Make a bunch of paginations internal, generify command boxes. (#509) 2019-07-27 14:35:38 +10: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
78488d9b76 Merge pull request #495 from EngineHub/hotfix/nav
Pass through wall improvements
2019-07-23 22:17:15 -04:00
4ee2d3b47c Move isAllowedToFly and setFlying to AbstractPlayer, protect them. 2019-07-23 22:16:26 -04:00
2cc6a367c6 Move floatAt logic to AbstractPlayer, add isAllowedToFly and setFlying. 2019-07-23 22:16:26 -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
917f8a1842 Pass through wall improvements
This change simplifies the algorithm greatly.

Additionally, this fixes a bug where if standing in a non-solid block
i.e. a glass pane, //thru, and the nav wand would not work.
2019-07-23 12:53:10 -04: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
1d413cde76 BrushTool typo 2019-07-17 10:56:28 -04:00
05cee0a30b Don't overwrite history during changes.
Fixes issues with some changes not being undone.

I mean, the sphere algorithm needs to not set blocks 20 times,
but other things can trigger this too.

Also allow radius 0 sphere via //sphere (because /br sphere allows it).
2019-07-16 21:43:14 -04:00
f75104f2ac Actually use fixed IDs in MCEdit reader.
Fixes WORLDEDIT-3947.
2019-07-16 19:45:27 -04:00
c1f4eecd77 Narrow timeout test exception type 2019-07-15 17:18:10 -07:00
5c5c822f4b Replace try-fail-catch-assert with assertThrows 2019-07-15 16:38:34 -07:00
429d022752 Move Core to JUnit 5 2019-07-15 16:38:33 -07:00
e98b99edcd Properly acquire JUnit 4, drop json-simple 2019-07-15 16:38:33 -07:00
5277f99bf2 Minor fixes for craftscripts in Forge 2019-07-12 13:49:45 -07:00
3bdc1c1cf2 Fixup after shade rhino merge 2019-07-12 13:49:45 -07:00
55100761a3 Migrate Core to Kotlin DSL 2019-07-12 13:49:45 -07:00
19802e478c Re-write root and libs to Kotlin DSL 2019-07-12 13:49:45 -07:00
eccbad92e8 Move away from deprecation, move dependencies towards buildSrc 2019-07-12 13:49:45 -07:00
4874c314d0 Merge pull request #501 from EngineHub/feature/gradle-5
Update to Gradle 5
2019-07-11 22:01:09 -07:00
9e7d46662c Merge pull request #498 from EngineHub/feature/improved-chunk-batching
Buffered extent improvements
2019-07-10 14:25:22 -07:00
e87a5559d6 Ensure blocks are not moved below world boundary 2019-07-10 14:10:22 -07:00
c5c6a091fd Update to Gradle 5.5 2019-07-09 18:21:21 -07:00
5a464142ae Shade Rhino and truezip into Forge dist 2019-07-08 20:21:31 -07:00
2ee71cc72f Grav brush: move to bottom, not down one 2019-07-06 15:41:11 -07:00
3ad80665d8 Fix gravity brush itself, not EditSession 2019-07-06 00:12:17 -07:00
96e2b6c5af First attempt at fixing quoted string oddities. 2019-07-04 22:01:55 -04:00
508ece9e0f Use pagination for //distr and store results. (#496) 2019-07-04 19:33:37 -04: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
f2c47f3759 License for new class 2019-07-04 11:55:27 -07:00
99ee32fe8e Many fixes for buffered extents 2019-07-04 11:43:36 -07:00
d27daefd3e Implement getBlock for chunk batching extent
Also improve speed of comparators, by using ::comparingX and bitwise
ops.
2019-07-03 21:11:36 -07:00
625cbe5e3d Make //count take a mask. Also doc updates, perm fixes. 2019-06-30 00:38:17 -04:00
1d1c38887f Added worldedit.setwand permission required to change wand/navwand.
Players without this perm will be stuck with the configuration-defined
default wand/navwand items.
2019-06-29 14:15:58 -04:00
6be77451b6 Correct perms for nav wand binding. 2019-06-29 13:55:58 -04:00
9cbf8178ea Fix setting player heads with owner name. 2019-06-29 11:11:22 -04:00
abbca2ea18 [Docs] Add a more visible tip about //help on the commands page. 2019-06-29 10:35:22 -04:00
fae44ffaf2 Re-send type id for cuboid CUI.
Works like poly CUI now.

CUI in general needs to cleanup :\
2019-06-29 07:49:09 -04:00
b5e895c37e Update info tool to components. 2019-06-28 18:02:06 -04:00
9136139cfd Fix pasting leashed entities. (#494) 2019-06-28 17:09:42 -04:00
927ae6d076 Allow block replacer to copy TEs. 2019-06-28 16:29:21 -04:00