Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 00:00:41 +01:00
fix observer mapping (#3970)
Dieser Commit ist enthalten in:
Ursprung
3a0c1b788a
Commit
340be2d8a4
@ -89,10 +89,12 @@ public final class BlockRegistryPopulator {
|
||||
if (bedrockIdentifier.equals("minecraft:observer")) {
|
||||
int direction = (int) statesBuilder.remove("facing_direction");
|
||||
statesBuilder.putString("minecraft:facing_direction", switch (direction) {
|
||||
case 0 -> "east";
|
||||
case 1 -> "south";
|
||||
case 0 -> "down";
|
||||
case 1 -> "up";
|
||||
case 2 -> "north";
|
||||
default -> "west";
|
||||
case 3 -> "south";
|
||||
case 4 -> "west";
|
||||
default -> "east";
|
||||
});
|
||||
}
|
||||
return null;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren