Blaze4D is a Fabric mod that changes Minecraft's rendering engine to use the Vulkan Graphics Library, it is currently in Early Development and is NOT intended for use by the faint-hearted. Support for Blaze4D can be found in the #support Discord channel.
We have a Discord server where you can track development progress, ask questions, or just hang out in.
To build the project with natives for your platform run
./gradlew build
in the project root directory.
To run the game with the mod use any of the 3 run targets:
./gradlew runClient
./gradlew runClientWithValidation
- Enables validation layers./gradlew runClientWithValidationRenderdoc
- Enables validation layers and automatically loads the renderdoc shared library.To work on and test natives it can be useful to run cargo manually. To do this it's necessary to first build the assets by running
./gradlew :core:assets:build
This only needs to be repeated if the assets are modified.
After that the natives can be manually built using cargo.
The project is organized in 2 parts
This is the core of Blaze4D that performs the actual rendering and is written in Rust. The gradle project contains 3 subprojects.
build
task.This is the fabric mod itself. Its job is to interface with minecraft. Most of the heavy lifting should take place in Blaze4D core.