CurseForge · Minecraft mod
Fiber2Cloth
A simple API to magically make fiber config nodes into cloth
Quick answer
Which Fiber2Cloth release should I use?
Fiber2Cloth [Fabric 1.16.5] v3.2.0 targets 1.16-Snapshot, 1.17.1, 1.16.3 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 2 required mods have matching files.
Where it goes
Is Fiber2Cloth required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Fiber2Cloth [Fabric 1.16.5] v3.2.0 need?
[Fabric 1.16.5] v3.2.0. Change the file and its required mods may change too.
Install Cloth Config API (UNUSED), Fabric API first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Fiber2Cloth without breaking your instance.
Built for Fiber2Cloth [Fabric 1.16.5] v3.2.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use [Fabric 1.16.5] v3.2.0. It targets 1.16-Snapshot, 1.17.1, 1.16.3 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Cloth Config API (UNUSED), Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside [Fabric 1.16.5] v3.2.0. It opens that exact file at the source.
About this project
What does Fiber2Cloth add?

A simple library that converts Fiber’s Config Node to Cloth Config Screen in 1 line.
Requires Cloth Config 2 v1.1.1 or above
NOTE: This is still an experimental library, and there aren’t a lot of features. I am using this library on my own mods and I will see how this goes.
Licensing
Fiber2Cloth and ClothConfig are unlicensed, no crediting is required. Fiber is licensed under Apache License 2.0. Make sure that you properly comply with their license.
Maven
Latest Version of Fiber2Cloth:
Latest Version of ClothConfig 2:
Latest Version of Fiber: Click Me
dependencies { modApi ("me.shedaniel.cloth:config-2:ABC") { transitive = false } modApi ("me.shedaniel.cloth:fiber2cloth:ABC") { transitive = false } modApi "me.zeroeightsix:fiber:ABC" include "me.shedaniel.cloth:config-2:ABC" include "me.shedaniel.cloth:fiber2cloth:ABC" include "me.zeroeightsix:fiber:ABC"}
Default Supported Types
- Integer
- Long
- Float
- Double
- Boolean
- String
- Integer[]
- Long[]
- Float[]
- Double[]
- String[]
API Usage
This is the one line that will convert your config node into a cloth config screen.
Fiber2Cloth.create(screen, modid, configNode, configScreenTitleKey).setSaveRunnable(() -> {
// Here you should serialise the node into the config file.
}).build().getScreen();
A default category will be created (the name is customisable) if there is a config value without a forked parent.
Multiple layers of forking are allowed, and subcategories will be used starting from the second layer.
Using Unsupported Types
If you have an object type outside the default supported types, you can use Fiber2Cloth#registerConfigEntryFunction, it takes the class of the object type and a function that turns ConfigValue into AbstractConfigListEntry
You can see examples in Fiber2ClothImpl#initDefaultFunctionMap
``
``
Changing the default Yes / No text for boolean toggles
Declare the yes / no text in lang files with key config.{modid}.{valueName}.boolean.{true/false}, and if the key is found translated, it will automatically switch to using that instead of the default.
Example
Fiber2Cloth's example lang has config.fiber2cloth.exampleBool.boolean.true set to yo this is true, which means that config.fiber2cloth.exampleBool's Yes text is changed to yo this is true automatically.
Project description from CurseForge.
Pick your setup
Fiber2Cloth by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.19-Snapshot
1 loader build1.18.2
1 loader build1.18.1
1 loader build1.18-Snapshot
1 loader build1.18
1 loader build1.17.1
1 loader build1.17-Snapshot
1 loader build1.17
1 loader build1.16.5
1 loader build1.16.4
1 loader build1.16.3
1 loader build1.16.2
1 loader buildShowing the newest 12 of 25 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Fiber2Cloth versions and loaders
[Fabric 1.16.5] v3.2.0
fiber2cloth-3.2.0.jar
14 Jun 2021
[Fabric 1.16-pre3] v3.1.1
fiber2cloth-3.1.1.jar
1 Feb 2021
[Fabric 1.16.x] v3.1.0
fiber2cloth-3.1.0.jar
26 Dec 2020
[Fabric 1.16.x] v3.0.1
fiber2cloth-3.0.1.jar
17 Jun 2020
[Fabric 1.16-pre3] v3.0.0
fiber2cloth-3.0.0.jar
11 Jun 2020
[Fabric 1.15.x] v2.0.0
fiber2cloth-2.0.0.jar
1 Jun 2020
[Fabric 1.15.x] v1.2.2
fiber2cloth-1.2.2.jar
4 May 2020
[Fabric] v1.2.1
fiber2cloth-1.2.1.jar
2 Nov 2019
[Fabric] v1.2.0
fiber2cloth-1.2.0.jar
8 Sept 2019
Looking for an older file? The official CurseForge project page is in Resources.