Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 871 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 871 Bytes

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.