▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Датапаки/Player Steps Recorder
Player Steps Recorder

Player Steps Recorder

Player Steps Recorder is a datapack library that adds recordings into minecraft

Оцените первым
43
0

Player Steps Recorder saves step recordings that map creators can record. They can be played via mannequin entities and can be helpful in maps or games where you have to use accurate player movement.

The features that PSR can support are:

  • Movement
  • Rotation
  • Items & Armor
  • Pose (standing, sneaking, crawling, swimming)

... More can be tracked by your datapack via actions!

How To Use

If you want a short command list, you can use /function psr:help, or read below for a more in-detail explanation.

Recording

function psr:record {name:<name>,x:<x>,y:<y>,z:<z>} (also works with ~ and ^)
Each recording starts with spawning an origin point, at x,y,z.
The origin point helps by replaying your recording anywhere you'd like.

function psr:stop_recording stops the recording

Playing your recording

function psr:play {name:<name>,x:<x>,y:<y>,z:<z>} (also works with ~ and ^)
Fun Fact: By moving the origin point, you can move the whole recording while it's playing.
Also, you can play multiple instances of the same recording at the same time!

function:psr:stop_playback {name:<name>} stops all playing recording instances with the same name. Be careful when playing multiple instances of the same recording!

Other / Documentation

Steps can only save values that have changed. For example, the longer you stay still, the less data will be saved. Each recording gets stored like a file. If you want to access it via other datapacks, recordings is saved in this storage: psr:recordings recordings.

Recordings

Recordings are SNBT data in a storage that can be used to recreate player-like movement.
Components in storage

ComponentTypeDescription
nameStringName of the recording
versionStringVersion the recording was saved in
framesIntNumber of frames. Used to keep the recording from cutting off faster than usual when not updating anything
stepsArray (contains Steps)Steps of the recording

Steps

Steps are parts of a Recording. They track player properties and only save changes.
Components in storages

ComponentTypeDescription
frameIntThe frame that the step tracks. Since steps only track changing values, using the index value as a frame value would break the playback
PosArrayPosition that the recorder had (relative to the origin point)
RotationArrayRotation that the recorder had (relative to the origin point)
mainhandItem NBTItem that the recorder had in their mainhand
offhandItem NBTItem that the recorder had in their offhand
headItem NBTItem that the recorder was wearing on their head
chestItem NBTItem that the recorder was wearing on their chest
legsItem NBTItem that the recorder was wearing on their legs
feetItem NBTItem that the recorder was wearing on their feet
actionStringAction that the recorder triggered

Actions

Actions are items that can be right clicked while recording to add comments or mark frames easily for other datapack purposes.

Партнёрский материал

Как запустить датапак Player Steps Recorder на сервере?

Датапак Player Steps Recorder удобнее всего раскрывается на общем сервере: установили один раз - и вся компания играет с новыми механиками. Создать сервер Майнкрафт с датапаком Player Steps Recorder можно за пару минут вместе с BungeeHost.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

26.1.x1.21.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Детали

Лицензия:
Опубликован:3 месяца назад
Обновлён:3 месяца назад
Главная