Commit Graph

4143 Commits

Author SHA1 Message Date
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
Madeline Miller
cd95d207f2 Actually register structures on other platforms 2023-04-30 16:53:58 +10:00
Madeline Miller
91dd9deca8 Added strings and implement on other platforms 2023-04-30 16:53:58 +10:00
Madeline Miller
5ca80395a3 Add structure generator command 2023-04-30 16:53:58 +10:00
Madeline Miller
88851b0cc2
Update to Gradle 7.6 and resolve deprecation issues in buildscript 2023-04-13 22:42:47 +10:00
TomyLobo
1899fa3b8f Keep extending cuboid selector after //cli selectworld 2023-04-12 14:23:33 +10:00
TomyLobo
ba94660e27 Keep extending cuboid selector after //paste -s/n 2023-04-12 14:23:33 +10:00
Madeline Miller
561ab50a7b
Fix loading a missing session printing a warning to console. Fixes #2291 2023-04-09 17:06:28 +10:00
Madeline Miller
acc4b59744
Fix Sponge Schematic V1 incorrectly attempting to read base tag twice 2023-04-02 18:27:27 +10:00
Madeline Miller
da4bca05f2
Remove requirement for caller to ungzip the stream with the new isFormat API 2023-04-02 18:21:20 +10:00
Maddy Miller
c7d559bfcc
Allow finding schematic format by InputStream (#2249)
* Allow finding schematic format by InputStream

* .

* Don't auto-close the stream

* Fix up based on feedback

* checkstyle
2023-04-02 14:42:39 +10:00
Redstone_Dubstep
93c0d3644e
[Forge] Fixed clients without WorldEdit not being able to join servers with WorldEdit installed (#2288) 2023-03-26 09:14:24 -04:00
Redstone_Dubstep
df3f7b2ae6
[Forge] Fixed clients without WorldEdit not being able to join servers with WorldEdit installed (#2288) 2023-03-26 22:32:20 +10:00
Madeline Miller
0d8a2118f2
Merge branch 'version/7.2.x' 2023-03-19 16:20:24 +10:00
Madeline Miller
de453b9d73
Back to SNAPSHOT for continued development 2023-03-19 15:37:51 +10:00
Madeline Miller
094b734281
Release 7.2.14 2023-03-19 15:15:25 +10:00
JOO200
d4556dfea2
Add method to check initialize state in PlatformManager, deny access to registries when uninitialized (#2237)
* Add initialize method to PlatformManager, modify UnitTest

* Prevent too early access to registries

Check for worldedit init state in Registry

* review: changed the error message to a generic message

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>

---------

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
2023-03-19 15:13:54 +10:00
JOO200
38d2ff134a bukkit: add adapter for bukkit 1.19.4 (#2281)
* bukkit: add adapter for bukkit 1.19.4

* added missing reobf mapping to 1.19.4 adapter

* Drop unused comments
2023-03-18 14:37:33 +10:00
Madeline Miller
16a2cc951f Update Forge for 1.19.4, and bump Fabric to final 1.19.4 release 2023-03-18 14:37:33 +10:00
Madeline Miller
7481995eca 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
2023-03-18 14:37:33 +10:00
Maddy Miller
121b4b616c
Add a feature generator and allow undoing of feature placement (#2239)
* Add a feature generator and allow undoing of feature placement [WIP]

Apply changes to Forge as well

Use proper translatable components

* Add a brush version of the feature command

Use Java proxy classes

* 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

* checkstyle
2023-03-10 11:39:24 +00:00
TomyLobo
e6c882806c
Merge pull request #2277 from EngineHub/expression-query-full-blockstate
Fix data values returned by the query functions in the expression language
2023-03-09 05:56:40 +01:00
TomyLobo
b5b9c6ab86 Fix data values returned by the query functions in the expression language 2023-03-09 05:34:02 +01:00
Madeline Miller
f40ea0ddb9
Merge branch 'version/7.2.x' 2023-03-05 16:54:35 +10:00
Madeline Miller
f6646aaab1
Update to the new Paper maven repo 2023-03-05 16:52:44 +10:00
Maddy Miller
82727ffb63
Few cleanups over the code and use more Java 9+ features (#2248)
* Few cleanups over the code and use more Java 9+ features

* Address feedback

* cleanup switch case

* Remove TODO
2023-02-26 18:17:14 +10:00
Maddy Miller
d960fa2237
Add property suggestions for hand,offhand,pos1 patterns (#2269) 2023-02-26 18:16:46 +10:00
Maddy Miller
98fd5dc82f
Allow factory suggestions to have parser context (#2236) 2023-02-26 17:05:53 +10:00
Madeline Miller
b18d66c54d
Merge branch 'version/7.2.x' 2023-02-21 21:35:24 +10:00
Octavia Togami
ab79341a5e
Merge pull request #2253 from Brokkonaut/bukkit-custombiomes
Allow custom biomes in bukkit
2023-02-20 16:03:36 -08:00
Octavia Togami
78848d5cc6
Merge pull request #2245 from cthbleachbit/master
EditSession.drawSpline: use vectors at block center for spline nodes
2023-02-20 15:29:01 -08:00
Brokkonaut
6bbcf74655 Allow custom biomes in bukkit 2023-02-11 04:41:16 +01:00
Madeline Miller
98611c2ab2
Only mark CLI clipboard world as dirty when the underlying calls return a success state 2023-01-15 16:24:59 +10:00