Commit Graph

337 Commits

Author SHA1 Message Date
wizjany
f534b61f30 Theoretically works on forge. 2021-11-30 16:01:06 -05:00
wizjany
4e3fa750ec Missed mapping. 2021-11-30 14:59:36 -05:00
wizjany
b00e0a4cfb Paperweight roulette. 2021-11-30 14:31:52 -05:00
wizjany
6760ad7115 Bump version numbers and stuff for 1.18 release. 2021-11-30 11:53:14 -05:00
wizjany
979b522738 Make Paperweight adapter run on 1.18rc3. 2021-11-27 13:45:30 -05:00
Octavia Togami
44d91b0c73
Shove 1.17 adapters into a jar to fix the build 2021-11-26 18:54:55 -08:00
wizjany
bd87665e34
Update paperweight + userdev bundle. (#1930)
* Update paperweight + userdev bundle.

* remove unneeded config (set by userdev plugin already)
2021-11-11 20:05:43 +00:00
wizjany
d48530cb67
Don't allow editing without a Bukkit Impl Adapter. (#1920)
* Don't allow editing without a Bukkit Impl Adapter.

Also fix up some failed adapter checks.

* Make config a string, log warning message.

* checkstyle
2021-10-23 16:42:14 -07:00
Maddy Miller
49bc9b0c36
chore: improve bukkit world access speeds (#1911) 2021-10-02 15:38:28 +10:00
Octavia Togami
e6857ec739
Move adapters to paperweight (#1909)
* Move adapters to paperweight

* Edit adapters JAR to remove 1.17 R1_2

* Fix checkstyle

* Add URL for updating version in the future
2021-10-01 21:11:29 -07:00
Maddy Miller
b4fbbc9cb7
Move clearable checks for Bukkit to adapters (#1887)
* Move clearable checks for Bukkit to adapters

* Apparently this is faster???
2021-09-04 14:31:36 +10:00
wizjany
1173385ac7 Update Bukkit adapters for world gen change. 2021-08-29 13:02:00 -04:00
Octavia Togami
2e45a20348
[Forge] Update to 1.17.1 (#1847)
* [Forge] Update to 1.17.1

Includes minor updates to Fabric as well.

water and water and water water

* Fix a few things

* Move to latest versions of FG/Forge

Also drops TrueZIP in dev
2021-07-28 23:01:35 -07:00
Octavia Togami
8686672108
Only map options if needed to replace seed (#1843)
* Only map options if needed to replace seed

* Add bukkit adapters.

Co-authored-by: wizjany <wizjany@gmail.com>
2021-07-25 14:08:57 -04:00
NotMyFault
9c7f4542a2
Fix a couple of typos (#1835)
* Fix typo in BukkitImplAdapter

* Yet another dangling typo
2021-07-14 08:08:34 -07:00
wizjany
2586600ebb Update adapters for 1.17.1. 2021-07-06 16:19:18 -04:00
Octavia Togami
728a152395
Skip notify if chunk section doesn't exist (#1794)
* Skip notify if chunk section doesn't exist

* Include forge in this change

* Pass chunk to mark/notify directly, update adapters.

Co-authored-by: wizjany <wizjany@gmail.com>
2021-06-26 14:59:21 -07:00
wizjany
43da91ad92
Remove method reflection for getMinHeight in BukkitWorld. (#1796)
* Remove reflective use of the getMinHeight method in BukkitWorld.

Which requires dep updates to 1.17, which may currently break this build?

* Tell Gradle we can read Java 16 JARs

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
2021-06-22 17:13:47 -04:00
wizjany
a57f66f7cc
Fix watchdog, add negative y support. (#1782) 2021-06-13 15:40:19 -04:00
Octavia Togami
043c3315aa
Fix Scuffed POMs (#1779)
* Repair fabric POM

* Fix-up a ton of publishing errors

* Remove shadow jar from publishing

* Remove shadow application from platform/core
2021-06-13 11:32:38 -07:00
Octavia Togami
bf78034628
Drop enforcedPlatform to platform 2021-06-11 14:01:04 -07:00
wizjany
57a040c447 Update adapter jar. 2021-06-11 15:14:55 -04:00
wizjany
e010b4c452 Bukkit 1.17 adapter. 2021-06-11 09:04:27 -04:00
Octavia Togami
7676a2d54c
[Fabric] Update to 1.17 (#1772) 2021-06-08 19:18:24 -07:00
Octavia Togami
95160027d9
Register platforms and commands in a more proper way (#1766)
* Register platforms and commands in a more proper way

Platforms are now register "on load"/initialize/etc., and preferreds are
chosen just prior to command registration events. This allows us to
properly hook in to reload. Additionally, we now have the capability to
reload data with /minecraft:reload, though this is not yet implemented.

* Correct javadocs on queryCapability

* Flatten BukkitImplAdapter Lifecycled
2021-06-04 17:12:23 -07:00
Octavia Togami
95d784f4d6
Return false if Entity#remove is unsupported
Fixes #1729
2021-04-22 11:12:54 -07:00
Octavia Togami
609c7b8cc4
Scrapped Logging Framework 4 Java (#1715)
* The scramble is complete

* Fix version decl for Bukkit Log4J

* Swap out to a compatibility layer for LogManager

Slightly slower, but compatible across all Java versions

* Piston released with SL4JF removal

* Clean up declarations a bit
2021-03-28 20:35:48 -07:00
Matthew Miller
3d95a481eb [Bukkit] Update adapters to work around Spigot watchdog startup bug 2021-03-13 15:16:58 +10:00
wizjany
a40965f8b0
Fix #1686 2021-02-25 12:09:06 -05:00
Matthew Miller
d3810865c8
Show a message with install instructions when running the jar file (#1682)
* Show a message with install instructions when running the jar file

* Typo

* Fixed checkstyle issue

* Slightly modify message to adapt to the type of install

* Clean up the display code a lot

* Allow line breaks before semi

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
2021-02-22 22:05:23 -08:00
Octavia Togami
3e07d723fb
Fix SLF4J binding loading
Fixes #1676
2021-02-16 20:25:13 -08:00
Matthew Miller
4095a0866e
Boost TileEntity clear performance, with extra boost on Paper (#1652)
* Boost TileEntity clear performance, with extra boost on Paper

* :(
2021-01-25 20:52:04 +10:00
Octavia Togami
9534a9cfce
Update so many dependencies, merge Forge/Fabric for final jar (#1651)
* Update so many dependencies, merge Forge/Fabric for final

* Clean up contrib docs for Gradle change

* Fix setting compat flags while using toolchain

* Fix deprecation in doc printer

* Restore proper forge JAR name

* Add dist classifier for mod jar

* Properly relocate new bStats

* Fix jar used from fabric

* Fix fabric bom

* Dup the shaded classes for consistency

* Sync Forge/Fabric log4j versions, de-dup

* Downgrade both log4j. This will work

* Update some plugins as well

* Drop the fabric force stuff

* Use duplicate strategy to directly merge jar
2021-01-25 02:14:09 -08:00
wizjany
ef9af59ce5 Update Bukkit adapter for 1.16.5.
Just a data version bump. Barely dodged the mapping changes this time.
2021-01-15 22:08:47 -05:00
zml
0036e06f89
Alter the CUI lifecycle to be more consistent and reliable (#1633)
* Alter the CUI lifecycle to be more consistent

This handling reduces the platform-specific behaviour of CUI handshakes,
and ensures that the appropriate state is maintained when a client
connection ends but a LocalSession remains cached.

* Apply review suggestions

* fabric: Update to new networking API

* session: Correct field grouping for cui attempts
2021-01-16 13:07:29 +10:00
wizjany
bb464a6f0c Update adapters to fix #1586. 2020-12-09 22:39:19 -05:00
Octavia Togami
b4e5bc7dbf
Properly deploy version into core/bukkit 2020-11-02 18:16:23 -08:00
wizjany
6ac7bbeab2 [Bukkit] Update for 1.16.4. 2020-11-02 17:00:48 -05:00
Octavia Togami
bc64990e7e
Move to packaged translations (#1555)
* Move to packaged translations

* License that file

* Fix some checkstyle too

* Support reloading translation files

* Add missing dash for unpack directory

* Mark unpacked zips as owner-only
2020-10-08 17:42:23 -07:00
Lewis B
beb784e0ff
Add -w flag to butcher for water mobs (#1548)
* Add -w flag to butcher for water mobs

* PR feedback
2020-10-05 13:50:20 +10:00
Matthew Miller
26d8306833
Fixed snow being placed through slabs (#1541)
* Added a method to check whether a block can be placed at a location

* Make the snow system only place at locations that it can by game logic

* Make canPlaceAt a default method

* Fixed PR comments

* Use a World field

* Just throw directly

* IAE makes more sense

* Remove unused import

* Check for editsession without a world
2020-10-02 16:53:05 +10:00
Matthew Miller
2056218b4a
Remove data versions from the Bukkit adapters (#1507)
* Remove data versions from the Bukkit adapters

* Don't allow saving schematics without an adapter in place on Bukkit.

* Removed confusing line
2020-09-19 18:00:43 +10:00
wizjany
1cba5c38f5 Update adapters for 1.16.3. 2020-09-10 18:28:33 -04:00
Octavia Togami
3996998c5f Deprecate BlockQuirkExtent, handle lower down
Ice is no longer turning into water since before 1.7.10, so that part has been
removed entirely.
2020-08-28 20:57:10 -07:00
Matthew Miller
61a5d7d648 Fixed undo/redo editsessions not retaining settings 2020-08-24 22:39:58 +10:00
Matthew Miller
c7885f2f17 Bump Adapters for neighbouring validations fix 2020-08-24 22:33:37 +10:00
wizjany
d2239ef7de Copy the class source validator from WG.
Warns when other plugins incorrectly shade WE or our libs.
2020-08-14 01:03:13 -04:00
wizjany
0f7936ca17 Update for Spigot 1.16.2. 2020-08-13 21:44:03 -07:00
Octavia Togami
f2ce020da0 Officially propagate GPL downwards to all files 2020-08-13 21:06:39 -07:00
Matthew Miller
0a9fa869c9
Fixed an issue where upwards resolved schematics would break schem list (#1481)
* Fixed an issue where upwards resolved schematics would break schem list

* Missed diff

* PR changes

* Further fixes

* Improve sorting logic

* Pass in comparator rather than using sort type

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
2020-08-13 18:01:37 +10:00