Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/glowstonemc/redstone-transformer
- Owner: GlowstoneMC
- License: mit
- Created: 2020-02-18T16:11:07.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-06-14T22:48:39.000Z (over 1 year ago)
- Last Synced: 2024-03-26T01:29:49.164Z (9 months ago)
- Language: Java
- Homepage:
- Size: 760 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`.