From 4629f7b6f658ef99d566fa670dc7d2032cb283f6 Mon Sep 17 00:00:00 2001 From: Eclipse Date: Thu, 19 Dec 2024 11:52:56 +0000 Subject: [PATCH] "Implement" v2 block mappings reading --- .../geyser/registry/mappings/versions/MappingsReader_v2.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/geysermc/geyser/registry/mappings/versions/MappingsReader_v2.java b/core/src/main/java/org/geysermc/geyser/registry/mappings/versions/MappingsReader_v2.java index 2a0ab3cba..d1204748b 100644 --- a/core/src/main/java/org/geysermc/geyser/registry/mappings/versions/MappingsReader_v2.java +++ b/core/src/main/java/org/geysermc/geyser/registry/mappings/versions/MappingsReader_v2.java @@ -85,7 +85,7 @@ public class MappingsReader_v2 extends MappingsReader { @Override public void readBlockMappings(Path file, JsonNode mappingsRoot, BiConsumer consumer) { - // TODO + throw new RuntimeException("Unimplemented; use the v1 format of block mappings"); } private void readItemDefinitionEntry(JsonNode data, String itemIdentifier, String model, @@ -269,6 +269,6 @@ public class MappingsReader_v2 extends MappingsReader { @Override public CustomBlockMapping readBlockMappingEntry(String identifier, JsonNode node) throws InvalidCustomMappingsFileException { - return null; // TODO + throw new InvalidCustomMappingsFileException("Unimplemented; use the v1 format of block mappings"); } }