All versions
0.1-alpha.3
Alpha
MantleJS[1.20.1] v0.1 Alpha.3last year 470
Compatibility
Minecraft: Java Edition
1.20.1
Platform
Forge
Supported environments
Client and server
Required content
Any compatible version
Any compatible version
Any compatible version
Any compatible version
Changes
Fixed bug:
- Cannot record pages added by custom transformers when closing a book. This causes that, when open the book next time, it cannot automatically turn to the last-opened page.
New feature:
- Allow directly create a
PageDataJSvia static methodscreateNew,createNewCustomandcreateEmpty. Java classPageDataJSstill needs to be loaded manually usingJava.loadClass(). This is because pages creating via methods above needs more manual operations such as setting theirparent. SoPageDataJSis not provided directly by a global constant, to avoid confusing new developers.
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:9bJnU6YL:IxdcqMaC"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:9bJnU6YL:IxdcqMaC"
}

