Commit graph

1510 commits

Author SHA1 Message Date
modmuss
78d798af9d
Update to loader 0.15 (#3451) 2023-12-08 15:19:17 +00:00
deirn
8cf3df9c01 Copy untyped payload buffer on read/write (#3450)
* copy untyped payload buffer on read/write

* use the actual handler on junit tests

(cherry picked from commit 95a8ac5184)
2023-12-08 15:18:31 +00:00
Phoupraw
0e40ff486c Fix FluidStorageUtil#moveWithSound Play Sound (#3431)
* fix play sound

* Update fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/fluid/FluidStorageUtil.java

* Fix chute testmod

---------

Co-authored-by: modmuss <modmuss50@gmail.com>
(cherry picked from commit 4944b5a5ee)
2023-12-08 15:18:29 +00:00
modmuss50
b46767fdfc 1.20.4 2023-12-07 22:02:02 +00:00
modmuss50
dc89771ba2 1.20.4-rc1 2023-12-06 17:20:08 +00:00
modmuss50
e5e39e755d 1.20.3-pre4 2023-11-29 22:28:22 +00:00
modmuss50
f6e85ac2bb 1.20.3-pre3
Just mapping updates
2023-11-27 16:17:03 +00:00
modmuss50
e0858cfb7b Bump version 2023-11-27 10:28:56 +00:00
deirn
901470e4e3 Only retain buffer on receiving side (#3446)
(cherry picked from commit e3b6950386)
2023-11-27 10:22:46 +00:00
modmuss50
00e49842c5 Bump version 2023-11-26 13:52:44 +00:00
deirn
bd733d6b9f Avoid serializing object-based payload into PacketByteBuf on the main thread (#3407)
* channeled network addon refactor

* checkstyle

* fix junit tests

* convert TypedPayload <-> UntypedPayload if necessary

* assert payload size

* add vm arg to force serialization

* change log level to info and make it single line

(cherry picked from commit 6225d43a70)
2023-11-26 13:09:47 +00:00
Technici4n
aaf9c9690c
Fix empty storage iterator returning views that become empty during iteration (#3423) 2023-11-26 13:00:57 +00:00
modmuss
de5c6cca0a
Fix registry resource conditions on loot tables. (#3432)
* Fix registry resource conditions on loot tables.

* assert we dont already have the DRM set on this thread.

* Use a sync map
2023-11-26 13:00:48 +00:00
modmuss50
1b2a41bc96 1.20.3-pre2 2023-11-22 15:24:46 +00:00
modmuss50
d49cb47876 Update generated TAWs. 2023-11-21 08:16:48 +00:00
modmuss50
ed814d36ba 1.20.3-pre1
Just a mappings update :)
2023-11-20 16:36:56 +00:00
modmuss50
7feff5da3e Fix creative inventory buttons showing without any modded item groups.
Also, a minor code cleanup from the port.
2023-11-17 17:55:40 +00:00
modmuss50
6f7ba8f277 23w46a 2023-11-16 17:01:20 +00:00
apple502j
a2e8758a92
23w45a porting fixes (#3421) 2023-11-16 16:11:10 +00:00
modmuss50
23e8616e74 23w45a 2023-11-08 16:26:36 +00:00
modmuss50
0f7e959b65 Bump version 2023-11-02 12:50:14 +00:00
Technici4n
d6f4a34e15
Fix log spam with multiple calls to combinedItemApiProvider (#3387) 2023-11-02 10:35:06 +00:00
Technici4n
6ed720cee5
Fix custom ingredient serialization with allowEmpty (#3389)
* Fix custom ingredient serialization with allowEmpty

* Remove custom First codec

* Fix checkstyle
2023-11-02 10:33:44 +00:00
modmuss
8ed13effa6 Network addon session refactor (#3394)
* refactor network addon session handling

* Check payload size

* Fix ClientLoginNetworkAddon does not handle unsuccessful query responses
Closes #3384

* Adjust some logging.

---------

Co-authored-by: deirn <deirn@bai.lol>
(cherry picked from commit bff13c8545)
2023-11-02 10:33:12 +00:00
Estecka
5aa6d9a6d4 Fix Doubles not being editable in the game-rule menu (#3397)
* Fix double gamerules rules not being editable in menu

* Updated `validate`'s javadoc

(cherry picked from commit a44e16a6dc)
2023-11-02 10:31:32 +00:00
modmuss50
f31bf881a9 23w44a 2023-11-01 17:00:09 +00:00
modmuss50
022302724c Update mod-publish-plugin 2023-10-25 16:50:14 +01:00
modmuss50
3b908f6ae4 23w43a 2023-10-25 16:48:41 +01:00
modmuss50
07fc18e505 Bump version 2023-10-22 14:46:22 +01:00
Shnupbups
acb5cc4ef8 Fix FabricBlockSettings copyOf missing settings (#3373)
Fixes FabricBlockSettings' copyOf method missing several new settings introduced as a result of the removal of Materials.

Specifically, burnable, liquid, forceNotSolid, forceSolid, pistonBehavior, instrument, and replaceable. These are all copied by the vanilla `BlockSettings.copy` as well.
The emissiveLightingPredicate is also now copied in vanilla, so I moved the copy of that to reflect that change.

(cherry picked from commit 2ff98d3bac)
2023-10-22 13:42:40 +01:00
modmuss
9468a19de0
Configure spotless for imports, sort imports. (#3365)
* Configure spotless to also do imports. Allows for auto applying.

* Order imports
2023-10-22 13:35:58 +01:00
modmuss50
77996a0c10 Fix client crash introduced in the 23w42a port 2023-10-18 18:13:34 +01:00
modmuss50
2148f3b922 23w42a 2023-10-18 17:14:09 +01:00
modmuss50
13986bf795 23w41a 2023-10-11 16:56:02 +01:00
apple502j
72c64fc180
Fix 23w40a port issues (#3374)
* Fix testmod calling Text#translatable with non-primitive arg

* Fix javadoc in BlockPickInteractionAware

There is no immediate need to change the param type, as the
world can be obtained from `player.getWorld()`.

* Fix unload events not running during reconfiguration
2023-10-11 16:21:23 +01:00
modmuss50
ae7e00873a Bump version 2023-10-08 13:35:10 +01:00
apple502j
991b3a082e Fix inconsistency of placed feature locations (#3369)
* Fix inconsistency of placed feature locations

`BiomeSource#getBiomes` mixin applies to all biome sources, including one for Overworld.
The return value is a set; however one caller in the worldgen code iterates over it: `PlacedFeatureIndexer`.
Using a hash set here randomizes the return value, affecting feature placement.
Use a linked hash set instead.

* Improve fix to only make changes when required.

---------

Co-authored-by: modmuss50 <modmuss50@gmail.com>
(cherry picked from commit 661cc8c6dc)
2023-10-08 13:14:31 +01:00
LLytho
6f9f09e0c4 Add LootTableEvents.LOADED event (#3352)
* Implement `LootTableEvents.LOADED` event

* Update for checkstyle

* rename event

* Update fabric-loot-api-v2/src/main/java/net/fabricmc/fabric/api/loot/v2/LootTableEvents.java

Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>

---------

Co-authored-by: modmuss <modmuss50@gmail.com>
Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
(cherry picked from commit 96dfa9590d)
(cherry picked from commit 3ba460fb29)
2023-10-08 13:06:23 +01:00
modmuss
ebb15496af Make some experimental APIs stable. (#3354)
* Make some experimental APIs stable.

* Imports.

(cherry picked from commit e3d2bf3f57)
2023-10-08 13:03:18 +01:00
modmuss
af7e9a669d
[1.20.3] Move clientPickBlock APIs to client source set. (#3363)
* Move clientPickBlock APIs to client source set.

* Fix entrypoints

* Dont move impl class to test lol
2023-10-08 13:01:52 +01:00
modmuss
0e870a06e0
[1.20.3] Make Transfer API stable & remove previously deprecated API. (#3364)
* Remove deprecated transfer APIs.

* Make Transfer API stable.
2023-10-08 13:01:41 +01:00
modmuss50
10292b95f5 23w40a 2023-10-05 09:45:32 +01:00
modmuss50
670b2ea08d Bump version
All versions bumped due to Loom upgrade.
2023-10-01 12:48:38 +01:00
Technici4n
d19c412984
Fix bad interaction between FabricDynamicRegistryProvider and modded dynamic registries (#3353)
* Add reproduction test

* Fix the issue
2023-10-01 12:37:41 +01:00
modmuss
b18afef34a
Fix incorrect internal method names in ServerNetworkingImpl (#3349)
No functional change.
2023-10-01 12:37:30 +01:00
apple502j
d9a2869ba3
Biome API: javadoc fixes (#3348) 2023-10-01 12:37:19 +01:00
apple502j
285022b3bc
Content Registries: javadoc and small refactor (#3347) 2023-10-01 12:37:07 +01:00
apple502j
9650955252
Document the getCodec method (#3343)
* Document the getCodec method

* Update fabric-recipe-api-v1/src/main/java/net/fabricmc/fabric/api/recipe/v1/ingredient/CustomIngredientSerializer.java
2023-10-01 12:36:57 +01:00
apple502j
e982ae85ea
Fix Message API javadoc (#3342) 2023-10-01 12:36:47 +01:00
modmuss
6f59c1844c
Update to loom 1.4 (#3341)
* Update to loom 1.4

* Try java 21

* Revert "Try java 21"

This reverts commit 5cb2394587.

* Try java 21 again
2023-10-01 12:36:35 +01:00