Commit graph

48 commits

Author SHA1 Message Date
modmuss50
f9594cb682 Only load default language on the server. 2022-11-20 14:11:53 +00:00
modmuss50
9ff28f4026
Split client only code into its own sourceset. (#2179)
A common source of crashes on modded Minecraft servers comes from modders accidently calling client only code from the client, this PR is another large step towards elimitating that.

This PR has been months in the making and years in the planning, requiring major changes to Loom & Loader. In recent Minecraft versions Mojang has made it easier than ever to cleanly split the jar, going against the status-quo of merging the client and server into one jar.

From the start we have designed Fabric to have a very clear split between client and common (client & server) code. Fabric has always encoraged keeping client only code seprate from the server, this can be seen at a fundamental level with the entrypoints in Loader. Fabric API's have all been designed with this mind.

This PR provides a compile safety net around Fabric API using client only code on the server. Even though there are almost 400 changed files, minimal changes beyond moving the files were required to achieve this in Fabric API, thanks to the effort of all contributors in the past.

These changes should not affect modders or players in anyway, a single "universal" jar is still produced. Im happy to awnswer any questions.
2022-05-21 16:26:46 +01:00
Player
ac75df34b9 Fix group resource packs 2022-03-18 02:19:43 +01:00
modmuss50
b4f4f6cda4 Update Loom and Loader. Cleanup/improve buildscript. 2021-11-12 15:02:54 +00:00
modmuss50
65d505fc8a Bump versions
All of the version need to be bumped due to fabric-api-base being updated, this highlights the need for a better solution.
2021-11-05 17:09:48 +00:00
modmuss50
a00e834bd3 Fix build 2021-07-23 18:09:54 +01:00
modmuss50
5ab9934c7c Bump version 2021-07-23 17:28:43 +01:00
modmuss50
b7ab612143 1.17-pre1 2021-05-27 18:40:00 +01:00
modmuss50
a02b4463f9 21w19a 2021-05-12 20:23:04 +01:00
modmuss50
12865e786c Version bump 2021-04-14 20:03:08 +01:00
modmuss50
23b3c92ea9 21w13a 2021-03-31 20:52:51 +01:00
modmuss50
1eb2670e8a 21w05a 2021-02-03 19:53:20 +00:00
modmuss50
36b77c3e9f 21w03a 2021-01-20 19:50:47 +00:00
modmuss50
92519afafe Version bump 2021-01-19 19:38:22 +00:00
Player
53f160a834 Bump version 2021-01-05 13:22:26 +01:00
modmuss50
f3da4d8bf5 Bump version 2020-12-23 20:22:24 +00:00
modmuss50
87d0b2af53 Fix a number of issues with reload listeners (#1240)
* Fix resource reload listeners not being sorted.
Fix missing/broken reload listener keys.
Add a debug log line for missing reload keys
Add some basic tests.

* Undo adding new keys, we can look at this later.

* use AssertionError

* Fix test on server

(cherry picked from commit 67abea83c2)
2020-12-23 20:09:38 +00:00
modmuss50
e1f1abb1c0 20w49a 2020-12-02 19:02:44 +00:00
modmuss50
fca1ef16e4 Version bump 2020-11-13 19:13:14 +00:00
modmuss50
df3673f0bc 20w46a 2020-11-11 20:18:14 +00:00
modmuss50
3e817a62fd Version bump 2020-11-05 18:26:58 +00:00
modmuss50
fcdfdfa1c7 Fix server crash, closes #1058 2020-09-03 23:44:31 +01:00
modmuss50
432ea188f9 Bump version 2020-09-03 20:00:01 +01:00
modmuss50
e5d3217f0d Mappings update 2020-08-11 17:42:40 +01:00
modmuss50
35e08e3387 20w28a - no biomes or dimensions 2020-07-08 19:31:01 +01:00
modmuss50
c668f41520 20w27a 2020-07-01 18:40:27 +01:00
modmuss50
f41e2098ef Bump version 2020-06-30 20:18:00 +01:00
modmuss50
059ea866ec update mappings 2020-06-09 22:29:07 +01:00
modmuss50
4e84b64f5c Fix log spam for mods that are not datapacks. Also bump version for release 2020-06-05 20:09:24 +01:00
modmuss50
f6620c4898 Bump version 2020-06-05 11:37:29 +01:00
modmuss50
277876c741 Hopefully fix mod datapacks 2020-06-04 22:35:10 +01:00
modmuss50
0d474ec430 1.16-pre1 2020-06-04 21:20:20 +01:00
modmuss50
da175ad6ad 20w22a 2020-05-29 15:56:10 +01:00
modmuss50
2fd224ca63 20w17a 2020-04-22 17:59:17 +01:00
Juuxel
94c7834a50
Make resource-loader-v0's generated resource packs use the latest data version (#559)
This prevents incompatibility warnings about mod resource and data packs.
2020-04-11 19:46:10 +00:00
modmuss50
5b8a535acb 20w11a - All mapping changes 2020-03-11 17:37:48 +00:00
modmuss50
b7d52fa581 20w10a 2020-03-04 20:59:37 +00:00
modmuss50
06c939b35c 1.15-pre3 - just mapping changes 2019-11-28 19:40:14 +00:00
modmuss50
f3d8141bae 1.15-pre1 2019-11-21 21:04:17 +00:00
modmuss50
12515ed9ee 19w45a 2019-11-07 20:35:26 +00:00
Player
b7f9825dbb Add checkstyle verification for package names, fix non-API packages. 2019-11-03 20:14:45 +01:00
modmuss50
ce77399215 19w44a
Only yarn renames
2019-10-30 17:10:30 +00:00
modmuss50
ccd269cfad 19w41a 2019-10-09 19:05:13 +01:00
grondag
d2ac651a7a
19w38b API Fixes (#370)
* Fix compilation errors (untested)

* Random fixes

* Various modded rendering fixes

* Restore contract of RenderAttachedBlockView

* Bump versions as needed

* Add API for BlockRenderLayer

* Minor format / name cleanup

Will do a more comprehensive pass as part of separate refactor PR

* Bump versions not handled earlier

* Bump loader/mc bounds for dependent modules

* Update fabric-blockrenderlayer-v1/src/main/java/net/fabricmc/fabric/impl/blockrenderlayer/v1/BlockRenderLayerMapImpl.java

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update fabric-blockrenderlayer-v1/src/main/java/net/fabricmc/fabric/impl/blockrenderlayer/v1/BlockRenderLayerMapImpl.java

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Minor clean ups

* Improve docs, minor format corrections.

* Update MC dependency
2019-09-20 16:50:49 -07:00
modmuss50
d1f89c1d5e Fix builtin mods being added as resource packs 2019-08-28 20:00:17 +01:00
asie
232e294c2c optimize removeAll in ResourceManagerHelperImpl.sort (#298) 2019-08-08 00:02:25 +01:00
Adrian Siekierka
eff4f58df6 [fabric-resource-loader] make paulscode hack opt-in, possibly remove in the future; i mean, no paulscode anymore 2019-05-17 16:23:35 +02:00
Adrian Siekierka
f16189181b final module name refactor prior to release, hopefully 2019-05-11 23:48:33 +02:00
Renamed from fabric-resource-loader/build.gradle (Browse further)