Commit Graph

131 Commits

Author SHA1 Message Date
Octavia Togami
7497341a1c
[Fabric] 1.19 2022-06-07 17:26:08 -07:00
Octavia Togami
66e3c3cd62
[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
2022-06-07 09:19:41 -07:00
Maddy Miller
c515eb5f26
Cache properties to reduce startup memory (#2103)
* Cache properties to reduce startup memory

* Apply PR review notes

* Remove import
2022-06-04 16:30:23 +10:00
wizjany
e715ccc3b4
Fix passenger entity saving and loading (#2058)
* 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>

* 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?

* NBT Constants.

Co-authored-by: Red_Epicness <red.epicness@icloud.com>
2022-03-18 14:33:35 +10:00
wizjany
b8d096ba99
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.
2022-03-17 16:42:45 +10:00
wizjany
f50a81fcc4
Fluid masks for forge/fabric. (#556)
Closes #877.
2022-03-06 18:11:05 -05:00
Octavia Togami
2fda9a12a2 Some final version updates 2022-03-04 22:03:12 -08:00
Octavia Togami
a6c05c22d8 [Forge] 1.18.2
Plus bonus debug and Fabric improvements
2022-03-04 22:03:12 -08:00
Octavia Togami
ce13ed9979 [Fabric] 1.18.2 update 2022-03-04 22:03:12 -08:00
Maddy Miller
30e1601489
Apply update flag on later change (#2037)
* Apply update flag on later change

* Checkstyle

* Move entry point for UPDATE
2022-03-05 03:32:03 +00:00
Maddy Miller
ab61a849e8
Fix Fabric regenerate outside of overworld (#2016)
* Fix Fabric regenerate outside of overworld

* License
2022-01-23 06:15:40 +00:00
wizjany
20c42b51c8
Extract log4j version to Versions.kt.
Also bump to match underlying platform versions to resolve runtime
version mismatches.
2021-12-12 18:49:32 -05:00
wizjany
22816cffe9
Version bumps for bukkit/fabric 1.18.1 2021-12-10 08:58:42 -05:00
wizjany
46de95ff3c Clean up forge gradle script, apply the chorus plant fix to forge/fabric world. 2021-12-02 14:43:49 -05:00
wizjany
a8656c5f24 Bump some versions, fix forge run configs. 2021-12-02 13:21:57 -05:00
wizjany
6760ad7115 Bump version numbers and stuff for 1.18 release. 2021-11-30 11:53:14 -05:00
Octavia Togami
953e22fc38
[Fabric] Update to 1.18-pre4 2021-11-18 18:20:05 -08:00
Octavia Togami
53559192b4
Fix the build a bit
Improved checkstyling
2021-11-14 00:15:22 -08:00
Octavia Togami
410688e7b7
[Fabric] Update to 1.18-pre1, Mojmapped
Also Gradle 7.3. :)
2021-11-14 00:01:06 -08:00
Octavia Togami
771ffae148
Some 1.18 related version shenaigans
Compiles: No
2021-11-13 21:54:21 -08: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
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
wizjany
5a143b83b2
Fix setting biomes on negative-Y-enabled worlds. (#1833)
Also left a note for forge, again.

Closes #1819.
2021-07-14 13:34:50 -07:00
Octavia Togami
e4cd5696ff
[Fabric] Update to 1.17.1 (#1821) 2021-07-09 13:47:41 -07:00
wizjany
1415e6f610 Fix notify at negative Y on fabric, leave note for forge. 2021-07-06 18:18:58 -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
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
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
876108fdb3
Prepare for Gradle 7, but due to FG only get to 6.9
Gradle 7 stuff requires FG 5. Phooey.
2021-05-13 22:01:45 -07:00
Octavia Togami
f0a3848b97
Switch to maven-publish (#1718)
* Update to use maven-publish instead of maven

* Use published loom

* These shouldn't be needed
2021-04-06 13:45:57 -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
Octavia Togami
36f23bd29f
Fix Forge in -mod at the expense of size
Fixes #1398
2021-03-12 20:31:51 -08: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
3c161db9a4
Move slower translation to *Transmogrifiers (#1679)
* Move slower translation to *Transmogrifiers

Adapters now use the fast method for adapting if available. Un-cached
accessors are stored in *Transmogrifier classes.

* Fix warnings and licenses.
2021-02-19 15:50:03 +10:00
Octavia Togami
8a46670327
Disable Fabric UPDATE mixin if quickcarpet too
Fixes #1662, though I really hate doing this.
2021-02-17 01:17:42 -08:00
Octavia Togami
56c891946d
Allow UPDATE mixin to soft-fail on Fabric (#1654)
This allows Carpet's mixin to take priorty, and UPDATE will simply be
disabled on Fabric in that case. Fixes #1605
2021-01-27 15:33:51 -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
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
Octavia Togami
3a3bf3de2c
Run the chunk deleter in Fabric (#1641) 2021-01-09 14:38:07 -08:00
Octavia Togami
86bf3a3419
Support Lucko's Fabric Permissions API (#1638)
* Add support for Lucko's Fabric Perms API

Only if present, falls back to the existing checks if it returns
`false`.

* Only use vanilla fallback if no value set in Perms
2021-01-05 12:14:54 -08:00
Octavia Togami
e0dd2f3cb6
Fix failure caused by previous commit 2021-01-04 20:46:56 -08:00
Octavia Togami
5201538608
Remove superclasses of mixins where not needed 2021-01-04 14:15:52 -08:00
Octavia Togami
3637d94aef
Implement UPDATE for Fabric (#1598)
* Implement UPDATE for Fabric

* Fix a minor threading problem
2020-11-29 17:56:09 -08: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