Commit graph

1696 commits

Author SHA1 Message Date
SHsuperCM
0ae0b97da7
Renderer API quads overloads for joml interfaces (#3875) 2024-06-25 18:15:17 +01:00
Kevin Z
3dccd3438c
doc: typo: Storage<Storage> -> Storage<Variant> (#3880) 2024-06-25 18:15:05 +01:00
TelepathicGrunt
fafad24292
Fix legacy tag warning text to be accurate (#3881) 2024-06-25 18:14:52 +01:00
modmuss
650897126b
Fix ComponentsIngredient's getMatchingStacks() not applying the component changes. (#3884) 2024-06-25 18:14:36 +01:00
modmuss
5a8c785ea0
Fix CoreShaderRegistrationCallback mixin (#3886) 2024-06-25 18:14:27 +01:00
modmuss50
716be681fb 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 22:34:21 +01:00
modmuss
8f3583ae85
Fix BlockEntity Load/Unload events (#3865) 2024-06-17 22:32:06 +01:00
modmuss50
0f023c6704 Bump version
Some checks are pending
Build / build (21-ubuntu) (push) Waiting to run
Build / client_test (push) Waiting to run
Build / server_test (push) Waiting to run
Build / check_resources (push) Waiting to run
2024-06-17 18:28:54 +01:00
modmuss50
c6a9d91abe 1.21 2024-06-17 18:16:24 +01:00
TelepathicGrunt
8a3b5617aa
Fix some new tags not being plural (#3848)
* Fix new tags not being plural

Fixes https://github.com/FabricMC/fabric/pull/3807

Matches https://github.com/neoforged/NeoForge/pull/1030

* Fixed concrete and terracotta

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

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

* Update fabric-convention-tags-v2/src/datagen/java/net/fabricmc/fabric/impl/tag/convention/datagen/generators/EnglishTagLangGenerator.java

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

* Update fabric-convention-tags-v2/src/datagen/java/net/fabricmc/fabric/impl/tag/convention/datagen/generators/EnglishTagLangGenerator.java

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

* Update fabric-convention-tags-v2/src/datagen/java/net/fabricmc/fabric/impl/tag/convention/datagen/generators/EnglishTagLangGenerator.java

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

* Update fabric-convention-tags-v2/src/datagen/java/net/fabricmc/fabric/impl/tag/convention/datagen/generators/EnglishTagLangGenerator.java

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

* regen data

---------

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2024-06-17 18:10:55 +01:00
Octol1ttle
ab7edbac5e
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>
2024-06-17 18:10:28 +01:00
PepperCode1
48fb158648
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
2024-06-17 18:10:14 +01:00
Fx Morin
a4aac4205b
Remove unnecessary local capture (#3858) 2024-06-17 18:09:43 +01:00
modmuss
cb5ced13ef
Translation updates (#3864) 2024-06-17 18:03:29 +01:00
modmuss50
41bc64cd61 Bump version 2024-06-11 13:04:17 +01:00
modmuss50
af536d4aad 1.21-rc1 2024-06-11 12:58:54 +01:00
modmuss
d153f344b3
Fix incorrect tag warnings, and add fail option. (#3844) 2024-06-11 12:50:40 +01:00
modmuss50
0dcf6c8b90 Bump version 2024-06-08 14:22:04 +01:00
modmuss50
3e4c03f635 1.21-pre4 2024-06-08 14:13:19 +01:00
modmuss
686dcdcec5
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>
2024-06-08 14:08:21 +01:00
modmuss
00ab0a636c
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>
2024-06-08 14:06:14 +01:00
TelepathicGrunt
bf2c390889 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

(cherry picked from commit bd772e8311)
2024-06-08 14:05:50 +01:00
modmuss
16c4ae257c
Rename FabricBlockLootTableProvider.registryLookup to stop hiding the protected vanilla field. (#3841) 2024-06-08 14:03:17 +01:00
PepperCode1
fe474d6b05
Port Model Loading API v1 to 1.21 (#3824)
* Port Model Loading API v1

* Fix checkstyle and address review comments
2024-06-08 14:02:54 +01:00
haykam821
d1321076fe
Use identifier path composition methods (#3820) 2024-06-08 14:02:41 +01:00
TelepathicGrunt
18dd60fee4
Tag cleanup and additions for 1.21 (#3807)
* Tag cleanup and additions for 1.21

Closes https://github.com/FabricMC/fabric/issues/3742
Closes https://github.com/FabricMC/fabric/issues/3755
Closes https://github.com/FabricMC/fabric/issues/3790
Closes https://github.com/FabricMC/fabric/issues/3731

* Fixed music disc javadoc

* Re-add redundant tags but deprecate them

* remove eroded badlands from sparse vegetation

* Switched to singular name for inner files for tools

* deprecate redundant shulker box tag

* Added glazed terracotta tag

* Added concrete and concrete powder tags

* checkstyle issue
2024-06-08 14:02:28 +01:00
modmuss50
98a7dbbb57 1.21-pre3
Co-authored-by: Drex <nicknamedrex@gmail.com>
2024-06-05 13:00:45 +01:00
modmuss50
6a6dfa1985 1.21-pre2 2024-05-31 14:43:29 +01:00
modmuss50
afdfc921b8 Remove FabricItem.getAttributeModifiers. 2024-05-30 13:07:25 +01:00
modmuss50
c585e0a241 Bump version 2024-05-30 09:50:40 +01:00
PepperCode1
cc9f121ad2 Fix model offset being ignored in non-terrain rendering (#3799)
- Add exception handling to BlockRenderContext#render to match vanilla

(cherry picked from commit 8d125e3b6f)
2024-05-30 09:23:47 +01:00
modmuss
ea7ee968d4
Suppress translated tag warnings in prod (#3791) 2024-05-30 09:22:22 +01:00
modmuss
b55973447a
1.21-pre1 port (#3811)
* 1.21-pre1 port

* Bump version
2024-05-29 16:25:22 +01:00
opekope2
29e5f1d91b
Fix FabricItem.getAttributeModifiers (#3809) 2024-05-29 15:39:45 +01:00
apple502j
6fc22b9905
Improve 24w21b port (#3801)
* Delete `FabricDimensions`

This broke during the 1.21 cycle and can be easily replaced with `Entity#teleportTo`.

* Rename testmod data directories

* [Breaking] use singular path in GameTest

* Fix attribute modifier in testmod

* Small mixin refactors related to teleportTo

* Fix behavior change in ModNioResourcePack for invalid paths

* Fix javadocs referencing Identifier ctor

* Add new FabricCodecDataProvider ctor

* Move empty structure

* Fix transfer api testmod

* pro tip: don't write datagen output by hand

* Refactor networking API to remove redundant code

* Stop calling CustomDamageHandler in creative mode
2024-05-29 15:31:48 +01:00
modmuss
b9828ba31a
No longer allow unused registry ids when syncing. (#3792)
* No longer allow unused registry ids when syncing.

* Freeze registries much sooner after mod init
2024-05-29 15:31:39 +01:00
modmuss
6573ed8ccc
24w21b (#3789)
Co-authored-by: Drex <nicknamedrex@gmail.com>
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
2024-05-23 10:20:54 +01:00
apple502j
0684cd12de
Finish port to 24w20a (#3777)
* [BREAKING] pass entity to EquipmentSlotProvider

* Improve mixin for chunk unload event

* `TestContext#getBlockEntity` result can be used without checks/casts now

* Fix typos
2024-05-23 09:06:12 +01:00
modmuss50
3c207badd1 Bump version 2024-05-20 09:42:20 +01:00
Jonathan Coates
7081616045 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

(cherry picked from commit a5d5299dfb)
2024-05-20 09:33:44 +01:00
Kevin
fc3f06ac9e Fix ClientMessageEvents Injection Points (#3778)
(cherry picked from commit a7dc0e41c4)
2024-05-20 09:33:41 +01:00
apple502j
5b61bd2784
Fix non-player handling in CustomDamageHandler (#3781) 2024-05-20 09:31:00 +01:00
modmuss
e633f8839b
Port to 24w20a (#3772)
* Port to 24w20a

* Update yarn

* Fix TODOs

* Bump version

---------

Co-authored-by: Drex <nicknamedrex@gmail.com>
2024-05-16 18:47:15 +01:00
modmuss50
5e47b9cbbd 24w19b 2024-05-10 16:33:03 +01:00
Syst3ms
ad0af49c43
Change Enchantment API for data-driven enchantments (#3761)
* Modify enchantment API for new system

breaking: complete overhaul of EnchantingContext

* Incorporate changes by apple

from #3760
2024-05-10 15:13:38 +01:00
modmuss50
a5ed259db6 Bump version 2024-05-07 19:22:01 +01:00
Apollo
690fe0d575 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>
(cherry picked from commit 83154f1bcb)
2024-05-07 19:06:57 +01:00
Jonathan Coates
1c4a86e83a 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.

(cherry picked from commit ad4744939b)
2024-05-07 19:06:53 +01:00
modmuss
186cc2ef8b Don't enforce a RegistryByteBuf packet code for the extended screen handler type (#3743)
(cherry picked from commit 8c7b71c2c5)
2024-05-07 19:06:51 +01:00
modmuss
5c75478521 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>

(cherry picked from commit 5bcea88aba)
2024-05-07 19:06:45 +01:00