diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/game/level/event/LevelEventType.java b/src/main/java/com/github/steveice10/mc/protocol/data/game/level/event/LevelEventType.java index 1971208f..f68067d1 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/data/game/level/event/LevelEventType.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/game/level/event/LevelEventType.java @@ -10,10 +10,6 @@ public enum LevelEventType implements LevelEvent { BLOCK_DISPENSER_LAUNCH(1002), ENTITY_ENDEREYE_LAUNCH(1003), ENTITY_FIREWORK_SHOOT(1004), - BLOCK_IRON_DOOR_OPEN(1005), - BLOCK_WOODEN_DOOR_OPEN(1006), - BLOCK_WOODEN_TRAPDOOR_OPEN(1007), - BLOCK_FENCE_GATE_OPEN(1008), BLOCK_FIRE_EXTINGUISH(1009), RECORD(1010), STOP_RECORD(1011), // As of 1.19.4 @@ -38,8 +34,6 @@ public enum LevelEventType implements LevelEvent { BLOCK_CHORUS_FLOWER_GROW(1033), BLOCK_CHORUS_FLOWER_DEATH(1034), BLOCK_BREWING_STAND_BREW(1035), - BLOCK_IRON_TRAPDOOR_CLOSE(1036), - BLOCK_IRON_TRAPDOOR_OPEN(1037), BLOCK_END_PORTAL_SPAWN(1038), // Global level event ENTITY_PHANTOM_BITE(1039), ENTITY_ZOMBIE_CONVERTED_TO_DROWNED(1040), @@ -77,7 +71,9 @@ public enum LevelEventType implements LevelEvent { WAX_OFF(3004), SCRAPE(3005), SCULK_BLOCK_CHARGE(3006), - SCULK_SHRIEKER_SHRIEK(3007); + SCULK_SHRIEKER_SHRIEK(3007), + BRUSH_BLOCK_COMPLETE(3008), + EGG_CRACK(3009); private final int id; diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/clientbound/level/ClientboundLevelEventPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/clientbound/level/ClientboundLevelEventPacket.java index 55105e8b..bdf46fae 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/clientbound/level/ClientboundLevelEventPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/clientbound/level/ClientboundLevelEventPacket.java @@ -43,6 +43,7 @@ public class ClientboundLevelEventPacket implements MinecraftPacket { this.data = new SmokeEventData(Direction.from(Math.abs(value % 6))); break; case BREAK_BLOCK: + case BRUSH_BLOCK_COMPLETE: this.data = new BreakBlockEventData(value); break; case BREAK_SPLASH_POTION: