Commit graph

2814 Commits

Autor SHA1 Nachricht Datum
wizjany
46dff16a97 Use our own firstNonNull to maintain back-compat.
Fixes WORLDEDIT-3567.
2017-06-08 10:01:23 -04:00
Me4502
3cf018f14a Bump the SpongePowered plugin version up to 0.8.1 2017-05-06 16:53:28 +10:00
wizjany
41de204186 Allow copyEntities to be used in ForwardExtentCopy again.
The -e flag should now work for //copy and //cut as it used to.

Fixes WORLDEDIT-3557.
2017-03-19 11:56:04 -04:00
wizjany
e511758d99 Add rotations to various blocks that were missing them.
Up/down levers still broken.

Fixes WORLDEDIT-3490.
2017-02-26 18:56:38 -05:00
Kenzie Togami
a4455e875e Merge pull request #382 from sk89q/feature/forge-1.11.2
[Forge] Update to 1.11.2
2017-02-23 08:32:29 -08:00
Kenzie Togami
537c6694e1
[Forge] Update to 1.11.2 2017-02-22 23:36:25 -08:00
Me4502
000c23827c Added 1.11.2 adapter for Sponge. 2017-01-16 11:06:58 +10:00
Me4502
04d4e89541 When choosing adapters, allow ones that aren't best, but prioritize best. 2017-01-15 17:23:45 +10:00
Jesse Boyd
58094c72c3
* 2017-01-10 16:12:13 +11:00
Jesse Boyd
ad7fdd19fb
Vector and BlockVector should use the same hashCode
For example, the getChunks method returns a Set<Vector2D> which is
actually comprised of BlockVector2D, so using set.contains(some vector)
will always return false.

There's unlikely to be multiple entities on the same block, or above
y=256, so using the int coords is better.
2017-01-10 16:03:10 +11:00
wizjany
9f24f84c2b Issue tracker is back. 2017-01-08 00:53:36 -05:00
wizjany
66aa881b0c Copy Kernel class to WorldEdit to avoid loading AWT.
Java 8's Kernel statically loads the AWT library, which
can apparently cause some issues on some systems, for some reason.

