Skip to content

Commit

Permalink
Include item_data_components.json, target new mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
onebeastchris committed Dec 5, 2024
1 parent ed3008f commit b469a61
Show file tree
Hide file tree
Showing 3 changed files with 19,964 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
Loading

0 comments on commit b469a61

Please sign in to comment.