From 340be2d8a4221c4897d5380409967fa1aa87ab29 Mon Sep 17 00:00:00 2001 From: chris Date: Wed, 12 Jul 2023 19:21:29 +0200 Subject: [PATCH] fix observer mapping (#3970) --- .../geyser/registry/populator/BlockRegistryPopulator.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/org/geysermc/geyser/registry/populator/BlockRegistryPopulator.java b/core/src/main/java/org/geysermc/geyser/registry/populator/BlockRegistryPopulator.java index 0c4a156d6..8e30143e8 100644 --- a/core/src/main/java/org/geysermc/geyser/registry/populator/BlockRegistryPopulator.java +++ b/core/src/main/java/org/geysermc/geyser/registry/populator/BlockRegistryPopulator.java @@ -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;