Should fix some crafting errors

This commit is contained in:
Camotoy 2023-04-25 13:29:05 -04:00
parent 214d3d241d
commit 49aa9468a0
No known key found for this signature in database
GPG Key ID: 7EEFB66FE798081F
2 changed files with 2 additions and 4 deletions

View File

@ -137,7 +137,7 @@ public final class BlockRegistryPopulator {
}
GeyserBedrockBlock block = new GeyserBedrockBlock(i, tag);
blockStateOrderedMap.put(tag, block);
//bedrockRuntimeMap[i] = block; //TODO UNCOMMENT IF SOMETHING IS WRONG IN THE CREATIVE PALETTE
bedrockRuntimeMap[i] = block;
if (stateVersion == -1) {
stateVersion = tag.getInt("version");
}
@ -200,8 +200,6 @@ public final class BlockRegistryPopulator {
javaToBedrockBlocks[javaRuntimeId] = bedrockDefinition;
}
Arrays.stream(javaToBedrockBlocks).distinct().forEach(block -> bedrockRuntimeMap[block.getRuntimeId()] = block);
if (commandBlockDefinition == null) {
throw new AssertionError("Unable to find command block in palette");
}

View File

@ -112,7 +112,7 @@ public class MessageTranslator {
formats.add(CharacterAndFormat.characterAndFormat('g', TextColor.color(221, 214, 5))); // Minecoin Gold
// Add the new characters implemented in 1.19.80
formats.add(CharacterAndFormat.characterAndFormat('h', TextColor.color(227, 212, 209))); // Quartz
formats.add(CharacterAndFormat.characterAndFormat('i', TextColor.color(206, 212, 202))); // Iron
formats.add(CharacterAndFormat.characterAndFormat('i', TextColor.color(206, 202, 202))); // Iron
formats.add(CharacterAndFormat.characterAndFormat('j', TextColor.color(68, 58, 59))); // Netherite
formats.add(CharacterAndFormat.characterAndFormat('m', TextColor.color(151, 22, 7))); // Redstone
formats.add(CharacterAndFormat.characterAndFormat('n', TextColor.color(180, 104, 77))); // Copper