Commit graph

1822 commits

Author SHA1 Message Date
Aaron
176f90366d
Add more TAWs for custom RenderLayers (#3981) 2024-08-04 13:52:54 +01:00
modmuss
ba9dae065f
Don't track fake player network addons (#3977)
* Don't track fake player network addons

* Review feedback
2024-08-04 13:52:41 +01:00
TelepathicGrunt
c5e2b5c62d
Add c:slime_balls tag, add more melee weapons to melee tag, add c:fertilizers tag, fix entries for some biome and food tags (#3957)
* Add slimeball tag

closes https://github.com/FabricMC/fabric/issues/3946

* Add sparse jungle to sparse tag

* add all melee weapons to melee tag

closes https://github.com/FabricMC/fabric/issues/3949

* fixed name of attribute

* Add c:fertilizers tag

closes https://github.com/FabricMC/fabric/issues/3956

* adjust ranged tag javadoc

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

Co-authored-by: Chocohead <Chocohead@users.noreply.github.com>

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

Co-authored-by: Chocohead <Chocohead@users.noreply.github.com>

* rename slime ball to match translation name

* Add missing is cold biomes (less than 0.5 temperature)

* Move melon to fruits tag and remove glistering melon from golden tag

* Fixed fertilizers javadoc

* Undo melee tag change

* Put slimeballs tag back to no space

* Revert "Put slimeballs tag back to no space"

This reverts commit 2ca4b25917.

---------

Co-authored-by: Chocohead <Chocohead@users.noreply.github.com>
2024-08-04 13:52:29 +01:00
Fabric Bot
56599129b7
Translation updates (#3944)
* New translations en_us.json (Russian)

* New translations en_us.json (Chinese Simplified)

* New translations en_us.json (German)

* New translations en_us.json (Chinese Traditional)

* New translations en_us.json (Russian)
2024-08-04 13:52:17 +01:00
PepperCode1
c705a49cc5
Add ShadeMode to FRAPI (#3937)
* Add ShadeMode to the API

- Update material documentation
- Use ShadeMode in VanillaModelEncoder

* Add ShadeMode support to Indigo

- Rewrite header packing constants in EncodingFormat to match material packing constants
- Pass buffer Function to TerrainRenderContext instead of allocators and buffer map
- Restore functionality of ChunkRenderInfo#release
- Set captured terrain context to null after releasing it
- Bump mixin compatibility level to Java 21
- Remove unused AWs

* Add test for ShadeMode

- Fix RiverstoneUnbakedModel not calling setParents on models that it will bake

* Clarify documentation of inverted material properties
2024-08-04 13:52:02 +01:00
AlphaMode
6c1df360ce
Replace redirect in lifecycle events with wrap operation (#3887)
* Replace redirect in lifecycle events with wrap operation

* Remove old javadoc
2024-08-04 13:51:48 +01:00
Apollo
8dc279b1d0
Resource Conditions in Pack Overlays (#3872)
* Overlay conditions 1.21

* Move overlay test to gametest

* Fix style error

* Fix another style error

* Implement requested changes

* Import style fix

---------

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2024-08-04 13:51:37 +01:00
modmuss50
31b5766379 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-07-29 14:38:42 +01:00
apple502j
a5d6675361
Use ConcurrentHashMap inside RegistryAttributeImpl (#3970) 2024-07-29 14:35:03 +01:00
modmuss50
f9000df732 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-07-14 15:06:50 +01:00
Martijn van den Brand
df16efd0d6
Update vertex consumer after BLOCK_OUTLINE event (#3940) 2024-07-14 15:02:42 +01:00
apple502j
5bd9f1bc81
Fix some registry-related bugs (#3932)
* Fix tag path for custom registry

* Strip knownPackInfo during Biome Modification
2024-07-14 15:02:21 +01:00
Fabric Bot
c111832abb
New Crowdin updates (#3928)
* New translations en_us.json (Russian)

* New translations en_us.json (Italian)
2024-07-14 15:02:09 +01:00
modmuss
7e687b320e
Add API to create reload listeners with a registry lookup. (#3927)
* Add API to create reload listeners with a registry lookup.

* Document this is only for server data

* Review feedback
2024-07-14 15:01:57 +01:00
haykam821
8cfd8554f6
Add tests for convention tag keys matching field names (#3925)
* Add tests for convention tag keys matching field names

* Review feedback

---------

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2024-07-14 15:01:31 +01:00
modmuss50
e43d74f64b 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-07-07 15:32:32 +01:00
TelepathicGrunt
86024ea6d6
Fixed raw fish tag typo in name (#3921) 2024-07-07 15:30:38 +01:00
modmuss50
e063daeb2c 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-07-07 14:13:18 +01:00
Fabric Bot
ee0ac32550
New translations en_us.json (Japanese) (#3892) 2024-07-07 14:05:55 +01:00
TelepathicGrunt
fb44a039c4
Several tag fixes and additions (#3912)
* Make food files not plural when inside `foods` folder

* Add flint and steel tool

closes https://github.com/FabricMC/fabric/issues/3895

* Add ender pearl tag and glass block/pane variant tags

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

* Add golden food tag

closes https://github.com/FabricMC/fabric/issues/3899

* remove deprecated tags from log warning since fapi would trigger it itself

* checkstyle goes brrr
2024-07-07 14:05:36 +01:00
RacoonDog
6ced4dd946
Cleanup usages of Text (#3916)
* replace Text.literal("") with Text.empty()

* Replace newline `Text` literals with `ScreenTexts.LINE_BREAK`

* Use `Text#translatableWithFallback`

* Fix checkstyle

---------

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2024-07-07 13:53:03 +01:00
TelepathicGrunt
8d16166232
Add common Mace tag (#3909) 2024-07-07 13:52:41 +01:00
modmuss
3f89f5a5c6
fabric-loot-api-v3 (#3903)
* fabric-loot-api-v3

* Review fixes

* Fix tests

* More fixes
2024-07-07 13:52:31 +01:00
TelepathicGrunt
d57e92a907
Added Badlands and Wooded badlands to hot tag (#3902)
Was missed in original Unify Tag work
2024-07-07 13:52:18 +01:00
modmuss50
e541ce876c 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:14 +01:00
Fabric Bot
780172709f
New Translation updates (#3867)
* New translations en_us.json (Tatar)

* New translations en_us.json (Russian)

* New translations en_us.json (Icelandic)

* New translations en_us.json (Esperanto)

* New translations en_us.json (Tatar)

* New translations en_us.json (German)

* New translations en_us.json (Chinese Traditional)

* New translations en_us.json (Italian)

* New translations en_us.json (Chinese Simplified)

* New translations en_us.json (Russian)
2024-06-25 18:15:31 +01:00
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