Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-20 06:50:09 +01:00
Should fix some crafting errors
Dieser Commit ist enthalten in:
Ursprung
214d3d241d
Commit
49aa9468a0
@ -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
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren