A useless project developed as a result of having too much free time. The main idea was playing real AAA games and streaming videos in Minecraft.
The plugin has two main features:
- high-performance rendering on maps
Manages to generate and compress more than 3600 packets per second (30FPS, 15x8 maps, equivalent of 1920x1080) - catching a player's input using "vehicle steer" packet
- Paper 1.12.2
- NMSUtils
- youtube-dl binary in the
PATH
(e.g. in the server's root directory) if you want to download videos from youtube
A renderer is responsible for generating an image that is shown for the players.
NativeScreen has several built-in renderers.
Each renderer implements interface IMapRenderer
.
A simple renderer, mainly useful for performance testing, fills a whole screen with a solid random color.
This renderer uses Java's Robot
API to take a screenshot of a whole screen.
Calls winapi
through java native access
to take the content of the specified window.
Uses java binding to the FFmpeg
to decode a video file and play it in the game.