Commit graph

1673 commits

Author SHA1 Message Date
modmuss50
29c642ab01 Bump version
Some checks failed
Build / build (21-ubuntu) (push) Has been cancelled
Build / client_test (push) Has been cancelled
Build / server_test (push) Has been cancelled
Build / check_resources (push) Has been cancelled
2024-06-25 18:27:06 +01:00
SHsuperCM
81dac6a1a5 Renderer API quads overloads for joml interfaces (#3875)
(cherry picked from commit 0ae0b97da7)
2024-06-25 18:19:43 +01:00
Kevin Z
7fc4b3524e doc: typo: Storage<Storage> -> Storage<Variant> (#3880)
(cherry picked from commit 3dccd3438c)
2024-06-25 18:19:41 +01:00
modmuss
9c745bbb97 Fix ComponentsIngredient's getMatchingStacks() not applying the component changes. (#3884)
(cherry picked from commit 650897126b)
2024-06-25 18:19:29 +01:00
modmuss
850ef40b6f Fix CoreShaderRegistrationCallback mixin (#3886)
(cherry picked from commit 5a8c785ea0)
2024-06-25 18:19:24 +01:00
modmuss50
c568567cbf Bump version
Some checks failed
Build / build (21-ubuntu) (push) Has been cancelled
Build / client_test (push) Has been cancelled
Build / server_test (push) Has been cancelled
Build / check_resources (push) Has been cancelled
2024-06-17 18:28:48 +01:00
Octol1ttle
a916f7c5d0 Add MinecraftClient/Server instances to networking contexts (#3850)
* change: add MinecraftClient/Server instances to networking contexts

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* style: optimize imports

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* change: use client instance from context in FabricRegistryClientInit

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* fix: remove unused import <_<

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* fix: update Javadocs in Networking classes

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

---------

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit ab7edbac5e)
2024-06-17 18:18:17 +01:00
PepperCode1
4179102586 Fix Indigo item rendering ignores item color alpha and does not apply special glint transform (#3854)
* Fix #3853

* Revert parity change

This disparity exists on purpose to make the behavior of BlendMode.TRANSLUCENT more consistent

(cherry picked from commit 48fb158648)
2024-06-17 18:18:09 +01:00
modmuss
f4bfb622d9 Translation updates (#3864)
(cherry picked from commit cb5ced13ef)
2024-06-17 18:16:48 +01:00
modmuss50
53fcb73a74 Bump version 2024-06-08 14:21:55 +01:00
modmuss
3cb1a7b860 Configuration networking improvements (#3832)
* Configuration networking fixes

* Review fixes.

* Update fabric-networking-api-v1/src/testmodClient/java/net/fabricmc/fabric/test/networking/client/configuration/NetworkingConfigurationClientTest.java

Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>

---------

Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 686dcdcec5)
2024-06-08 14:08:34 +01:00
modmuss
e0fdb01756 Add API to control creative inventory screen (#3814)
* Add API to control creative inventory screen

* Rename methods

* Apply suggestions from code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Update fabric-item-group-api-v1/src/client/java/net/fabricmc/fabric/api/client/itemgroup/v1/FabricCreativeInventoryScreen.java

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

---------

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

(cherry picked from commit 00ab0a636c)
2024-06-08 14:06:53 +01:00
TelepathicGrunt
bd772e8311
Add Mangrove Swamp and Bamboo Jungle to Dense Overworld Vegetation tag (#3839)
* Add Mangrove Swamp to Dense Overworld Vegetation tag

Closes https://github.com/FabricMC/fabric/issues/3823

* Added bamboo jungle to dense tag
2024-06-08 14:05:31 +01:00
modmuss50
6e5bbc4a94 Revert fix for FabricItem.getAttributeModifiers() and deprecate for removal.
Closes #3812
2024-05-30 13:01:07 +01:00
modmuss50
23e50a6888 Bump version 2024-05-30 09:50:28 +01:00
modmuss
4152abe890 Suppress translated tag warnings in prod (#3791)
(cherry picked from commit ea7ee968d4)
2024-05-30 09:24:20 +01:00
opekope2
62487233c8
Fix FabricItem.getAttributeModifiers (#3797) 2024-05-30 09:22:10 +01:00
PepperCode1
8d125e3b6f
Fix model offset being ignored in non-terrain rendering (#3799)
- Add exception handling to BlockRenderContext#render to match vanilla
2024-05-30 09:21:55 +01:00
modmuss50
3c70d5c76f Bump version 2024-05-20 09:42:08 +01:00
Jonathan Coates
a5d5299dfb
Registry resource conditions (#3752)
* Add resource conditions to dynamic registries

* Support conditions in FabricDynamicRegistryProvider

 - Add matching overloads for all add(...) methods which take a varargs
   list of ResourceConditions.

 - Add an additional overload for registering RegistryEntry.References
   directly. This makes it a little easier to register directly from a
   RegistryBuilder.

* Throw error if we cannot add resource conditions

* Rename EntryWithConditions to ConditionalEntry
2024-05-20 09:33:22 +01:00
Kevin
a7dc0e41c4
Fix ClientMessageEvents Injection Points (#3778) 2024-05-20 09:33:14 +01:00
apple502j
8e8943b634 Fix non-player handling in CustomDamageHandler (#3781)
(cherry picked from commit 5b61bd2784)
2024-05-20 09:32:53 +01:00
modmuss50
1997dc5522 Bump version 2024-05-07 19:21:50 +01:00
modmuss50
ec0bf4983b 1.20.6 2024-05-07 19:05:38 +01:00
Apollo
83154f1bcb
Support loading a single resource condition instead of array (#3749)
* Support loading a single condition instead of array

* Remove extra space

* Use LIST_CODEC field instead of CODEC.listOf()

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

---------

Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
2024-05-07 19:04:14 +01:00
Jonathan Coates
ad4744939b
Support extending dynamic registries in datagen (#3744)
- Add all dynamic registries to the initial registry.
 - Expose a getter for the registry future.
 - Register cloners for all dynamic registries.
2024-05-07 19:04:02 +01:00
modmuss
8c7b71c2c5
Don't enforce a RegistryByteBuf packet code for the extended screen handler type (#3743) 2024-05-07 19:03:52 +01:00
modmuss
5bcea88aba
Add API to modify default item components (#3728)
* Add API to modify default item components

* Add test for removal

* Some review feedback

* API design changes

* Review feedback

* Add overload that takes a Collection<Item>
2024-05-07 19:03:43 +01:00
Jochen Jacobs
c0e5481f61
Use knownPackInfo on mod data packs to avoid registry syncing (#3726)
* use knownPack to avoid syncing mod data packs.

* remove empty class

* checkstyle and licenses

* move debug logging from testmod into main module

* fix knownPackInfo not working for build-in data packs.

* make bundled data packs not required for client, and don't auto enable

* improve testmod with added builtin data pack + better error message

* Increase max known packs in C2S packet

* validate size before sending
* changeable with system property

* change mixin from ModifyConstant to ModifyArg to be more clear.

* Apply suggestions from code review

Co-authored-by: modmuss <modmuss50@gmail.com>

* store list of knownPacks as server start

avoids desync on pack change (since registries aren't reloaded)

* be extra safe: only request knownPacks that were enabled at server start and still are.

Doesn't rely on the fact that registries aren't synced anymore.

---------

Co-authored-by: modmuss <modmuss50@gmail.com>
2024-05-07 19:03:31 +01:00
TelepathicGrunt
70fd1b462f
Default English Translations for c namespaced tags (#3716)
* Created tag translation datagen

* generate lang file

* Add fruit translation

* renamed interface injection

* Adjust missing translation message

* Fixed for checkStyle

* More checkstyle fighting...

* Bump version of modules.

* Oops wrong module got bumped

* moving and renaming files

* adjust enum class naming

* rename enum and move package

* Renamed one more enum

* Undo version bump. Will be handled at release

* Some suggestions implemented

* Added crowdin entry

* Update crowdin.yml

Co-authored-by: modmuss <modmuss50@gmail.com>

* Cleanup enum checking

* spotless fixes

* Added buckets and powder snow bucket tag translation

* Some more suggested changes

* setup ConventionLogWarnings to match ConventionLogWarningsClient setup

* Change property to be usable in prod

* Set short as default property

* Remove unused import

* Fixed copy/paste error

* fixed ingot translations

* lang and method name fixes

* Fixed filepath issue

* Fixed redstone name

* fixed javadoc whitespace

* Move translation warning to server

* Move translation class to better file path

* trying to pass the regex

* put it under impl

* Cleanup translation check

* Update fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/api/datagen/v1/provider/FabricLanguageProvider.java

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

* Update fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/api/datagen/v1/provider/FabricLanguageProvider.java

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Update fabric-convention-tags-v2/src/main/java/net/fabricmc/fabric/api/tag/FabricTagKey.java

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Update fabric-convention-tags-v2/src/main/java/net/fabricmc/fabric/api/tag/FabricTagKey.java

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

---------

Co-authored-by: modmuss <modmuss50@gmail.com>
Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2024-05-07 19:03:18 +01:00
modmuss50
97fc76fd23 Bump version 2024-04-28 15:58:57 +01:00
apple502j
be5d88be99
Fix crash when generating flat world (#3741) 2024-04-28 15:55:49 +01:00
modmuss50
a704f5c7f5 Bump version 2024-04-26 22:16:54 +01:00
modmuss
0dca0349ce
Always get the latest ServerPlayerEntity from ServerPlayNetworkHandler (#3735) 2024-04-26 22:14:28 +01:00
modmuss50
a91819b2e0 1.20.6-rc1 2024-04-26 14:09:21 +01:00
modmuss50
d18c2535c2 Bump version 2024-04-23 21:22:24 +01:00
modmuss50
821939031a 1.20.5 2024-04-23 21:20:13 +01:00
modmuss
c5f2432cad
Implement BuiltinModResourcePackSource.equals/hashCode (#3730)
* Implement BuiltinModResourcePackSource.equals/hashCode

* Make it a record instead
2024-04-23 21:19:36 +01:00
modmuss50
ce4249dddc Bump version 2024-04-21 16:38:34 +01:00
TelepathicGrunt
2b43c5c8df
Powder Snow Bucket tag, defense enchantment tag name fix, missing meat tag entry (#3727)
* Multiple tag fixes

* Make the tag rename not breaking
2024-04-21 16:35:27 +01:00
apple502j
b82b23921c
Add GameTests for Content Registries (#3710)
* Add more GameTests

* fix and add more

* Increase tickLimit

* hopefully this fixes it

* whoops
2024-04-21 16:35:10 +01:00
modmuss50
060522124d Bump version 2024-04-20 11:32:11 +01:00
modmuss
f1240ba7db
Test for and fix registries that need syncing (#3723)
* Test for and fix registries that need syncing

* Fix duplicate
2024-04-20 11:28:54 +01:00
apple502j
76551cf623
Rebuild indexed features during biome modification (#3722) 2024-04-20 11:28:40 +01:00
modmuss
7f0e1106e7
Add an ore to the biome test mod (#3721) 2024-04-20 11:28:32 +01:00
TelepathicGrunt
7ba3e3b760
Fix backwards compat for c:strings tag (#3720) 2024-04-20 11:28:21 +01:00
modmuss50
166f144fc9 1.20.5-rc2 2024-04-19 15:11:52 +01:00
modmuss50
fc5276a561 Bump version 2024-04-17 18:11:58 +01:00
modmuss50
231d328d32 1.20.5-pre4 2024-04-17 18:09:40 +01:00
TelepathicGrunt
276a811b29
Remove false legacy tag warning (#3717)
* Remove false legacy tag warning

* Unused import
2024-04-17 17:55:23 +01:00