mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Should fix some crafting errors
This commit is contained in:
parent
214d3d241d
commit
49aa9468a0
2 changed files with 2 additions and 4 deletions
|
@ -137,7 +137,7 @@ public final class BlockRegistryPopulator {
|
||||||
}
|
}
|
||||||
GeyserBedrockBlock block = new GeyserBedrockBlock(i, tag);
|
GeyserBedrockBlock block = new GeyserBedrockBlock(i, tag);
|
||||||
blockStateOrderedMap.put(tag, block);
|
blockStateOrderedMap.put(tag, block);
|
||||||
//bedrockRuntimeMap[i] = block; //TODO UNCOMMENT IF SOMETHING IS WRONG IN THE CREATIVE PALETTE
|
bedrockRuntimeMap[i] = block;
|
||||||
if (stateVersion == -1) {
|
if (stateVersion == -1) {
|
||||||
stateVersion = tag.getInt("version");
|
stateVersion = tag.getInt("version");
|
||||||
}
|
}
|
||||||
|
@ -200,8 +200,6 @@ public final class BlockRegistryPopulator {
|
||||||
javaToBedrockBlocks[javaRuntimeId] = bedrockDefinition;
|
javaToBedrockBlocks[javaRuntimeId] = bedrockDefinition;
|
||||||
}
|
}
|
||||||
|
|
||||||
Arrays.stream(javaToBedrockBlocks).distinct().forEach(block -> bedrockRuntimeMap[block.getRuntimeId()] = block);
|
|
||||||
|
|
||||||
if (commandBlockDefinition == null) {
|
if (commandBlockDefinition == null) {
|
||||||
throw new AssertionError("Unable to find command block in palette");
|
throw new AssertionError("Unable to find command block in palette");
|
||||||
}
|
}
|
||||||
|
|
|
@ -112,7 +112,7 @@ public class MessageTranslator {
|
||||||
formats.add(CharacterAndFormat.characterAndFormat('g', TextColor.color(221, 214, 5))); // Minecoin Gold
|
formats.add(CharacterAndFormat.characterAndFormat('g', TextColor.color(221, 214, 5))); // Minecoin Gold
|
||||||
// Add the new characters implemented in 1.19.80
|
// Add the new characters implemented in 1.19.80
|
||||||
formats.add(CharacterAndFormat.characterAndFormat('h', TextColor.color(227, 212, 209))); // Quartz
|
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('j', TextColor.color(68, 58, 59))); // Netherite
|
||||||
formats.add(CharacterAndFormat.characterAndFormat('m', TextColor.color(151, 22, 7))); // Redstone
|
formats.add(CharacterAndFormat.characterAndFormat('m', TextColor.color(151, 22, 7))); // Redstone
|
||||||
formats.add(CharacterAndFormat.characterAndFormat('n', TextColor.color(180, 104, 77))); // Copper
|
formats.add(CharacterAndFormat.characterAndFormat('n', TextColor.color(180, 104, 77))); // Copper
|
||||||
|
|
Loading…
Reference in a new issue