Skip to content

GlowstoneMC/redstone-transformer

Repository files navigation

Redstone Transformer

Redstone Transformer is an abstraction layer that allows us to generate Bukkit implementations of certain resources from vanilla-generated resources.

Motivation

Mojang changed how Minecraft handled block IDs and data in 1.13. Luckily, they provide a data generator that gives us the valid values for each type of block, along with the network IDs for each valid state combination. This project queries that data at build time, then transforms annotated, extended Bukkit interfaces into implementations. It will also generate a BlockDataManager class to handle instantiating the appropriate BlockData implementation for each interface.

Development

Updating to a new Minecraft version

The basics are to bump up the project version, change the minecraft.version property, and update the links/paths for mojang-vanilla-server-data.

About

Transforms a ./generated/**/* files from Vanilla into Bukkit interface implementations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages