Commit Graph

48 Commits

Author SHA1 Message Date
02886b0387 Updated the WorldEdit license using find and replace 2020-08-24 21:31:47 -04:00
e648b35b95 Small code quality changes 2020-03-24 12:32:36 -04:00
e0f6869573 Revert "More code quality fixes"
This reverts commit 2d6957ce
2020-01-23 14:41:57 -05:00
2d6957ce1c More code quality fixes 2020-01-22 21:15:52 -05:00
b292416496 Upstream and some refactoring
Note: Maybe this doesn't compile, ij is broken af smh, let's give it a try...
2020-01-04 18:34:30 +01:00
944c8c5521 Fixes #255 compass exceptipn 2019-11-23 05:15:48 +00:00
0e22d4718a fix some merge issues 2019-11-19 22:07:30 +00:00
2c9f192baf Merge remote-tracking branch 'upstream/master' into merge 2019-11-19 21:23:47 +00:00
1b07846746 some adapter refactoring 2019-11-19 04:40:40 +00:00
77ef0ae417 Bypass Bukkit in more situations (#532)
* Bypass Bukkit in more situations

* Use orElseGet

* Apply the same optimisation in the reverse BlockData adapter, and use lambdas instead of AIC

* Remove bukkit type checks

* Improve reliability of fallbacks
2019-11-15 12:02:46 +10:00
72951cdf23 Various
fake chunk packet
aliases
cfi wip
2019-10-30 12:26:52 +01:00
2080e9786b commanding-pipeline diff 2019-10-23 05:23:52 +01:00
8b96cdc9a5 *
A tribute to Jesse
2019-09-20 21:52:35 -04:00
d434dfcfdd some minor refactoring 2019-08-18 02:09:09 +01:00
46f5b12b36 Convert tabs to whitespace. 2019-07-22 16:42:40 -04:00
8108d0a936 Major command changes that don't work yet. 2019-07-16 23:44:34 -04:00
a18f26f8af Play nicer with naughty plugins. 2019-07-06 09:44:53 -04:00
664a7017b6 Add NotNull annotation to adapter 2019-06-29 06:28:14 +10:00
d6280ec945 Avoid redundant check for performance critical code 2019-06-29 04:23:51 +10:00
e1c191599c Implement item brushes and item NBT for bukkit.
This allows usage of `/br <apply|paint> <shape> item` and the `offhand`
syntax for item parser to use NBT.
2019-06-14 16:37:23 -04:00
229182aa63 Remove CUI and other cleaning 2019-06-06 18:39:51 -04:00
6962b2e7b6 Add comprehensive suggestions to many commands.
All patterns now have suggestions, including recursive patterns.
Suggestions will suggest blocks and block states.
All masks now have suggestions, though mask intersections are not
yet supported due to issues with quotes strings.
EntityRemover and ItemFactory now also have completions, as well
as all RegistryConverters (though I am unsure how many are actually
used).

Also use paper's AsyncTabComplete event, if available.
2019-05-28 22:55:20 -04:00
13a8c480e3 Insert Locale.ROOT into all case change methods 2019-05-01 15:24:32 -07:00
33f5322fda WIP merge (i'll finish this later) 2019-04-05 01:24:47 +11:00
f361619037 Merge remote-tracking branch 'upstream/master' into breaking 2019-04-03 16:53:34 +11:00
6937cfc9a9 Need internal ID for EntityType here too. 2019-03-09 10:46:40 -05:00
1b101740fe Use a proper registry for biomes 2019-02-16 17:27:00 +10:00
590b7e23a9 Remove all raw usages of BSH, improve API generics 2019-02-03 05:01:39 -05:00
e53535319d Plenty of changes to core block behavior to become more compatible with upstream WorldEdit (still more to be done!) 2019-01-31 10:08:58 -05:00
3fefcbf971 Remove all raw usages of BSH, improve API generics 2018-12-26 16:39:10 -08:00
d4157b7e0e Current progress with update 2018-12-23 11:19:33 -05: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
42e0cceeab Bukkit really needs methods to get by key/get key 2018-09-26 15:03:01 +10:00
b24d322d29 Update from sk89q/master 2018-09-03 00:10:38 +10:00
fdb9d77710 Finish the BlockData caching in Bukkit 2018-08-28 18:45:24 +10:00
abd886acd7 some hasty refactoring 2018-08-28 02:56:28 +10:00
c3db5c0cf1 Fix persistent brushes 2018-08-24 07:18:14 +10:00
dbd31ea347 Fixes boy0001/FastAsyncWorldedit#1090 2018-08-24 01:22:30 +10:00
7b83f97c35 Fixed NotABlockException not getting thrown 2018-08-19 14:41:09 +10:00
76a55b7712 Merge remote-tracking branch 'refs/remotes/sk89q/master'
# Conflicts:

#	worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitAdapter.java
#	worldedit-core/src/main/java/com/sk89q/util/yaml/YAMLProcessor.java
#	worldedit-core/src/main/java/com/sk89q/worldedit/blocks/BlockType.java

#	worldedit-core/src/main/java/com/sk89q/worldedit/command/ToolCommands.java

#	worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/BlockReplacer.java

#	worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/LongRangeBuildTool.java

#	worldedit-core/src/main/java/com/sk89q/worldedit/extent/reorder/MultiStageReorder.java

#	worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockType.java

#	worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemType.java
2018-08-14 01:36:00 +10:00
96388df4b0 Add adapters for EntityType 2018-08-13 22:29:48 +10:00
e7c27b08bf Remove stub injector methods 2018-08-13 02:36:39 +10:00
a629d15c74 Copy paste/merge FAWE classes to this WorldEdit fork
- so certain people can look at the diff and complain about my sloppy code :(

Signed-off-by: Jesse Boyd <jessepaleg@gmail.com>
2018-08-13 00:03:07 +10:00
b2769befdb Added a few utility methods. 2018-08-04 11:43:42 +10:00
65420af09e Fixed //fill and //rotate 2018-08-04 11:43:41 +10:00
572bf04482 Cleanup the bukkit implementation, and update to the 1.13 release items/blocks. 2018-08-04 11:43:41 +10:00
7192780251 Switch to Gradle. Use git log --follow for history.
This converts the project into a multi-module Gradle build.

By default, Git does not show history past a rename, so use git log
--follow to see further history.
2014-11-14 11:27:39 -08:00