Compatibility
Minecraft: Java Edition
Platforms
Creators
Tags
Details
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.
- Name: the name of the video you entered
- 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


