Tags
Creators
Details
1.20.4-1.1.0
Compatibility
Changes
New Release
- Added new action
/pos near [<radius>]. - Automatic increments.
New action "near"
With this you can look for the nearest position to you (without specifying a radius) or positions within a given radius in a sphere around you. Note, that the distance is calculated using the euclidian distance, but for better approximation, the manhattan distance is shown in chat.
Example nearest position:
/pos near
Example with radius:
/pos near 20
Automatic increments
Adding a % at the end of a name when setting or updating positions will now look for the next number that is available counting up following the name pattern. When using this pattern make sure that you enclose your position name with quotes. Examples (empty list of positions):
/pos set "world.default.tree-%"
will add world.default.tree-0.
Repeating this command will then add world.default.tree-1, [...].tree-2, and so on. This auto increment wildcard can only be used as the last character of a name.
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:Dhhx0KEa:uo5DpSKW"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Dhhx0KEa:uo5DpSKW"
}

