Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/glowstonemc/redstone-transformer

Transforms a ./generated/**/* files from Vanilla into Bukkit interface implementations.
https://github.com/glowstonemc/redstone-transformer

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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`.