1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2026-01-06 15:41:50 +00:00

Include item_data_components.json, target new mappings

This commit is contained in:
onebeastchris
2024-12-05 18:16:09 +08:00
parent ed3008f245
commit b469a61b72
3 changed files with 19964 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ public final class DataComponentRegistryPopulator {
public static void populate() {
GeyserBootstrap bootstrap = GeyserImpl.getInstance().getBootstrap();
List<DataComponents> defaultComponents;
try (InputStream stream = bootstrap.getResourceOrThrow("mappings/item_data_components.json")) {
try (InputStream stream = bootstrap.getResourceOrThrow("java/item_data_components.json")) {
JsonElement rootElement = JsonParser.parseReader(new InputStreamReader(stream));
JsonArray jsonArray = rootElement.getAsJsonArray();

File diff suppressed because it is too large Load Diff