Commit graph

50 commits

Author SHA1 Message Date
apple502j
6bee109e4a Add Japanese translations 2022-08-06 19:13:10 +01: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
modmuss50
ec94c6f636
22w16b
Co-authored-by: Player <player@player.to>
2022-04-20 22:22:10 +01:00
Florens Pauwels
91896a4963
Fix off-by-one error in item group tooltip (#2094) 2022-04-10 16:27:18 +01:00
Player
3ac43d9577 Revert Mixin compatibilityLevel bump, bump versions 2021-11-17 03:29:11 +01:00
modmuss50
e77d3ea62f 1.18-pre2 & Java 17 2021-11-16 18:41:10 +00: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
AlphaMode
fe763b7016 ItemGroup API: Remove return and call super so all others ItemStack's get appended (#1617)
* Remove return and call super so all others ItemStack's get appended

* Add method to FabricItemGroupBuilder to pass ItemGroup with appendItems and change stacksForDisplay to a BiConsumer

* Update ItemGroupBuilder javadoc and add example to testmod

* Remove leftover aw

* Update fabric-item-groups-v0/src/main/java/net/fabricmc/fabric/api/client/itemgroup/FabricItemGroupBuilder.java

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update fabric-item-groups-v0/src/testmod/java/net/fabricmc/fabric/test/item/group/ItemGroupTest.java

Co-authored-by: Technici4n <13494793+Technici4n@users.noreply.github.com>

* Remove used import in ItemGroupTest

* Clean up

* Fix damn checkstyle

* Change version to 0.3.0

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Technici4n <13494793+Technici4n@users.noreply.github.com>
2021-10-31 11:00:10 +00:00
modmuss50
b7ab612143 1.17-pre1 2021-05-27 18:40:00 +01:00
Player
75bf7f0f4a Bump versions 2021-05-20 01:32:24 +02:00
Player
8297e96629 21w20a
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2021-05-20 01:15:25 +02:00
modmuss50
a02b4463f9 21w19a 2021-05-12 20:23:04 +01:00
modmuss50
12865e786c Version bump 2021-04-14 20:03:08 +01:00
Emma
5f00b70f07 Add Greek translation (#1403)
(cherry picked from commit 4b2c998ef4)
2021-04-14 18:52:54 +01:00
Juuxel
c0514c5228 Add Finnish translation (#1416)
(cherry picked from commit 42c13ca9b1)
2021-04-14 18:52:48 +01:00
frqnny
83003f11fb Add Mexican spanish translation (#1418)
* Create es_mx.json

* Update es_mx.json

(cherry picked from commit 6ee4ca443c)
2021-04-14 18:52:43 +01:00
modmuss50
23b3c92ea9 21w13a 2021-03-31 20:52:51 +01:00
modmuss50
bb68760067 Bump version 2021-03-22 19:04:47 +00:00
A. Regnander
353650b662 Create sv_se.json (#1388)
* Create sv_se.json

* Update sv_se.json

(cherry picked from commit e74ab46e1e)
2021-03-22 19:02:25 +00:00
modmuss50
41a6855274 21w10a 2021-03-10 19:21:48 +00:00
modmuss50
92519afafe Version bump 2021-01-19 19:38:22 +00:00
i509VCB
f8cf2bb436 Add custom value denoting module lifecycles. (#1253)
* Add custom value denoting module lifecycles.

* Make the module validation work.

My hand has been forced - we must use buildSrc since JsonSlurper is not available in main buildscript.

* Apply task to each project and dont cross projects

* A horrible hack

* Wait what

* It works now.

* Not needed

* Drop unneeded maven repo, cache map lookup

(cherry picked from commit daa38b3d82)
2021-01-19 18:54:23 +00:00
modmuss50
c6723711fd Bump versions 2020-12-30 17:26:06 +00:00
cs127
ce1444b45e Added Persian translation (#1161)
* added persian translation

* small change

(cherry picked from commit 6f23ac82f9)
2020-12-30 16:56:44 +00:00
Thalia Nero
9f7a7423f3 Add module dependencies to maven POM (#1104) 2020-11-15 19:46:01 +00:00
modmuss50
a4467d2a9c Bump version 2020-10-27 18:36:48 +00:00
Ege
8f6b00f9a3
Add Turkish language (#1128) 2020-10-22 18:54:12 +01:00
Geometrically
438f96368c
Move creative pagination buttons (#639)
* Move creative pagination buttons

* Bump module version + Update Texture

* Remove Krita Autogenerated File

* Add Hover and Update Texture

* Fix button positions

* Fix checkstyle
2020-06-12 11:10:04 +01:00
modmuss50
63435d4b92
Restart Testmods (#593) 2020-05-03 16:56:50 +00:00
modmuss50
2fd224ca63 20w17a 2020-04-22 17:59:17 +01:00
modmuss50
d249f7b6d6 20w12a 2020-03-18 20:05:01 +00:00
modmuss50
5b8a535acb 20w11a - All mapping changes 2020-03-11 17:37:48 +00:00
modmuss50
2cbdd032eb Fix modded ItemGroups not showing, also updated mappings 2020-03-06 18:31:57 +00:00
modmuss50
b7d52fa581 20w10a 2020-03-04 20:59:37 +00:00
modmuss50
ec40b2e12c 1.15-pre4
a few mapping changes
2019-12-03 17:02:41 +00:00
Player
b7f9825dbb Add checkstyle verification for package names, fix non-API packages. 2019-11-03 20:14:45 +01:00
Player
dfdb52d6e5 Add checkstyle, format existing code accordingly. 2019-10-27 15:40:26 +01:00
Modmuss50
9c45b1ef78 Wip 19w39a (#386)
* 19w39a fixes (#387)

* Bump versions

* Breaks: BlockEntityRendererRegistry and EntityRendererRegistry

* Remove broken parts of rendering, bump major version

* Add renderer-registries, replaces broken parts of rendering api

* Slap a band-aid on renderer/Indigo - won't render properly, but runs

* Bump distribution versions, add renderer-registries to main build

* Clean up blockrenderlayer implementation package name
2019-09-28 18:07:04 -07: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
7533b848b5 19w38b - start the port, does not compile just yet. 2019-09-18 18:16:25 +01:00
Prospector
5ed88c193a Add more metadata to the modules (#353)
* Add fabric-api-base as a dep to fabric-networking-v0
2019-09-09 01:48:43 +02:00
Player
66a6b610bc Add 1.15 MC deps where needed, update loader, bump versions. 2019-08-27 18:43:09 +00:00
modmuss50
ef6e16884f 19w34a - not being built just yet 2019-08-22 19:07:25 +01:00
Madis
1e69a0a526
Estonian translation 2019-07-08 12:05:17 +03:00
Adrian Siekierka
f0d568005e 1.14.3-pre2 2019-06-13 10:16:42 +02:00
Adrian Siekierka
bdffbb2cdb 1.14.3-pre1 2019-06-03 19:02:44 +02:00
asie
59147463cc add proper depends lists to mods 2019-05-17 23:08:53 +02:00
Adrian Siekierka
945f265fc3 update to 1.14.2pre2 2019-05-17 16:20:37 +02:00
Adrian Siekierka
f16189181b final module name refactor prior to release, hopefully 2019-05-11 23:48:33 +02:00