Commit graph

1534 commits

Author SHA1 Message Date
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
alexia
7468709af5 Update link to Minecraft Wiki (#3336)
Minecraft Wiki has officially moved from Fandom to their own wiki. I updated a link I found in a comment.

(cherry picked from commit 68c3a29b6b)
2023-10-01 12:35:36 +01:00
modmuss50
3ccb77f2a4 Bump version 2023-09-23 10:11:13 +01:00
modmuss
74a33ae79d
Fix ClientConfigurationNetworkAddon.handleReady() being called too late. (#3331)
This fixes a crash when assertions are enabled.
Also fixes ClientConfigurationConnectionEvents.READY being called at the incorrect time.
Assertions have also been enabled for all Fabric API run configs.
2023-09-23 10:08:54 +01:00
modmuss50
b1913a6ae6 Bump version 2023-09-21 19:33:57 +01:00
modmuss50
8fe45160ad 1.20.2 2023-09-21 19:23:46 +01:00
modmuss
b1b4f7b0a2
Handle null being passed as the datafix type to PersistentState.Type (#3328)
* Handle null being passed as the datafix type to PersistentState.Type

Closes #3327

* Checkstyle ;-)

* Update fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/mixin/object/builder/PersistentStateManagerMixin.java

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

---------

Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
2023-09-21 19:16:22 +01:00
apple502j
219ee513db
Support trade rebalance experiment (#3311)
* Support trade rebalance experiment

* Add pool IDs

* Delayed pool modification

* Fix unused import
2023-09-21 19:16:10 +01:00
modmuss50
0708114127 Bump version 2023-09-18 18:07:48 +01:00
modmuss
69e331e36e
Fix unhandled packets disconnecting the client. (#3324) 2023-09-18 16:45:22 +01:00
Technici4n
2034447cba FRAPI improvements: context getters, full removal of fallback consumers, small enhancements (#3287)
* Add cull check and item transformation mode getter to FRAPI

* Terminally deprecate `fallbackConsumer` and `bakedModelConsumer`

* Fix uvs in octagonal column test mod

* Review comments

(cherry picked from commit 39a511ba53)
2023-09-18 16:13:54 +01:00
Technici4n
bbfadaecbd Fix Random mismatch between vanilla and FRAPI baked models (weighted and multipart) (#3282)
* Fix Random mismatch between vanilla and FRAPI baked models (weighted and multipart)

* Review comments

(cherry picked from commit ecfd5a888d)
2023-09-18 16:13:51 +01:00
ErrorCraft
bbae80faea Add a method to data generator entrypoints to register custom keys with priorities (#3087)
* Add JsonKeySortOrderCallback

* Use an entry point rather than an event for sort keys and priorities

* Resolve static imports

* Add a bit of javadoc

* Check if a key is null and modify the javadoc

* Add a field reference in the javadoc

* Rename JsonKeySortOrderAdder to JsonKeySortOrderCallback

(cherry picked from commit 0883a8d4d9)
2023-09-18 16:13:49 +01:00
modmuss50
5c133856b8 1.20.2-rc2 2023-09-18 16:13:25 +01:00
modmuss50
daef22a2cb 1.20.2-rc1 2023-09-15 15:27:05 +01:00
modmuss50
109a65e5af 1.20.2-pre4 2023-09-13 17:22:35 +01:00
modmuss50
3bafade3d1 1.20.2-pre2 2023-09-07 15:23:20 +01:00
apple502j
34a3e0e2cb
Include namespace in modded registry tag path (#3303)
* Include namespace in modded registry tag path

* Document tag namespace change
2023-09-07 15:09:08 +01:00
modmuss50
435112151c 1.20.2-pre1 2023-09-05 16:31:02 +01:00
modmuss50
462ea84f7d Bump version 2023-09-03 21:54:51 +01:00
PepperCode1
b680c0d222 Implement RenderAttachedBlockView on ChunkRendererRegion (#3300)
(cherry picked from commit 9f8c23c7dc)
2023-09-03 21:53:07 +01:00
modmuss50
22fb02c315 Bump version 2023-09-03 13:34:17 +01:00
PepperCode1
73761d2e2d BlockView API v2 (#3268)
* Fabric BlockView API v2

* Fix dependency on nonexistent module

* Add test for biome getter

* Improve getBiomeFabric documentation

* Simplify javadoc

(cherry picked from commit 92a0d36746)
2023-09-03 13:13:56 +01:00
deirn
ceabd7613a Mark SidedStorageBlockEntity's side as nullable (#3281)
(cherry picked from commit 195226a756)
2023-09-03 13:07:10 +01:00
modmuss50
0287208bff Update mod publish plugin. 2023-08-31 12:54:59 +01:00
modmuss
fce67b32cf
23w35a (#3292) 2023-08-31 12:50:38 +01:00
apple502j
017b9d93e2
Networking API javadoc fixes and small refactors (#3285)
* Mark events class constructor as private

* Enhance FabricServerConfigurationNetworkHandler javadoc

* Expand package-info

* Mark some interfaces as non-extendable

* Refactor PlayerLookup and fix javadoc

The example about block entities was removed. This is not the proper way to
do it anymore; you should use `BlockEntity#markDirty` and the built-in syncing.

* Fix missing period

* Fix typos

* Fix checkstyle.

---------

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2023-08-30 16:23:17 +01:00