
LeashedPlayer
Now you can use a lead to leash players—or even yourself! Why not try leashing each other and beat Minecraft together? ;)
Список изменений
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]
