跳到正文

V.P.P (Video Player Pack)

作者:avishaierel

a datapack + py generator that lets you play any video from youtube

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

This Datapack + Resource Pack lets You Watch Any Video from Youtube Directly throw minecraft

How to Use it:

Upload and Create the Resource Pack:

Download the Datapack and insert it into your Datapack Folder, then open the generator, enter the Resourse Pack name, a name of the video and link from youtube to the video, You can enter as many “Videos” as you want but then when you want to finish just click enter without inserting anything to the “video name” and it would generate the Resourse pack into a folder called “Output”.

Also instead of Generating a new resourcepack you can put your exisiting resource pack inside the Output folder and it would just edit it.

after the resource pack has been generated, it will send you the amount of frames, MAKE SURE TO REMEMBER OR COPY THE FRAMES, YOU WILL NEED THEM IN GAME, if you did forgot to copy you can go to

How to Use it in Game:

once you have the resource pack and the datapack installed there are two commands:

/function video_player:video_player/use/play {name:”(NAME)”,frames:”(FRAMES)”}

This Commands start a video You downloaded, in requires two inputs name and frames.

  1. Name: the name of the video you entered
  2. Frames: the amount of frames the video has, THE PY FILE SENDS IT AFTER IT GENERATES THE RESOURCE PACK if you did forgot to copy the amount of frames you can go to resourcepacks\(Resource Pack Name)\assets\minecraft\textures\misc\(Video Name) and find the last frame, copy its number and this is the last frame

/function video_player:video_player/use/stop

Doesnt requires any inputs, when a player runs it, it just stops the video he is watching.

How it Works:

The generator downloads the video at 20 fps (because minecraft runs on 20 ticks) and then it extracts the frames to the resource pack and downloads the audio of the video, then using the datapack it uses scoreboard to add each tick, and based on the scoreboard it shows you using the item compounent “camera_overlay” the picture at misc/frame-$(frame) and plays the sound. so it looks like a video

常见问题

V.P.P (Video Player Pack) 支持哪些 Minecraft 版本?

V.P.P (Video Player Pack) 支持 Minecraft Java 版 1.21.8。下载时注意选择和你游戏版本一致的文件。

V.P.P (Video Player Pack) 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分