Commit Graph

4025 Commits

Author SHA1 Message Date
Maddy Miller
ab75fd7748
Shade and relocate jlibnoise (#2363)
* Shade and relocate jlibnoise

* formatting fix
2023-08-06 10:52:26 -07:00
Madeline Miller
ff8e5054f5
Merge branch 'version/7.2.x' 2023-07-16 20:11:48 +10:00
Madeline Miller
5d03b1e682
Update test permissible for latest API 2023-07-16 20:10:36 +10:00
Maddy Miller
5b674745f1
Fix legacy block wrappers with new NBT API (#2361) 2023-07-15 18:47:24 +10:00
Madeline Miller
19db609bcc
Minor optimisations to cone command algorithm 2023-07-15 17:27:03 +10:00
Chris Lang
00849939c2
Added cone generation command (#2251)
* Added cone generation command

* Fix formatting problems

---------

Co-authored-by: Madeline Miller <mnmiller1@me.com>
2023-07-15 17:22:45 +10:00
Madeline Miller
ac7e45e246
Merge remote-tracking branch 'origin/version/7.2.x' 2023-07-15 15:33:18 +10:00
TomyLobo
1514661d72
Merge pull request #2360 from EngineHub/improve-error-behaviour
Improve error behaviour of //generate
2023-07-15 00:24:31 +02:00
TomyLobo
cce2111c64
Improve error behaviour of //generate
Now it has the same error behaviour as //deform.
2023-07-14 23:49:39 +02:00
Madeline Miller
682c72e519
Stop double-ungzipping schematic format checks. Fixes #2356 2023-07-11 22:16:25 +10:00
Madeline Miller
6770ada5e1
Merge branch 'version/7.2.x' 2023-07-02 20:55:57 +10:00
Madeline Miller
93e413c613
Fix test compile error due to Spigot mid-version API break 2023-07-02 20:55:16 +10:00
haykam821
b5b29a2962
Add the trim command (#2278)
* Add the trim command

Fixes #1629

* Fix issues from PR review

---------

Co-authored-by: Madeline Miller <mnmiller1@me.com>
2023-06-24 16:36:24 +10:00
Maddy Miller
a3a5b074b0
Add a memoizing mask utility (#2319)
* Add a memoizing mask utility

* add utils to Masks

* license header

* PR feedback
2023-06-24 05:42:45 +00:00
Maddy Miller
61363821b9
Add a BiomeCategories API (#2338)
* Add a BiomeCategories API

* licenses

* 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
2023-06-24 15:11:31 +10:00
TomyLobo
6494dbc612
Improve ArbitraryShape caching (#2325)
* Improve ArbitraryShape caching

Every point is now only evaluated once.

* Defer cache initialization until it is clear that we need it.

* Defer pattern evaluation until cache miss
2023-06-18 17:34:12 +10:00
Maddy Miller
5b88c3181b
Use registry lookups for Bukkit adapters (#2330)
* Use registry lookups for Bukkit adapters

* Remove a redundant todo now that this targets master
2023-06-18 17:33:15 +10:00
Maddy Miller
faf4d7c16b
Cleanup the paper adapters in the master branch (#2339) 2023-06-18 15:50:22 +10:00
Madeline Miller
b079da7db0
Merge branch 'version/7.2.x' 2023-06-14 19:21:59 +10:00
Madeline Miller
e90014db0e
Back to SNAPSHOT for continued development 2023-06-14 18:52:26 +10:00
Madeline Miller
5ca4dffd12
Release 7.2.15 2023-06-14 18:52:00 +10:00
Jordan
4892e056cf
feat: implement recently-added tree types to tree generator (#2332)
* feat: implement recently-added tree types to tree generator

* fix: add mappings to implementation worlds

* Use later API version to fix tests

---------

Co-authored-by: Madeline Miller <mnmiller1@me.com>
2023-06-14 18:47:19 +10:00
Maddy Miller
1f22906aca [Bukkit] Add 1.20.1 support to adapter 2023-06-13 00:25:28 +10:00
Madeline Miller
c5188212b5
Fixed setting sign text on 1.20 2023-06-09 23:09:43 +10:00
Madeline Miller
3cb1e03edb
Fix diffs missed due to merge crash 2023-06-09 22:06:33 +10:00
Madeline Miller
d312553fc5
Merge branch 'version/7.2.x' 2023-06-09 21:55:13 +10:00
Maddy Miller
40a203c3d2
Add Console/CommandBlock support to Fabric/Forge/Sponge (#2317)
* Add Console/CommandBlock support to Fabric/Forge

* Hoist config option and add a common abstract class for command block actors

* Apply to Sponge too
2023-06-09 21:21:40 +10:00
Octavia Togami
bb15dbcbc9 [Sponge] Stop trying to shade fastutil
It's just not necessary anymore, the versions match
2023-06-09 20:16:41 +10:00
wizjany
91c9786e27 Bump snakeyaml to match spigot, use default ctors. 2023-06-09 20:16:41 +10:00
Madeline Miller
066a7abf7f [Bukkit] 1.20 2023-06-09 20:16:41 +10:00
Madeline Miller
bb5fcce268 [Sponge] 1.20 2023-06-09 20:16:41 +10:00
Octavia Togami
4f75106857 [Forge] 1.20 2023-06-09 20:16:41 +10:00
Octavia Togami
a7ae8a9622 [Fabric] 1.20 + Loom 1.2 2023-06-09 20:16:41 +10:00
Madeline Miller
48d2195fe7 [Fabric] 1.20-rc1
Add MCUtils data

pre7

rc1
2023-06-09 20:16:41 +10:00
Lignium
716ce64194
Update WorldEdit for Sponge to API 9 (1.18.2) (#2217)
* Update WorldEdit for Sponge to API 9 (1.18.2)

* Fix SpongeTransmogrifier, switch to use native Property API

* Minor style fixes
2023-06-08 21:15:59 +10:00
Octavia Togami
9667101730
Upgrade many items, Gradle 8.1.1 (#2329)
* Upgrade many items, Gradle 8.1.1

* Bump to codecov snapshot

* Use the release of the codecov plugin

---------

Co-authored-by: Madeline Miller <mnmiller1@me.com>
2023-06-04 05:40:08 +00:00
Maddy Miller
856aaa6267
Add a -c flag to the biome brush to set entire column (#2235)
* Add a -c flag to the biome brush to set entire column

* Use new region factories that take fixed positions

* Rename to FixedHeight from just Fixed
2023-05-21 22:12:41 +10:00
Madeline Miller
bd9af40e83
Add regression tests to the round Expression function 2023-05-21 15:09:38 +10:00
Madeline Miller
237ebc1016
Ensure non-Double types are boxed in expression function calls. Fixes #2315 2023-05-21 15:03:30 +10:00
wizjany
abc8c1f256
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.
2023-05-16 17:05:30 -04:00
TomyLobo
4fc62d98cb 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.
2023-05-14 16:53:25 +10:00
TomyLobo
d28fadb842 Add //placement, which sets either pos1 or player explicitly 2023-05-14 16:53:25 +10:00
TomyLobo
21a465b902 Refactor placement system to be more flexible 2023-05-14 16:53:25 +10:00
TomyLobo
6c14e839d8 Add LocalSessionTest
Test coverage so far:
- setPlaceAtPos1
- isPlaceAtPos1
- togglePlacementPosition
- getPlacementPosition for both pos1 and player modes
2023-05-14 16:53:25 +10:00
TomyLobo
edb54345ba Extract base test class for WorldEdit test cases 2023-05-14 16:53:25 +10:00
ykgamma
df13de3379
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
2023-05-13 22:41:32 +10:00
TomyLobo
34b19577f1
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.
2023-05-13 21:25:58 +10:00
Maddy Miller
b8b89267c1
Ensure blockmap uniqueness across TE values (#2304) 2023-05-13 16:18:47 +10:00
zml
d320dafc2b
fix(core): Properly reinit convex CUI selection on primary click (#2313)
Fixes #2312
2023-05-13 16:15:42 +10:00
Maddy Miller
5638a28897
Fix ServerLevel proxies not including entities (#2308)
* Fix ServerLevel proxies not including entities

* Also include the entity call that the village generator uses
2023-05-07 15:55:27 +10:00