your current location:首页 > news>Fabric API MINECRAFT

Fabric API MINECRAFT

2024-12-12 09:14:50|Myriagame |source:minecraft skins

Overview

Fabric consists of Fabric Loom, Fabric Loader and Fabric API.

Fabric loader is the most basic component (loader); but in most cases, Fabric Loader and Fabric API are required at the same time.

Developers need to use the Fabric Loom Gradle plug -in to develop the Fabric ecosystem.

The Fabric API provides some basic interfaces that allow other module to register items, blocks, models, interfaces, etc., and also provide some events.

In addition to supporting the official version of 1.14+, the Fabric API also followed up the latest routine version development, and also supports 20W14∞ and subsequent April Fool's Day version.

For developer

Developers need to download the official sample module (GitHub) or the template generator using the example module.

Fabric has a relatively complete development and use document: Fabric Wiki (English) and Fabric documents (English).

Fabric officially has Chinese development and use documents contributed by Chinese community: Fabric Wiki (Chinese) and Fabric documents (Chinese).

In addition, there are Chinese development documents translated by players on the Chinese forum: MCBBS (please use the webpage machine to view).

Remark

Low version transplant:

1.13.2 ~ 1.3.2: Legacy Fabric API.

B1.7.3: CURSED Legacy API.

Fabric API started with version 0.59.0-1.19.2 and 0.59.0-1.18.2, and Modid was replaced with Fabric-API, but it is still effective to fill in Fabric in Fabric.mod.json.

For more detailed page introduction and installation and use methods of Fabric, please check the official website of Fabric.