Links
Tags
Creators
Details
0.0.2.2
Compatibility
Changes
Version 0.0.2.2
Introduction
Now you can use a leash to tie up players or even tie yourself. Why not try tying each other up to complete Minecraft?
You can:
- Use a leash to tie up players.
- Tie yourself to a fence when no entities are tied to the leash.
- Use commands to obtain and adjust the length of a player's leash.
- There are now game rules to decide whether a leashed player can be teleported along with the leash holder when teleporting.
Commands
-
/lp leash length [<player>] set <length>- Set the leash length for the player.[If<player>is empty,it refers to the command executor,<length>should be a floating-point number between 5 and 1024.] -
/lp leash length [<player>] [get]- Display the leash length of the player.[If<player>is empty, it refers to the command executor,[get]can be omitted.] -
/lp leash data [<player>] set <entity>/<block coordinates>- Set the player's leash data,binding it to<entity>or a leash knot entity on a fence at<block coordinates>. -
/lp leash data [<player>] [get]- Display the player's leash data.[If<player>is empty, it refers to the command executor,[get]can be omitted.]
Game Rules
-
LP.TeleportWithLeashedPlayers- When this rule is enabled, leashed players will be teleported along with the leash holder. [Default value: True] -
LP.CreateLeashFenceKnotEntityIfAbsent- When this rule is enabled, if there is no leash knot entity on the corresponding fence block when setting leashData, this entity will be automatically created and bound. [Default value: True]
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:MxUd9Fkf:MxuBQncS"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:MxUd9Fkf:MxuBQncS"
}