Either way, there is no need to load AWT if it's not needed (Java pls).
2017-01-08 00:51:16 -05:00
Albert Pham
10da4a4786 Indicate temporary status of YouTrack in README. 2017-01-04 19:13:50 -08:00
Me4502
76ae7e4826 Dev is always best when possible. 2016-12-29 12:15:55 -05:00
Me4502
8d27e2ae09 Added a 'dev' adapter - allowing for WorldEdit to still function in dev mode. 2016-12-29 12:15:55 -05:00
Me4502
ba59d40d69 Remove the unneccesary buildscript closure. (reverted from commit 471e759cc0d332855d82e47e3355f111ca288d2b) 2016-12-29 12:15:55 -05:00
Me4502
8cb0aa47a8 Remove the unneccesary buildscript closure. 2016-12-29 12:15:55 -05:00
Me4502
240648fd70 Updated to new Impl classes. 2016-12-29 12:15:55 -05:00
Me4502
2754d9f9ec Change adapter to allow for a 'isBest' system, meaning adapters can specify they are best used with version X. 2016-12-29 12:15:55 -05:00
Me4502
ad1bf9cf92 Fixed a lack of -dist jars. 2016-12-29 12:15:55 -05:00
Me4502
b8221e28d4 Moved the impl classes over to a directory structure 2016-12-29 12:15:55 -05:00
Me4502
3df026c2fd Removed forgegradle - it's not needed. 2016-12-29 12:15:55 -05:00
Me4502
156bf0acf5 Fixed missing license headers. 2016-12-29 12:15:55 -05:00
Me4502
e967ddf393 Switched to an adapter system. Currently has adapters for 1.10 and 1.11.
Currently, due to the small number of changes it's loading the 1.11 adapter for 1.10. This needs fixing.
2016-12-29 12:15:55 -05:00
Me4502
a438347604 Updated WorldEdit for Sponge to 1.11 2016-12-29 12:15:55 -05:00
Me4502
93735c3268 Updated for API changes. 2016-12-29 12:15:55 -05:00
Wyatt Childers
89767aedf4 Updated for latest Sponge API changes 2016-12-29 12:15:55 -05:00
Wyatt Childers
51d44f42fd Updated for latest Sponge API changes 2016-12-29 12:15:55 -05:00
Minecrell
b99ea5ec6c Update to Minecraft 1.10.2 2016-12-29 12:15:55 -05:00
Minecrell
ed8f18564a Update for Minecraft 1.10 2016-12-29 12:15:55 -05:00
Wyatt Childers
92c4a145a6 Further updates for Sponge API 5.x 2016-12-29 12:15:55 -05:00
Minecrell
b2d2fc2e70 Update for SpongeAPI bleeding changes 2016-12-29 12:15:55 -05:00
Minecrell
3216695d65 Update Sponge implementation for Minecraft 1.9.4 2016-12-29 12:15:55 -05:00
wizjany
a8d04c24be [Forge] Release 6.1.6 for Forge 1.11.
Using Forge recommended build 2189.
2016-12-13 21:16:37 -05:00
Kenzie Togami
e34fc1a82f Update contributing doc
We have been targeting Java 7 for a while now.
2016-12-02 20:27:46 -08:00
Kenzie Togami
9c32ba327f Update some notes in the compiling doc 2016-12-02 20:21:03 -08:00
Vladislav Golub
387ccb299e Fix classifier in compile guide 2016-12-02 20:15:11 -08:00
wizjany
82fdab35d1 Update 1.11 adapter with md_5's fix.
Fixes WORLDEDIT-3524.
2016-12-02 15:27:56 -05:00
Kenzie Togami
85ef47ae0c [Forge] Update mappings to 11/30. 2016-12-01 23:14:16 -05:00
Kenzie Togami
c75fd3a449 [Forge] Remove now-unused ATs 🎉 2016-12-01 23:14:16 -05:00
Kenzie Togami
1752963288 [Forge] Make //regen work better
It now creates a brand-new world, generates the appropriate section
there, and copies it over to the original world.
2016-12-01 23:14:16 -05:00
Kenzie Togami
e9419f4280 [Forge] Fix clearing inventories
1.11 no longer uses null in inventories.
2016-12-01 23:14:16 -05:00
Kenzie Togami
6ad11624bb [Forge] Initial update to 1.11
Also updates Gradle to 3.2.1, because keeping updated is good.
2016-12-01 23:14:16 -05:00
wizjany
17aafe87d0 Add some old missing items to the db. 2016-11-30 16:22:48 -05:00
wizjany
81beff8277 Release 6.1.5 for Bukkit 1.11.
Bump version for dev.
2016-11-29 00:33:42 -05:00
wizjany
465161145b Add new blocks and items to lookups. 2016-11-23 18:14:17 -05:00
wizjany
b0bfa4a562 Add new 1.11 blocks. 2016-11-20 03:07:28 -05:00
wizjany
cd266ad96c Add adapter for CraftBukkit 1.11 2016-11-17 22:23:59 -05:00
Michael
6c65a8a989 CuboidRegion contains use block position
Int casting would be better here than adding one to the max block
2016-09-13 23:13:47 +02:00
Michael
5de4cfced2 Fix region contain method
The region contain method was broken.
A lot of subsquent issues are caused by this bug.
E.g. in a selection the entities in the last blocks at the positive-axis border are not selected.

Max block gives the impression of an exclusive point; however it is inclusive!
A position that is anywhere between of a 1x1x1 region, would return false in the old implementation.

By simply adding a one this should solve the problem.

Greetings
2016-09-13 09:26:23 +02:00