Commit Graph

2605 Commits

Author SHA1 Message Date
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
wizjany
34c31dc020 Release WE 6.1.4 for Forge 1.10.2.
Bump version to 6.1.5-SNAPSHOT for development.
2016-09-05 00:53:50 -04:00
wizjany
ddff8ecbb2 Re-add and update ForgeItemRegistry.
And fix code that depended on it.
Reverts parts of e91859130c
2016-08-28 02:48:29 -04:00
Kenzie Togami
2267dfd29f [Forge] Update to 1.10.2. 2016-08-28 01:23:19 -04:00
Kenzie Togami
38ddeaf777 [Forge] Initial update for 1.10 2016-08-28 01:23:19 -04:00
Wizjany
2e10fe896f Fixed bad copypaste in error message for //curve. 2016-08-27 16:53:51 -04:00
Kenzie Togami
4a72b97164 Fix getting the git hash 2016-08-22 17:19:52 -07:00
wizjany
98510992eb Fix artifact publishing.
I keep ammending this commit so it doesn't look like I've been working on
this for the past three hours.
2016-08-06 07:08:29 -04:00
Wyatt Childers
b9801ebf57 Fixed an issue where the ParametricCallable wasn't forwarding InvocationTargetExpections caused by CommandExceptions properly
Fixes WORLDEDIT-3364
2016-07-17 19:03:22 -04:00
wizjany
c957ffb95a Fix NPE when //genbiome expression was false.
Fixes WORLDEDIT-3467.
2016-07-06 11:14:11 -04:00