Use a supplier to retain the lazy-load & dynamicness of the existing system, but still retaining the inversion of control that this PR was intended to provide (61363821 by mnmiller1)
Improve ArbitraryShape caching (#2325) (6494dbc6 by tomylobo)
Improve ArbitraryShape caching
Every point is now only evaluated once. (6494dbc6 by tomylobo)
Defer cache initialization until it is clear that we need it. (6494dbc6 by tomylobo)
Defer pattern evaluation until cache miss (6494dbc6 by tomylobo)
Use registry lookups for Bukkit adapters (#2330) (5b88c318 by mnmiller1)
Use registry lookups for Bukkit adapters (5b88c318 by mnmiller1)
Remove a redundant todo now that this targets master (5b88c318 by mnmiller1)
Cleanup the paper adapters in the master branch (#2339) (faf4d7c1 by mnmiller1)
Merge branch 'version/7.2.x' (b079da7d by mnmiller1)
Back to SNAPSHOT for continued development (e90014db by mnmiller1)
Upgrade many items, Gradle 8.1.1 (#2329) (96671017 by octavia.togami)
Upgrade many items, Gradle 8.1.1 (96671017 by octavia.togami)
Bump to codecov snapshot (96671017 by octavia.togami)
Use the release of the codecov plugin
---------
Co-authored-by: Madeline Miller <mnmiller1@me.com> (96671017 by octavia.togami)
Add a -c flag to the biome brush to set entire column (#2235) (856aaa62 by mnmiller1)
Add a -c flag to the biome brush to set entire column (856aaa62 by mnmiller1)
Use new region factories that take fixed positions (856aaa62 by mnmiller1)
Rename to FixedHeight from just Fixed (856aaa62 by mnmiller1)
Add regression tests to the `round` Expression function (bd9af40e by mnmiller1)
Ensure non-Double types are boxed in expression function calls. Fixes #2315 (237ebc10 by mnmiller1)
Add -Penginehub.obf.none=true gradle property to build mojmap worldedit-bukkit. (#2316)
This simply takes the -dev adapter jars instead of the obfuscated ones, creating otherwise the exact same worldedit-bukkit jar. This jar can be used on mojmap paper servers.
Closes #1929. (abc8c1f2 by wizjany)
Add new //placement types
- //placement min - selection min X/Y/Z
- //placement max - selection max X/Y/Z
- //placement world - absolute world location
- //placement here - This puts the placement position at the current player position. (4fc62d98 by tomylobo)
Add //placement, which sets either pos1 or player explicitly (d28fadb8 by tomylobo)
Refactor placement system to be more flexible (21a465b9 by tomylobo)
Add LocalSessionTest
Test coverage so far:
- setPlaceAtPos1
- isPlaceAtPos1
- togglePlacementPosition
- getPlacementPosition for both pos1 and player modes (6c14e839 by tomylobo)
Extract base test class for WorldEdit test cases (edb54345 by tomylobo)
Fix McRegionChunkStore.java (#2292)
- Fixes an issue where the LinCompoundTag passed to ChunkStoreHelper::getChunk is not the expected root compound tag, but one that wraps it. See comment of LinRootEntry::toLinTag (df13de33 by 28742897+ykgamma)
Use an annotation to register the methods in the Functions class (#2305)
There's a lot less code now and it's also easier to add new methods. (34b19577 by tomylobo)
Ensure blockmap uniqueness across TE values (#2304) (b8b89267 by mnmiller1)
fix(core): Properly reinit convex CUI selection on primary click (#2313)
Fixes #2312 (d320dafc by zml)
Fix ServerLevel proxies not including entities (#2308) (5638a288 by mnmiller1)
Fix ServerLevel proxies not including entities (5638a288 by mnmiller1)
Also include the entity call that the village generator uses (5638a288 by mnmiller1)
Actually register structures on other platforms (cd95d207 by mnmiller1)
Added strings and implement on other platforms (91dd9dec by mnmiller1)
Add structure generator command (5ca80395 by mnmiller1)
Update to Gradle 7.6 and resolve deprecation issues in buildscript (88851b0c by mnmiller1)
Keep extending cuboid selector after //cli selectworld (1899fa3b by tomylobo)
Keep extending cuboid selector after //paste -s/n (ba94660e by tomylobo)
Fix loading a missing session printing a warning to console. Fixes #2291 (561ab50a by mnmiller1)
Fix Sponge Schematic V1 incorrectly attempting to read base tag twice (acc4b597 by mnmiller1)
Remove requirement for caller to ungzip the stream with the new isFormat API (da4bca05 by mnmiller1)
Allow finding schematic format by InputStream (#2249) (c7d559bf by mnmiller1)
Allow finding schematic format by InputStream (c7d559bf by mnmiller1)
Update Forge for 1.19.4, and bump Fabric to final 1.19.4 release (16a2cc95 by mnmiller1)
Update Fabric to 1.19.4-pre1
Update Fabric WorldEdit to 1.19.4-pre1
Update to 1.19.4-pre3
Update to 1.19.4-rc1
Update to RC2 (7481995e by mnmiller1)
Add a feature generator and allow undoing of feature placement (#2239) (121b4b61 by mnmiller1)
Add a feature generator and allow undoing of feature placement [WIP]
Apply changes to Forge as well
Use proper translatable components (121b4b61 by mnmiller1)
Add a brush version of the feature command
Use Java proxy classes (121b4b61 by mnmiller1)
Add for Bukkit (only 1.19.3 for now)
Clean up the proxies to use a switch
Checkstyle is grumpy
Add the obfuscated versions
Remove debug text
Fix missed "destroyBlock" deobfuscated proxy function (121b4b61 by mnmiller1)
Merge pull request #2277 from EngineHub/expression-query-full-blockstate
Fix data values returned by the query functions in the expression language (e6c88280 by tomylobo)
Fix data values returned by the query functions in the expression language (b5b9c6ab by tomylobo)
Merge branch 'version/7.2.x' (f40ea0dd by mnmiller1)
Update to the new Paper maven repo (f6646aaa by mnmiller1)
Few cleanups over the code and use more Java 9+ features (#2248) (82727ffb by mnmiller1)
Few cleanups over the code and use more Java 9+ features (82727ffb by mnmiller1)
Add property suggestions for hand,offhand,pos1 patterns (#2269) (d960fa22 by mnmiller1)
Allow factory suggestions to have parser context (#2236) (98fd5dc8 by mnmiller1)
Merge branch 'version/7.2.x' (b18d66c5 by mnmiller1)
Merge pull request #2253 from Brokkonaut/bukkit-custombiomes
Allow custom biomes in bukkit (ab79341a by octavia.togami)
Allow custom biomes in bukkit (6bbcf746 by hannos17)
Merge pull request #2245 from cthbleachbit/master
EditSession.drawSpline: use vectors at block center for spline nodes (78848d5c by octavia.togami)
EditSession.drawSpline: use vectors at block center for spline nodes
The spline generator was fed integral block node vectors, where center
of a block at coordinate (X,Y,Z) is actually in (X+0.5,Y+0.5,Z+0.5).
When generating a spline with (X,Y,Z)s, the curve sometimes doesn't go
through the intended block and may make weird turns at end of the curve.
Placing spline nodes at the center causes the curve to actually hit the
center of every block selected. (17ce47cd by cth451)
Only mark CLI clipboard world as dirty when the underlying calls return a success state (98611c2a by mnmiller1)
Update README.md
Fix minor typo (034d7218 by untouchedodin0)
Merge branch 'version/7.2.x' (6951e790 by mnmiller1)
Use the connection field on 1.19->1.19.3 rather than networkManager (474c191c by mnmiller1)
Fixed 1.19.3 adapter on 7.3.0 branch (59614721 by mnmiller1)
Fix some exceptions from SpongeWorld (#2218) (b2475c7c by 41531939+lignium)
Fix exception when calling SpongeWorld#setBlock with present block entity (b2475c7c by 41531939+lignium)
Fix missing block entity metadata in SpongeWorld#getFullBlock (b2475c7c by 41531939+lignium)
Merge branch 'version/7.2.x' (844a8fc0 by mnmiller1)
Back to SNAPSHOT for continued development (882c3dd8 by mnmiller1)
Update Gradle to 7.5.1 (f7f23b44 by octavia.togami)
Add author to, and cleanup manifest files for various platforms (#2197) (470fe9e1 by mnmiller1)
Fixed clipboards failing to paste when a block has NBT data (#2198) (0b6dcb1f by mnmiller1)
Use SnakeYaml 1.32+, set loader code point limit. (#2194)
Defaults to 64MB, can be set via -Dworldedit.yaml.codePointLimit sysprop.
Fixes #2193, EngineHub/WorldGuard#1953. (0ef38b52 by wizjany)
Ignore structure void by default and use a flag to paste it (#2180) (4267fabd by mnmiller1)
Add API to disable history tracking in EditSessions (#2189) (267bbb30 by mnmiller1)
Add API to disable history tracking in EditSessions (267bbb30 by mnmiller1)
Release 7.2.11 beta 2.
Last 1.19 release for forge due to breaking changes. (315c5d03 by wizjany)
[Forge] Bump to final RB for 1.19. (96f791c5 by wizjany)
Fix tasks not being scheduled on Sponge (#2155) (ba8e4036 by yeregorixcraft)
Merge branch 'version/7.2.x' (b4ae41a4 by octavia.togami)
Merge pull request #2145 from EngineHub/feature/warning-the-following-commits-contain-deprecated-material
Clean up all deprecations in the codebase (0c3a4b88 by octavia.togami)
Merge pull request #2141 from EngineHub/feature/coming-home-from-an-adventure
Replace adventure-nbt with our own lib (8e8235ce by octavia.togami)
Exclude experimental from API (b944b3e4 by octavia.togami)
Fix a little rawtypes (914e0a32 by octavia.togami)
Clean up the last little bit of NBT deprecations (b7301a64 by octavia.togami)
Clean up getBrushTool deprecations (59fcef89 by octavia.togami)
Clean up java.io deprecations (788aec55 by octavia.togami)
Clean up all NBT deprecation warnings
except old adapters, don't want to do that if we're gonna drop them (67905ae3 by octavia.togami)
Clean up deprecations in specialized block classes (059ac19b by octavia.togami)
Avoid use of deprecated newInstance method (36ab2889 by octavia.togami)
Clean up reorder deprecation warnings (d299e36a by octavia.togami)
Remove deprecation from clipboard-adjacent files (8f79e3ac by octavia.togami)
Clone the returned getRegion on BlockArrayClipboard (#2144) (d7b3c4c0 by mnmiller1)
Only show full stacktrace with permission (#2122) (002bdd7c by mnmiller1)
Only show full stacktrace with permission (002bdd7c by mnmiller1)
How the fuck did this actually happen smh (002bdd7c by mnmiller1)
Make the BukkitAdapter thread-safe (298b641a by octavia.togami)
Update actions, upload logs (65fe8a69 by octavia.togami)
Use some pattern-matching, 'cause it's cool (8c322dfb by octavia.togami)
[Forge] Update to 41.0.98 to fix breaking changes
Fixes #2139 (8caaa3e0 by octavia.togami)
Remove maven local specifier (94745add by octavia.togami)
Fix Sponge rotation adapter (8fee9bdd by yeregorixcraft)
Restore ABI compatiblity (2aadf22b by octavia.togami)
First stab at getting lin-bus integrated (d1ebde0b by octavia.togami)
Merge pull request #2133 from EngineHub/chore/build-fix-for-master
Merge version branch in for build fix (a8b5268e by octavia.togami)
Update some plugins to fix build (ed2713a5 by octavia.togami)
Back to SNAPSHOT for continued development (fb7366e3 by mnmiller1)
Increase memory for daemon
Thanks loom (a8a3633b by octavia.togami)
[Fabric] 1.19-pre1
- new TextComponent -> Component.literal
- Use sendSystemMessage instead of displayClientMessage(..., false)
- build -> buildUnoptimized/buildOptimized; I just returned the same
from both
- Create a LevelStem for regen world constructor
- Use RandomSource instead of Random
- Command text doesn't include the slash anymore (66e3c3cd by octavia.togami)
Fix failures for when we update to a new MC version (45b0b9a8 by octavia.togami)
Fix passenger entity saving and loading (#2058) (e715ccc3 by wizjany)
Fix incorrect saving and subsequent loading of passenger entities in vehicles.
Originally from https://github.com/EngineHub/WorldEdit/issues/1763#issuecomment-1062429891.
Co-authored-by: wizjany <wizjany@gmail.com> (e715ccc3 by wizjany)
Port to Fabric/Forge.
Rewrite in Sponge to use EntityArchetype.
Sponge is untested because WE doesn't properly build/run on it right now apparently? (e715ccc3 by wizjany)
NBT Constants.
Co-authored-by: Red_Epicness <red.epicness@icloud.com> (e715ccc3 by wizjany)
Fix terminology in SECURITY.md (#2066) (d905ad47 by octavia.togami)
Merge pull request #2062 from EngineHub/fix/mixin-mixup
Un-mixup the mixins. (356cd2c8 by octavia.togami)
Defeat the duplication dilemma. (b8d42ac5 by wizjany)
Forge requires explicitly defining the refmap in the mixing config (5e49f69f by mnmiller1)
Remove afterEvaluate to restore refmap
MixinGradle uses an afterEvaluate block to determine JAR registrations.
This runs before our reobf registration does, and I honestly don't
recall why this was in afterEvaluate and it doesn't appear to break
anything so I'm calling it good. (b4b018d6 by octavia.togami)
Make some improvements to the Forge side - still not fixed (dd696172 by mnmiller1)
Un-mixup the mixins.
This properly separates the forge and fabric mixins in the merged -mod jar.
By some miracle Forge was 'working' with the Fabric mixins, but this is probably safer overall. (b8d096ba by wizjany)
Use Forge's official tag API (59742162 by octavia.togami)
Change vector command converter wording. (#2059)
Hopefully will cut down on questions of how to use `//pos x,y,z`. (5843aa50 by wizjany)
Fluid masks for forge/fabric. (#556)
Closes #877. (f50a81fc by wizjany)
Don't access PluginClassLoader directly (#2045) (44863cf5 by mail)
Revert to v2 setup-java
https://github.com/actions/setup-java/issues/295 (e21ab6a7 by octavia.togami)
Change the class source validator to use classloaders for detection. (#2039)
Since each plugin now has a semi-isolated classloader, checking the codesource of our classes will always give our own plugin back.
Instead, we iterate through every other plugin and ask *its* classloader to load the class. If the loaded class lives in a different classloader than our own, we know it (or someone else) has a different version. (e2ab12c3 by wizjany)
Allow biome commands to be used from non-player actors (#2034) (76ec878e by mnmiller1)
Move tinyurls to ehub.to (#2033) (17b9f005 by octavia.togami)
Fix Forge max height limit (#2028) (8929ad20 by octavia.togami)
Fix Forge max height limit
Because this method was silently renamed, we've been using the wrong one
for a bit. (8929ad20 by octavia.togami)
forge team plz update special source for my fix (8929ad20 by octavia.togami)
Back to SNAPSHOT for continued development (86277d1e by mnmiller1)
Remove extra label from bukkit command usage string.
This is never actually shown anywhere since we use our own help factory, but
apparently the bukkit api exposes it so... (0ad3ab14 by wizjany)
Add the UPDATE SideEffect to Forge (#2000) (512a07ea by mnmiller1)
Fix error for snapshot restore missing chunk (fb5ec199 by octavia.togami)
Fix for #1983, Use Math.floor instead of int cast (master branch) (#1989) (757bef1f by github)
Fix for #1983, Use Math.floor instead of int cast (#1986) (3fa364b4 by github)
Security email is working now (6f14f45c by octavia.togami)
Merge pull request #1981 from EngineHub/feature/pos-command
Add a //pos command to set multiple positions at once (105f7a43 by mnmiller1)
Refactor the selector choice enum to be cleaner
Fix gradle checks (c554d757 by octavia.togami)
Add a //pos command to set multiple positions at once
pre-emptively fix what octy is definitely going to pull me up on in the review
Rename pos2Extra to pos2
Fixex extra line
Apply suggestions from code review
Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
Directly use pos2 as a list
Add an -s arg to set the selector type
Update pos1 text (6c20cf21 by mnmiller1)
Merge pull request #1968 from EngineHub/chore/merging-to-master
Merge 1.18.1 to master (7925f5d1 by mnmiller1)
Version bumps for bukkit/fabric 1.18.1 (22816cff by wizjany)
Fix BlockEntity saving on Forge. (bfef9962 by wizjany)
Merge pull request #1939 from EngineHub/snapshot-testing/1.18
1.18 (6e106c16 by wizjany)
Merge branch 'version/7.2.x' into snapshot-testing/1.18 (5ce37d7a by wizjany)
Clean up forge gradle script, apply the chorus plant fix to forge/fabric world. (46de95ff by wizjany)
Bump some versions, fix forge run configs. (a8656c5f by wizjany)
Remove height from //expand vert.
With new world height limits, this will cause more confusion than good.
`//outset -v` or `//expand u,d` can replicate the previous behavior. (f5328271 by wizjany)
Bump version numbers and stuff for 1.18 release. (6760ad71 by wizjany)
Make Paperweight adapter run on 1.18rc3. (979b5227 by wizjany)
Shove 1.17 adapters into a jar to fix the build (44d91b0c by octavia.togami)
Bump paperlib dep.
Fixes a bug with detecting pre-release versions. (1aad9218 by wizjany)
Update paperweight dev bundle (511daa50 by octavia.togami)
If a trace hits the world limit, cancel it (#1942) (29f1c661 by octavia.togami)
Add getBrush helper for use with instanceof pattern matching (#1926)
Co-authored-by: Octavia Togami <octavia.togami@gmail.com> (de6fa17b by 46890129+rainbowdashlabs)
Merge branch 'version/7.2.x'
Oh god this was so awful (09bdf0a6 by octavia.togami)
Re-add class shutter with tweaks. (#1947)
We want to hide default-package classes, such as "com", "io", etc. which are common names
in Mojang obf classes but also common package names, without hiding generated default-package
classes such as described in #1895.
This reverts commit 6008fe73 (c4074717 by wizjany)
Update Kotlin version so it builds (21e65e39 by octavia.togami)
[Fabric] Update to 1.18-pre4 (953e22fc by octavia.togami)