mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-01-09 11:44:04 +01:00
"Implement" v2 block mappings reading
This commit is contained in:
parent
16832433a0
commit
4629f7b6f6
1 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ public class MappingsReader_v2 extends MappingsReader {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void readBlockMappings(Path file, JsonNode mappingsRoot, BiConsumer<String, CustomBlockMapping> consumer) {
|
public void readBlockMappings(Path file, JsonNode mappingsRoot, BiConsumer<String, CustomBlockMapping> consumer) {
|
||||||
// TODO
|
throw new RuntimeException("Unimplemented; use the v1 format of block mappings");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void readItemDefinitionEntry(JsonNode data, String itemIdentifier, String model,
|
private void readItemDefinitionEntry(JsonNode data, String itemIdentifier, String model,
|
||||||
|
@ -269,6 +269,6 @@ public class MappingsReader_v2 extends MappingsReader {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public CustomBlockMapping readBlockMappingEntry(String identifier, JsonNode node) throws InvalidCustomMappingsFileException {
|
public CustomBlockMapping readBlockMappingEntry(String identifier, JsonNode node) throws InvalidCustomMappingsFileException {
|
||||||
return null; // TODO
|
throw new InvalidCustomMappingsFileException("Unimplemented; use the v1 format of block mappings");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue