Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 08:30:12 +01:00
Include item_data_components.json, target new mappings
Dieser Commit ist enthalten in:
Ursprung
ed3008f245
Commit
b469a61b72
@ -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
Normale Datei
19962
core/src/main/resources/java/item_data_components.json
Normale Datei
Datei-Diff unterdrückt, da er zu groß ist
Diff laden
@ -1 +1 @@
|
|||||||
Subproject commit e1eafe2c5304012d23acba80659459f7868fe2b1
|
Subproject commit 452312f88317cce019b8f336f485ffa7b2c19557
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren