mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-01-03 17:52:15 +01:00
Include item_data_components.json, target new mappings
This commit is contained in:
parent
ed3008f245
commit
b469a61b72
3 changed files with 19964 additions and 2 deletions
|
@ -54,7 +54,7 @@ public final class DataComponentRegistryPopulator {
|
||||||
public static void populate() {
|
public static void populate() {
|
||||||
GeyserBootstrap bootstrap = GeyserImpl.getInstance().getBootstrap();
|
GeyserBootstrap bootstrap = GeyserImpl.getInstance().getBootstrap();
|
||||||
List<DataComponents> defaultComponents;
|
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));
|
JsonElement rootElement = JsonParser.parseReader(new InputStreamReader(stream));
|
||||||
JsonArray jsonArray = rootElement.getAsJsonArray();
|
JsonArray jsonArray = rootElement.getAsJsonArray();
|
||||||
|
|
||||||
|
|
19962
core/src/main/resources/java/item_data_components.json
Normal file
19962
core/src/main/resources/java/item_data_components.json
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1 +1 @@
|
||||||
Subproject commit e1eafe2c5304012d23acba80659459f7868fe2b1
|
Subproject commit 452312f88317cce019b8f336f485ffa7b2c19557
|
Loading…
Reference in a new issue