Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 08:30:12 +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")) {
|
if (bedrockIdentifier.equals("minecraft:observer")) {
|
||||||
int direction = (int) statesBuilder.remove("facing_direction");
|
int direction = (int) statesBuilder.remove("facing_direction");
|
||||||
statesBuilder.putString("minecraft:facing_direction", switch (direction) {
|
statesBuilder.putString("minecraft:facing_direction", switch (direction) {
|
||||||
case 0 -> "east";
|
case 0 -> "down";
|
||||||
case 1 -> "south";
|
case 1 -> "up";
|
||||||
case 2 -> "north";
|
case 2 -> "north";
|
||||||
default -> "west";
|
case 3 -> "south";
|
||||||
|
case 4 -> "west";
|
||||||
|
default -> "east";
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren