Commit graph

146 commits

Author SHA1 Message Date
apple502j
b66dcf78f1
Fix duplicate resource pack names (#3557) 2024-01-31 19:32:38 +00:00
apple502j
707e4d1bfd
Refactor resource loader internals (#3473)
* First step toward fixing resource pack grouping

* Placeholder pack and pack dependency

* Various fixes

* Fix wrong variable in serialization code

* Hide packs in PackScreen and DatapackCommand

* Apparently Japanese people aren't alone in having their currency signs used as special chars...

* Inject directly to Pack

* Add temporary logging, fix bug

* Add proper sorting

* Improve logging

* Fix duplicate name registration

* Fix client pack handling

* Fix FMJ

* Stop using interface injection for internal interface

* Delete unused GroupResourcePack

* Move refreshAutoEnabledPacks to util

* Improve logging

* Make a few things private

* Use vanilla metadata serialization logic

* Improve javadoc

* Add junit test

* Some final refactors

* Update ja_jp.json

---------

Co-authored-by: modmuss <modmuss50@gmail.com>
2024-01-28 12:55:54 +00:00
modmuss
78d798af9d
Update to loader 0.15 (#3451) 2023-12-08 15:19:17 +00:00
modmuss50
f31bf881a9 23w44a 2023-11-01 17:00:09 +00: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
2148f3b922 23w42a 2023-10-18 17:14:09 +01:00
modmuss
86b12645b9
23w31a 2023-08-07 09:09:38 +01:00
modmuss
f4b7e42468
Update to loom 1.3 and use Mod Publish Plugin (#3158)
* Update to loom 1.3

* Fix more 1.3 deprecations

* Opps

* Move to mod publish plugin

* Revert some changes

* Fix some more Gradle deprecations

* Fix names

* Remove extra stuff

* Cleanup
2023-08-02 18:51:21 +01:00
Un roman
132c48c1fd
Ukrainian translations (#3169)
* Add files via upload

* Add files via upload
2023-07-18 12:55:27 +01:00
Julian Burner
e3d6ed250b
Fix injected resources not overriding certain vanilla resources (1.20) (#3164)
* Fix injected resources not overriding certain vanilla resources

* Adjust comment

* Add test blocks for High Contrast pack, too

* Fix `GroupResourcePack`

* Deduplicate logic between `GroupResourcePack` and `FabricWrappedVanillaResourcePack`

* Fix checkstyle

* Delete gravel texture override, change dirt to diamond block
2023-07-03 13:54:38 +01:00
Juuz
778f92eb32
Update Finnish translation (#3166) 2023-07-03 13:10:23 +01:00
I_am_Vietnam
40e50c46ea
Add vi_vn.json (#3167)
* Create vi_vn.json

* Create vi_vn.json
2023-07-03 13:10:15 +01:00
CoolChicken321
2825407a16 Update Spanish translations 2023-07-03 13:09:05 +01:00
Technici4n
f7923f6d3d Fix getName for builtin packs not returning an internal name (#3047) 2023-05-14 15:01:38 +01:00
modmuss50
bd913b0dc6 Fix FontManagerMixin target. 2023-04-27 12:06:25 +01:00
Julian Burner
03ffe378fe Fix FabricWrappedVanillaResourcePack::getName (#2998)
* Fix `FabricWrappedVanillaResourcePack::getName`

* Remove unused import
2023-04-11 09:51:53 +01:00
notlin4
1d87947a0e Update Traditional Chinese (#2980) 2023-04-11 09:51:45 +01:00
Julian Burner
938a1d5673
Support Programmer Art and High Contrast injections (#2960) 2023-03-15 12:01:00 +00:00
RawDiamondMC
9af20fd751
Create zh_cn.json (#2945) 2023-03-15 10:33:56 +00:00
Alpha
930b8d421f
Update ko_kr.json (#2927) (#2941)
* Update ko_kr.json

* fix typo
2023-03-15 10:33:35 +00:00
Amirhan-Taipovjan-Greatest-I
043f9acfad
Tatar Translation for Fabric API. (#2936)
* Tatar Translation for 1.19.4

* Tatar Translations for 1.19.4
2023-03-15 10:33:10 +00:00
Madis Otenurm
7ca91b72e1 Update et_ee.json (#2894)
(cherry picked from commit 09aba064e4)
2023-03-15 09:24:52 +00:00
Yoosk
36d2fcce10
Update pl_pl.json (#2929) 2023-03-15 09:24:06 +00:00
Madis Otenurm
711cde8a2a
Add a localization string to default Fabric API resource pack (#2906)
* Update FabricModResourcePack.java

* Update en_us.json

* Update et_ee.json

* Use the newer method

* Fallback as a variable
2023-02-22 12:54:59 +00:00
modmuss50
ae0966baae
Fix all valid Mixin AP warnings. (#2914) 2023-02-22 12:54:50 +00:00
modmuss50
12a6ba2c15 23w05a 2023-02-01 16:35:59 +00:00
modmuss50
a1ccd7bfed 23w04a 2023-01-24 16:59:43 +00:00
modmuss50
b69ba7fabe
23w03a (#2854)
* First look at 223w03a

* Fix login

* Support onboarding screen in client tests

* Fix AFTER_ENTITY_CHANGE_WORLD event

* Bump version
2023-01-18 21:21:41 +00:00
Technici4n
a91e48b70e
Don't break the ordering of ResourcePackProviders (#2784)
Fixes #1671.
2022-12-23 16:00:37 +00:00
Miku
a67331efe6
Add Traditional Chinese (#2776) 2022-12-23 15:59:27 +00:00
Teddy Li
a10d22bd14
Load default translations from all namespaces on the server (#2709)
* Introduce fabric:server-language-namespaces custom meta to fabric-resource-loader-v0 (extension of FabricMC/fabric#2668)

* Fix testmod assertion message

* Automatically detect every en_us.json files in mod container
Remove fabric:server-language-namespaces custom meta detection

* Remove unused custom field in fabric.mod.json

* Update license

* Update style

* cleanup format

* Fix checkstyle, move constructor

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2022-12-11 14:10:27 +00:00
Technici4n
f6c919d6a8 Restore loading of feature datapacks in TestServer 2022-11-24 15:06:49 +00:00
Juuz
48349a3f5f Generate package-info files for all impl and mixin packages (#2615)
* Generate package-info files for all impl and mixin packages

* Add javadoc to generated package-infos, use multiline string

* Simplify code

* Remove manual ApiStatus.Internal on impl classes

* Update CONTRIBUTING.md to remove ApiStatus.Internal for impl classes

* Fix Gradle deprecations

* Fix more Gradle deprecations

* Add task metadata

* Support client-main split

* Remove workaround for client packages

* Try to fix Gradle 8 deprecations

* Try to fix Gradle 8 deprecations, part 2

I'm hoping that using the SourceDirectorySet instead of converting it to a
Set<File> (which is pointless?) will carry the build dependencies over.

* Add clean packageInfo task

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

(cherry picked from commit 0d0f21023d)
2022-11-22 16:35:52 +00:00
modmuss50
efbb35d945 Only load default language on the server.
(cherry picked from commit f9594cb682)
2022-11-20 14:12:32 +00:00
Jonathan Coates
40630eedb6 Load modded translations on the server (#2668)
* Load modded translations on the server

* Don't load built-in mods

(cherry picked from commit 1f9b83131f)
2022-11-20 13:45:30 +00:00
modmuss50
49abcf7e64 Update mappings 2022-11-16 16:12:51 +00:00
modmuss50
28cc6cc789 Merge remote-tracking branch 'origin/1.19.2' into 1.19.3
# Conflicts:
#	gradle.properties
2022-11-07 19:01:58 +00:00
Dalsu
3e1ba48e78
Edit ko-kr translations for resource-loader (#2593)
* Create ko_kr.json

* Create ko_kr.json

* Edited ko_kr translation
2022-11-07 18:30:27 +00:00
apple502j
9e19b0e12c
Resource Loader: use Text for display name (#2613) 2022-10-28 20:07:59 +01:00
apple502j
28e2c05fc9
1.19.3 resource loader changes (#2611)
* Fix CLIENT_RESOURCE_PACK_PROVIDER registration

* Mark FabricModResourcePack as always stable

* Fix warnings

* Fix use of deprecated loader API

* Fix yet another ResourcePack closing issue

* Make ResourceManagerHelper NonExtendable

* fix checkstyle
2022-10-28 18:25:08 +01:00
modmuss50
11ba9c3b22
22w43a (#2610)
Co-authored-by: Technici4n <13494793+Technici4n@users.noreply.github.com>
2022-10-26 20:48:38 +01:00
modmuss50
75e98211bd
22w42a 🐫 (#2599)
Co-authored-by: shartte <shartte@users.noreply.github.com>
Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
2022-10-22 20:38:33 +01:00
Dalsu
70efcffe17
Create ko_kr translations for resource-loader and item-groups (#2591)
* Create ko_kr.json

* Create ko_kr.json
2022-10-18 13:51:36 +01:00
Yoosk
2146d97a24
Create pl_pl translation for resource-loader (#2590) 2022-10-18 13:51:28 +01:00
Salvatore Peluso
0c4b8d3c28
Added it_it language. (#2581) 2022-10-16 15:11:56 +01:00
Juuz
4dc4bb12a1
Update Finnish translation for resource loader (#2578) 2022-10-16 15:11:32 +01:00
Luligabi1
c2dd502822
Added Brazilian Portuguese translations (#2569) 2022-10-16 15:10:59 +01:00
altrisi
1a8f933a16
Create es_es translations for resource-loader and item-groups (#2568)
* Create `es_es` language file for `resource-loader`

* Create `es_es` language file for `item-groups`
2022-10-16 15:10:45 +01:00
Julienraptor01
4d7dbc2b02
French translation update (#2565)
* Update fr_fr.json

* Add creative tab page
2022-10-16 15:10:31 +01:00
apple502j
93d8cb82e8
Fix many javadoc issues (#2526)
Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
2022-09-25 14:45:12 +01:00