Tags
Creators
Details
Licensed MIT
Published 4 years ago
Updated 3 weeks ago
All versions
1.0.0-alpha.3+26.1.2-FABRIC
Release
Caxton 1.0.0-alpha.3+26.1.2-FABRIC5 months ago 4,397
Compatibility
Minecraft: Java Edition
26.1.2
Platform
Fabric
Supported environments
Client-side
Required content
Any compatible version
Changes
1.0.0-alpha.3
Adopt official enum extension methods on Fabric.
- On Fabric, we used to use Fabric ASM to extend the
FontType(Mojmap:GlyphProviderType) enum. Since the recently released version 0.17.1, Mixin supports enum extensions, which removes the need for Fabric ASM. This also makes the source code for the Fabric version completely free of Mojmap. Note that Caxton now requires Fabric Loader 0.19.1 or later. - On Forge, we originally used JavaScript core mods to extend the
FontTypeenum. When NeoForge planned to remove support for core mods, this was replaced with a mixin that adds the field manually. NeoForge has a built-in way to extend certain enums, which we plan to use eventually, but we’re waiting on Neo Loom being able to remap enum extension files.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:k8iIgzXE:VYFlZA7n"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:k8iIgzXE:VYFlZA7n"
}

