Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-04 23:30:17 +01:00
Update mappings to use new submodule
Dieser Commit ist enthalten in:
Ursprung
f4a88bb4e1
Commit
c91e8e1958
3
.gitmodules
vendored
Normale Datei
3
.gitmodules
vendored
Normale Datei
@ -0,0 +1,3 @@
|
||||
[submodule "connector/src/main/resources/mappings"]
|
||||
path = connector/src/main/resources/mappings
|
||||
url = https://github.com/GeyserMC/mappings.git
|
@ -71,7 +71,7 @@ public class Toolbox {
|
||||
ITEMS.add(new StartGamePacket.ItemEntry((String) entry.get("name"), (short) ((int) entry.get("id"))));
|
||||
}
|
||||
|
||||
InputStream itemStream = Toolbox.class.getClassLoader().getResourceAsStream("items.json");
|
||||
InputStream itemStream = Toolbox.class.getClassLoader().getResourceAsStream("mappings/items.json");
|
||||
ObjectMapper itemMapper = new ObjectMapper();
|
||||
Map<String, Map<String, Object>> items = new HashMap<>();
|
||||
|
||||
@ -87,7 +87,7 @@ public class Toolbox {
|
||||
itemIndex++;
|
||||
}
|
||||
|
||||
InputStream blockStream = Toolbox.class.getClassLoader().getResourceAsStream("blocks.json");
|
||||
InputStream blockStream = Toolbox.class.getClassLoader().getResourceAsStream("mappings/blocks.json");
|
||||
ObjectMapper blockMapper = new ObjectMapper();
|
||||
Map<String, Map<String, Object>> blocks = new HashMap<>();
|
||||
|
||||
|
Datei-Diff unterdrückt, da er zu groß ist
Diff laden
Datei-Diff unterdrückt, da er zu groß ist
Diff laden
1
connector/src/main/resources/mappings
Submodul
1
connector/src/main/resources/mappings
Submodul
@ -0,0 +1 @@
|
||||
Subproject commit 5ec6f1f339506129514de59d0e09e9b2c612e8be
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren