Commit graph

188 commits

Author SHA1 Message Date
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
modmuss50
f60060dfe3
Rename modid to "fabric-api" and provide "fabric". Update loom (#2446)
* Rename modid to "fabric-api" and provide "fabric"
Update loom
Update loader
Update gradle

* opps

* Update loom and gradle again.
2022-08-06 19:05:38 +01:00
modmuss50
d5533c01e6 1.19.1-pre2 2022-06-30 18:19:22 +01:00
modmuss50
899286998c
Create fat testmod jar (#2256) 2022-05-24 15:04:30 +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
55e82473ab 22w19a 2022-05-12 21:58:35 +01:00
Player
729842f055 22w18a 2022-05-04 21:56:29 +02:00
modmuss50
56447d9b95 22w17a 2022-04-27 20:48:57 +01:00
modmuss50
ec94c6f636
22w16b
Co-authored-by: Player <player@player.to>
2022-04-20 22:22:10 +01:00
Player
7463d67c85 22w11a 2022-03-18 00:33:37 +01:00
modmuss50
d882b91555
Port to 22w06a (#1989)
This snapshot is possibly one of the most impactful for API we have ever had. This PR is an inital port to support 22w06a, stuff will be missing and broken. 

# Removed modules:
- fabric-mining-levels-v0 - Previously deprecated
- fabric-object-builders-v0 - Previously deprecated
- fabric-tag-extensions-v0
- fabric-tool-attribute-api-v1

# Modules with API breaking changes:
- fabric-biome-api-v1
- fabric-content-registries-v0
- fabric-data-generation-api-v1
- fabric-mining-level-api-v1
- fabric-object-builder-api-v1
- fabric-resource-conditions-api-v1
- fabric-structure-api-v1

# Impactful API changes:
### fabric-object-builder-api-v1
- Removed - FabricBlockSettings.breakByHand
- Removed - FabricBlockSettings.breakByTool  - Previously deprecated

# Notable changes

- fabric-registry-sync-v0 moves vanilla's new registry freezing to a later point in time, allowing mods to add to the registry during init.

# Known issues:
- ServerBugfixMixin used to fix https://bugs.mojang.com/browse/MC-195468 has not yet been ported.
2022-02-11 17:02:44 +00:00
modmuss50
54e5b2eccb 22w05a
Remove 1.18.1 support.
2022-02-02 18:34:04 +00:00
modmuss50
c2214d9892 Update minimum loader version to 0.12.12 and build against 1.18.1.
This is done to help promote people to use a loader version that has full mitigations against the log4j exploits.
2021-12-22 17:22:58 +00:00
modmuss50
6f53a73db5 Bump versions 2021-11-23 18:54:18 +00:00
modmuss50
e77d3ea62f 1.18-pre2 & Java 17 2021-11-16 18:41:10 +00:00
modmuss50
5553aff888 21w37a: Compile pass 2021-09-17 18:42:42 +01:00
modmuss50
6cefd57746 1.17.1-rc2 2021-07-05 18:44:49 +01:00
modmuss50
a02b4463f9 21w19a 2021-05-12 20:23:04 +01:00
Player
4e7237c745 21w17a 2021-04-29 00:29:12 +02:00
modmuss50
fd6e7547e7
20w45a
Added FabricBlockEntityTypeBuilder
Reworked EntityRendererRegistry
Ported BlockEntityRendererRegistry
2020-11-05 18:05:55 +00:00
modmuss50
35e08e3387 20w28a - no biomes or dimensions 2020-07-08 19:31:01 +01:00
modmuss50
0d474ec430 1.16-pre1 2020-06-04 21:20:20 +01:00
i509VCB
c38e8d9e1e
Object builders v0->v1 migration (#537)
* Migrate object builders from v0 -> v1

* Port entity attribute registry to v1
2020-04-29 22:48:08 +01:00
modmuss50
c808269fb2 20w14a 2020-04-02 19:28:36 +01:00
modmuss50
b7d52fa581 20w10a 2020-03-04 20:59:37 +00:00
modmuss50
434c9ae895 Update Loader requirement, fixing game version number. 2020-02-05 19:23:03 +00:00
modmuss50
9421522d5a 20w06a 2020-02-05 18:05:59 +00:00
modmuss50
f3d8141bae 1.15-pre1 2019-11-21 21:04:17 +00:00
modmuss50
d2e3099f39 19w42a
Includes a work around for the funky rendering issues, this will need looking into some more.
2019-10-16 18:54:16 +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
d32291da65 Fix resource-loader 2019-09-18 23:24:15 +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
modmuss50
b4f62fb5a7 Update fabric-loader to replace deprecated methods 2019-08-28 22:17:50 +01:00
Player
66a6b610bc Add 1.15 MC deps where needed, update loader, bump versions. 2019-08-27 18:43:09 +00:00
Adrian Siekierka
ab8198ed5f update license header, add .editorconfig, run formatter - close #28 2019-04-26 20:18:20 +02:00
Adrian Siekierka
dff44ec84f [#148] Migrate to a modular JAR-in-JAR system, update to Loader 0.4.x 2019-04-24 00:47:39 +02:00
Adrian Siekierka
16120298f7 fix FabricEntityTypeBuilder NPE 2019-04-20 10:18:51 +02:00
Adrian Siekierka
f5024a75c3
update entity tracking registration code for new snapshot changes (#145) 2019-04-19 23:52:27 +02:00
Adrian Siekierka
9ed3b4e145 add command registration testing mod, close #143 2019-04-19 22:38:31 +02:00
asie
619f251fa5 update to 1.14pre3 2019-04-16 18:07:53 +02:00
modmuss50
93f49a4824 1.14 Pre-Release 1, just build script changes 2019-04-10 17:57:48 +01:00
Adrian Siekierka
5f3245b0fd fix creative menu off-by-one crash 2019-04-07 14:51:44 +02:00
Pyrofab
31db2b6d1b Fix SimpleResourceReloadListener reload override (#137)
`ResourceReloadListener#apply` was recently renamed to `reload` in yarn. Because Fabric's override wasn't marked as such, it seems it was missed during the update.
2019-04-06 21:48:40 +02:00
modmuss50
b03a9dbda3 19w14b, just mapping updates 2019-04-05 17:10:11 +01:00
modmuss50
ca298f60ed Update to 19w14a, only mapping changes. Also fix version not being updated in the mod.json 2019-04-03 20:34:09 +01:00
Jonathan Frederick
eabeb85473 FabricEntityTypeBuilder: Rename immunteToFire field to immuneToFire (#133) 2019-03-28 09:23:58 +00:00
modmuss50
09f7993b17 Mixin fixes 2019-03-27 19:08:18 +00:00
modmuss50
240d8ab775 19w13a
EntityType's can now say if the entity is immune to fire, the builder has been update to support this.
Mainly mapping updates
2019-03-27 18:51:05 +00:00
modmuss50
163d37cd42 19w12b 2019-03-21 18:13:36 +00:00