Spottedleaf
7388d3310f
Merge branch '1.15' of https://github.com/IntellectualSites/FastAsyncWorldEdit into workaround-visiblechunks
2020-02-22 20:11:28 -08:00
Spottedleaf
f6675160f1
Also target 1.15 & 1.14 adapters
2020-02-22 20:11:23 -08:00
IronApollo
14ac3205ce
Check for PlotSquared before initializing the feature class
...
Some users are experiencing issues during startup with FAWE not finding PlotSquared resulting in errors.
2020-02-22 21:02:12 -05:00
Spottedleaf
0d18b15393
Workaround for replacing PlayerChunkMap#visibleChunks field
...
I run a fork of paper which replaces the visibleChunks and updatingChunks
field for gc performance reasons - visibleChunks is updated via
cloning updatingChunks, and at high chunk counts this causes gc issues
due to the humongous allocation. Unfortunately the only solution is to
not clone the map - which is why the field is removed.
Instead of BukkitAdapter#getPlayerChunk using the visibleChunks field,
it now uses a MethodHandle for PlayerChunkMap#getVisibleChunk. This method is
present on spigot & paper (only protected on spigot - which is why reflection is required),
and I preserve the same thread-safety it provides in my fork - so this solution
will not break compatibility with craftbukkit, spigot, and paper.
2020-02-22 07:07:40 -08:00
MattBDev
62cb04b8ca
Remove CFI redirect and other minor changes.
2020-02-21 14:56:21 -05:00
MattBDev
516e7e4ca6
Merge remote-tracking branch 'origin/1.15' into 1.15
2020-02-21 00:00:11 -05:00
MattBDev
99f7b23a8c
Changes to API and something else I forgot because I got distracted
2020-02-20 23:59:57 -05:00
IronApollo
c9aebf17d8
Fix #320 ; optimize adapter imports
2020-02-20 21:28:28 -05:00
MattBDev
e0bb1ce853
Revert "More minor cleanup"
...
This reverts commit 38435d50
2020-02-18 18:06:08 -05:00
MattBDev
38435d50b4
More minor cleanup
2020-02-18 18:00:39 -05:00
MattBDev
49dbd4b76b
Minor changes
2020-02-14 14:29:08 -05:00
MattBDev
647665c3b0
Upstream is better than downstream
2020-02-13 20:19:45 -05:00
MattBDev
73c5e34040
Fixed AsyncWorld for real
2020-02-13 13:12:11 -05:00
MattBDev
4d4709b2f6
Removed ChunkListener8 and resolved compiling issues
2020-02-13 13:07:30 -05:00
MattBDev
e56e9e39ee
Implement new World interface methods
2020-02-12 18:19:12 -05:00
MattBDev
b1c11c9597
Implement new World interface methods
2020-02-12 17:46:07 -05:00
MattBDev
0723620722
Remove remaining BlocksHub references from the code.
2020-02-12 17:09:28 -05:00
MattBDev
ceec0ec0b9
API Breaking
...
Removed LoggingChangeSet since it wasn't functional and the majority of it was commented out.
Migrated a lot of RunnableVal implementations to Suppliers for improved readability and a very small speed improvement.
2020-02-12 17:04:21 -05:00
MattBDev
6dd85e48ba
Various changes
...
the most notable change is that PlotSquared is being moved to the Bukkit module again to allow for future compatibility with version 5 of the plugin.
2020-02-12 16:18:36 -05:00
MattBDev
0047f20d5d
Minor code quality changes
...
Changed Lock to subclass ReentrantLock since that is the only subclass DelegateLock should be using. The lock should also never be null so I added an annotation in the constructor.
I also removed some code and replaced it with PaperLib code to just clean up things a little bit.
2020-02-07 14:33:51 -05:00
MattBDev
5feac07bf0
Revert "Fixed commands not working"
...
This reverts commit 0b5eb903
2020-02-06 20:33:19 -05:00
MattBDev
f9e7b7300e
Minor changes
2020-02-05 16:27:50 -05:00
MattBDev
75653087b9
Remove FAWE-Piston
...
Disables a lot of previous functionality in FAWE until replacements can be made. This commit was untested and may cause major issues.
2020-02-05 00:37:42 -05:00
MattBDev
3452fd5a63
Merge branch '1.15' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into 1.15
2020-02-04 17:59:08 -05:00
IronApollo
4f3db6f3da
Attempted fix for #329
...
Removing this code seemed to fix the issue while not breaking general editing abilities. Needs testing to determine any unintended side effects!
2020-02-01 20:28:48 -05:00
IronApollo
83bb3966ca
Update adapter to 1.15.2
...
Adapter updated to 1.15.2, mostly a clone of 1.15 / 1.15.1's adapter. I encountered no issues from this, but the field names for our reflections may need to be double-checked for accuracy in this Minecraft version.
2020-02-01 20:11:02 -05:00
MattBDev
6c5ac08a3c
Minor upstream changes
2020-01-31 17:44:50 -05:00
MattBDev
7236b0a026
Minor code changes
2020-01-29 17:10:59 -05:00
MattBDev
d381617f11
Revert "Using an array instead of an EnumMap isn't necessary here"
...
This reverts commit 240a817e
2020-01-29 16:03:02 -05:00
MattBDev
020c674c01
Revert migration of FaweCache to Kotlin
2020-01-29 15:01:38 -05:00
MattBDev
7d4acbdcac
Remove some reflection from QueueHandler
2020-01-29 14:33:41 -05:00
MattBDev
cb6359f010
Removed 1.13.2 support.
2020-01-27 18:54:31 -05:00
MattBDev
240a817e6e
Using an array instead of an EnumMap isn't necessary here
2020-01-26 16:45:07 -05:00
MattBDev
5d5ee7e61e
Merge remote-tracking branch 'origin/1.15' into 1.15
2020-01-26 13:10:18 -05:00
MattBDev
8078cf077a
consistency changes
2020-01-26 13:01:16 -05:00
NotMyFault
93ebd21a61
Update bStats adding ID
2020-01-25 02:26:49 +01:00
MattBDev
e0f6869573
Revert "More code quality fixes"
...
This reverts commit 2d6957ce
2020-01-23 14:41:57 -05:00
MattBDev
37003ec089
Merge branch '1.15' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into 1.15
2020-01-22 21:15:58 -05:00
MattBDev
2d6957ce1c
More code quality fixes
2020-01-22 21:15:52 -05:00
NotMyFault
8b69767cd8
Add support for 1.15.2 and some minors
...
- Removed duplicated dependencies
- Credited important contributors
- Updated website with an actual website
- Update DummyFawe internal version to 1.15.2
2020-01-22 01:09:07 +01:00
MattBDev
88359f0215
More Kotlin
2020-01-21 14:30:13 -05:00
MattBDev
0cad7f229b
API improvements
2020-01-15 20:38:46 -05:00
MattBDev
da7c21d32a
Removed metrics from API
...
We shouldn't have exposed it in the first place.
2020-01-15 17:20:40 -05:00
MattBDev
2fb1c3bdbc
Remove factions due to maven repo being down
2020-01-13 21:02:31 -05:00
MattBDev
b2be1ea9fb
Remove duplicated methods
2020-01-10 19:26:26 -05:00
MattBDev
86a55b7bf0
Merge remote-tracking branch 'origin/wip' into 1.15
2020-01-10 19:22:23 -05:00
MattBDev
98d0420c08
Minor tweaks
2020-01-10 13:29:20 -05:00
NotMyFault
b88d7b3e60
Don't send bad packets
2020-01-10 14:26:24 +01:00
NotMyFault
3ee920f9e6
Update upstream
2020-01-08 19:36:12 +01:00
Jesse Boyd
900268633d
Fix compile
2020-01-07 00:41:41 +00:00
Jesse Boyd
e69ea37665
Merge branch '1.15' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into 1.15
2020-01-07 00:09:49 +00:00
NotMyFault
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
Jesse Boyd
c05cdd8faa
Merge branch '1.15' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into 1.15
2020-01-04 10:12:33 +00:00
Jesse Boyd
88a95221a8
Make masks more stateless
2020-01-04 10:11:13 +00:00
MattBDev
05760c49cd
Fixed compile issues and disabled plotsquared hook
2020-01-03 16:05:25 -05:00
MattBDev
f3e0109be2
A lot of small changes
2020-01-03 15:38:30 -05:00
NotMyFault
3fb5ac6be8
Rename debugpaste value names
2020-01-03 14:48:44 +01:00
Jesse Boyd
9efdd886c5
Fix translate args
2019-12-25 02:34:20 +00:00
KennyTV
8569359d8f
Fix Java 12+ compatibility
2019-12-21 21:21:25 +01:00
Jesse Boyd
39faa740a2
Fix some adapter issues
...
regen 1.13, tile get npe, null block type values
2019-12-21 09:45:59 +00:00
Jesse Boyd
c2cc4f5aeb
Fix craftbook
2019-12-20 05:54:03 +00:00
NotMyFault
f37bc9417c
Merge branch 'merge' into 1.15
2019-12-19 19:05:27 +01:00
Jesse Boyd
8c1a379575
Hide adapter stacktrace
2019-12-19 17:01:22 +00:00
Jesse Boyd
1a64976195
load 1.15 adapter
2019-12-19 16:33:08 +00:00
Jesse Boyd
6a49b71cf2
Fix compile
2019-12-19 16:19:46 +00:00
Jesse Boyd
ea5f7a77be
Merge branch 'merge' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into merge
2019-12-16 09:08:28 +00:00
Jesse Boyd
6ddeb2ebf5
Various minor
...
refactor some region dependencies
swithc masking extent to a filter (so it can be parallelized)
Some unfinished refactoring of the filters
remove piston messages from strings.json
2019-12-16 09:07:51 +00:00
MattBDev
ee94bc2ddb
More work to get 1.15 working
2019-12-11 17:47:34 -05:00
MattBDev
a137d719cb
Remove 1.13 and 1.14 code
2019-12-11 17:47:14 -05:00
NotMyFault
68144232ba
More 1.15 wip No.2
2019-12-11 17:06:05 +01:00
NotMyFault
5358c51011
1.15 (wip)
...
Adapters and nms needs updating still, alongside some other fixes and changes, but I'm too tired for that now
2019-12-11 02:11:52 +01:00
NotMyFault
a058f13d6e
Updates
2019-12-09 21:34:26 +01:00
NotMyFault
80d7b0582f
i18n upstream merge
2019-12-09 20:07:57 +01:00
Jesse Boyd
a36778794b
fix paste tile npe
2019-11-29 02:56:07 +00:00
NotMyFault
1b2710f823
Remove ASkyBlock
...
ASkyBlock does only exist up to 1.12 and won't be continued to higher versions.
2019-11-27 23:50:32 +01:00
Jesse Boyd
913ada31fb
Fix lighting 1.14
2019-11-24 02:26:52 +00:00
Jesse Boyd
ee54dcd809
wip generatebiome
...
will finish later
2019-11-24 01:50:05 +00:00
Jesse Boyd
1f19b92b0b
1.13?
2019-11-24 00:57:29 +00:00
Jesse Boyd
50c9a2c2d2
Fxi regen (again)
2019-11-23 18:41:05 +00:00
Jesse Boyd
2fcd375912
potentially fix regen
2019-11-23 17:50:38 +00:00
Jesse Boyd
944c8c5521
Fixes #255 compass exceptipn
2019-11-23 05:15:48 +00:00
Jesse Boyd
97a4d2e103
Fixed regen
2019-11-23 04:45:43 +00:00
Jesse Boyd
1844d4dba7
Various major
...
Add regen
Add //history [find|restore|rollback|summary|clear]
- history commands are interactable
- inspect brush info is interactable
Commands are now logged to a searchable database
Fix some cases of id/ordinal mismatch
2019-11-23 04:31:48 +00:00
Jesse Boyd
85382ad109
Fix permissions
2019-11-22 15:30:45 +00:00
Jesse Boyd
0c85db920c
save strings.json
2019-11-21 20:37:56 +00:00
Jesse Boyd
1341e38a90
fix compile
2019-11-21 19:56:10 +00:00
Jesse Boyd
66744bfaa4
Merge remote-tracking branch 'upstream/feature/translatable-text' into i18n-merge
2019-11-21 13:50:05 +00:00
Jesse Boyd
37b6c406ac
reduce diff
2019-11-21 07:57:32 +00:00
Jesse Boyd
52a502a1c6
Refactor confirmation
2019-11-21 06:50:37 +00:00
Jesse Boyd
144ea2ef34
Lazy tags + get / set tiles
...
Lazy tags means tiles/ents are not translated into the nms NBTBase until it is needed. Should be faster in cases where getFullBlock is called, but nbt is not always needed.
Commands like Copy and Paste, where the input/output are both nms worlds, can entirely bypass WorldEdit translating to and from the WorldEdit JNBT classes.
2019-11-20 03:40:52 +00:00
Jesse Boyd
60759934a3
Fix some merge issues
2019-11-20 00:11:54 +00:00
Jesse Boyd
0e22d4718a
fix some merge issues
2019-11-19 22:07:30 +00:00
Jesse Boyd
5d8adbc10c
Merge remote-tracking branch 'upstream/master' into merge
2019-11-19 21:25:36 +00:00
Jesse Boyd
2c9f192baf
Merge remote-tracking branch 'upstream/master' into merge
2019-11-19 21:23:47 +00:00
Kenzie Togami
122f3b2562
8af68fc884
2019-11-19 04:43:30 +00:00
Jesse Boyd
1b07846746
some adapter refactoring
2019-11-19 04:40:40 +00:00
Matthew Miller
ded86d4872
Fixed issues brought up in review
2019-11-18 19:50:52 +10:00
Jesse Boyd
0087a0d6ab
Various minor
...
fix undo null sections
fix cancel for certain parallel jobs
optimize schem paste
2019-11-17 22:47:56 +00:00
Jesse Boyd
329df8d33b
various minor
...
Increase target size
remove unnecessary brush sync
send chunk on biome change
2019-11-17 20:29:25 +00:00
Jesse Boyd
3f92f12e89
synchronize char blocks
2019-11-17 20:02:33 +00:00
Jesse Boyd
e661652c12
Fix setting blocks in null sections
2019-11-17 19:30:28 +00:00
Jesse Boyd
69c225c00f
Fix //vis
2019-11-17 17:22:21 +00:00
Matthew Miller
96e56bdd0c
Rebase translation work for easier rebasing
2019-11-16 22:42:14 +10:00
Jesse Boyd
0b1a36bb7d
WIP VisualExtent
2019-11-16 00:20:14 +00:00
Matthew Miller
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
Jesse Boyd
601890fe64
Fix biome sending
2019-11-14 19:21:28 +00:00
Jesse Boyd
b1244c7780
Remove unused methods from IFawe
2019-11-14 10:54:09 +00:00
MattBDev
630245bb9f
Attempt to fix compile and other small changes
2019-11-11 16:22:03 -05:00
MattBDev
a23a4e5496
misc changes.
2019-11-11 16:02:28 -05:00
Jesse Boyd
d61dac5aa5
Fix CFI generation
2019-11-08 22:30:39 +00:00
Jesse Boyd
faa63b0c35
CFI changeset
2019-11-08 05:27:04 +00:00
Jesse Boyd
82f5c4ebed
Fix compile
2019-11-07 10:28:17 +00:00
Jesse Boyd
0bfb1dbdd1
Fix BlockArrayClipboard offset
2019-11-05 15:08:44 +00:00
Jesse Boyd
92b34e4fa9
Regen using EditSession
2019-11-05 08:03:00 +00:00
Jesse Boyd
1e16095cba
Fix palette / region iteration
2019-11-04 07:47:31 +00:00
Jesse Boyd
930dfb7f7c
Various minor
...
thread local cleans on close
remove unnecessary loop on set
remove unnecessary get on set
clean CFI cache on generate
2019-11-03 16:59:11 +00:00
MattBDev
d8d7c8c53f
Merge branch 'commanding-pipeline' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into commanding-pipeline
...
Conflicts:
worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitPlayer.java
worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java
worldedit-core/src/main/java/com/boydti/fawe/beta/filters/DistrFilter.java
worldedit-core/src/main/java/com/boydti/fawe/beta/implementation/ChunkCache.java
worldedit-core/src/main/java/com/boydti/fawe/beta/implementation/ParallelQueueExtent.java
worldedit-core/src/main/java/com/boydti/fawe/command/CFICommands.java
worldedit-core/src/main/java/com/boydti/fawe/object/brush/visualization/cfi/HeightMapMCAGenerator.java
worldedit-core/src/main/java/com/boydti/fawe/object/brush/visualization/cfi/MCAWriter.java
worldedit-core/src/main/java/com/boydti/fawe/wrappers/WorldWrapper.java
worldedit-core/src/main/java/com/sk89q/worldedit/LocalSession.java
worldedit-core/src/main/java/com/sk89q/worldedit/command/ToolUtilCommands.java
worldedit-core/src/main/java/com/sk89q/worldedit/world/NullWorld.java
worldedit-core/src/main/java/com/sk89q/worldedit/world/World.java
worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockTypes.java
2019-11-02 15:58:46 -04:00
MattBDev
f262271519
Message updates
2019-11-02 15:53:25 -04:00
Jesse Boyd
32d837414b
static blocktype initialization
...
instead of using hacky reflection
2019-11-02 20:35:51 +01:00
Jesse Boyd
b97b40e413
various
...
use vector.add for compatibility with vs-flattened
flush before remember
share meta objects across players
fix wg compatibility
2019-11-02 19:31:32 +01:00
Jesse Boyd
f8e1654a4e
Update BukkitGetBlocks_1_14.java
2019-11-02 18:37:17 +01:00
Jesse Boyd
df9e9e510a
Limit processing
2019-11-02 12:13:42 +01:00
Jesse Boyd
0c1fdcc498
remove broken debug
2019-11-01 22:56:07 +01:00
Jesse Boyd
9cf02fe654
WIP Anvil API
2019-10-31 21:04:02 +01:00
Jesse Boyd
c383fab2c2
cfi packet listener
2019-10-30 12:58:21 +01:00
Jesse Boyd
72951cdf23
Various
...
fake chunk packet
aliases
cfi wip
2019-10-30 12:26:52 +01:00
Jesse Boyd
8356004ec9
chunk sending / cfi
2019-10-26 14:21:49 +01:00
MattBDev
ca843f1b90
Minor changes for readability
2019-10-23 22:34:44 -04:00
Jesse Boyd
938dde68b2
Don't force load
...
didn't realize this loads the chunk, I just need to delay unloading until the operation is complete
2019-10-23 16:44:36 +01:00
Jesse Boyd
2080e9786b
commanding-pipeline diff
2019-10-23 05:23:52 +01:00
MattBDev
7d60053aaf
Fixed the mixup of backslash and forward slash
2019-10-09 21:51:37 -04:00
MattBDev
c928564b59
Delete "in"
2019-10-09 20:47:23 -04:00
MattBDev
ccd8f2c2a9
Attempt to fix command execution.
2019-10-09 20:43:28 -04:00
MattBDev
183d733825
Add a check to prevent PlotSquared Features from trying to load.
2019-10-09 16:28:33 -04:00
MattBDev
da3019ae3d
More compile fixes and upstream mergesa
2019-10-09 16:15:26 -04:00
MattBDev
11d30d2f94
Disabled FAWE commands until the plugin can actually set a block again
2019-10-07 15:09:52 -04:00
Kenzie Togami
0767f56711
Update to Piston 0.5.2 + Doctools/Deprecation improvements ( #523 )
...
* Update to Piston 0.5.2
* [Doctools] Fix output, be verbose about deprecations
* Improve deprecation system, doctools output
(cherry picked from commit 03c0cce53e
)
2019-10-07 12:57:47 -04:00
MattBDev
3431bd0644
Remove old plugin support and migrate to Piston (non-FAWE)
2019-10-07 12:27:18 -04:00
Kenzie Togami
03c0cce53e
Update to Piston 0.5.2 + Doctools/Deprecation improvements ( #523 )
...
* Update to Piston 0.5.2
* [Doctools] Fix output, be verbose about deprecations
* Improve deprecation system, doctools output
2019-10-05 19:06:18 +10:00
MattBDev
51a5c22677
I hope these are the last few errors
2019-10-03 20:37:19 -04:00
Kenzie Togami
8af68fc884
Initial watchdog setup. Bukkit needs adapters, everything needs testing.
2019-09-29 22:09:55 -07:00
MattBDev
24a147465d
Fixed a bunch of extends and removed slottableblockbag
2019-09-21 21:00:45 -04:00
MattBDev
8b96cdc9a5
*
...
A tribute to Jesse
2019-09-20 21:52:35 -04:00
MattBDev
c926cddbd6
Item Registry Test is now functional
2019-09-19 14:56:03 -04:00
MattBDev
3bcfcd3008
Fixed bug with wands and updated tests
2019-09-18 15:09:04 -04:00
MattBDev
4357c4b049
Fixed not being able to login.
2019-09-15 12:50:37 -04:00
MattBDev
e72f1b32df
I hate when md_5 actually decides to do stuff.
2019-09-13 23:12:49 -04:00
MattBDev
14ed3f1d9c
Remove FawePlayer and API modifications
2019-09-13 23:05:16 -04:00
MattBDev
ae2d765533
Removed duplicated method and implemented missing ones
2019-09-03 12:17:21 -04:00
MattBDev
06a92d29b1
Merge branch 'commanding' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into commanding
...
# Conflicts:
# worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/BukkitImplAdapter.java
# worldedit-core/src/main/java/com/sk89q/worldedit/command/ApplyBrushCommands.java
# worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/PlatformCommandManager.java
# worldedit-libs/core/build.gradle.kts
2019-09-02 15:24:53 -04:00