From b691c43c44ff180d10e7d4a9afc83b98551ff586 Mon Sep 17 00:00:00 2001 From: daoge_cmd <3523206925@qq.com> Date: Sun, 1 Mar 2026 12:16:08 +0800 Subject: Initial commit --- Minecraft.World/LevelEvent.h | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Minecraft.World/LevelEvent.h (limited to 'Minecraft.World/LevelEvent.h') diff --git a/Minecraft.World/LevelEvent.h b/Minecraft.World/LevelEvent.h new file mode 100644 index 00000000..c78c3569 --- /dev/null +++ b/Minecraft.World/LevelEvent.h @@ -0,0 +1,41 @@ +#pragma once + +// 4J - brought forward new sound events from 1.2.3 +class LevelEvent +{ +public: + static const int SOUND_CLICK = 1000; + static const int SOUND_CLICK_FAIL = 1001; + static const int SOUND_LAUNCH = 1002; + static const int SOUND_OPEN_DOOR = 1003; + static const int SOUND_FIZZ = 1004; + static const int SOUND_PLAY_RECORDING = 1005; + + static const int SOUND_GHAST_WARNING = 1007; + static const int SOUND_GHAST_FIREBALL = 1008; + static const int SOUND_BLAZE_FIREBALL = 1009; + + static const int SOUND_ZOMBIE_WOODEN_DOOR = 1010; + static const int SOUND_ZOMBIE_IRON_DOOR = 1011; + static const int SOUND_ZOMBIE_DOOR_CRASH = 1012; + static const int SOUND_WITHER_BOSS_SPAWN = 1013; + static const int SOUND_WITHER_BOSS_SHOOT = 1014; + static const int SOUND_BAT_LIFTOFF = 1015; + static const int SOUND_ZOMBIE_INFECTED = 1016; + static const int SOUND_ZOMBIE_CONVERTED = 1017; + static const int SOUND_DRAGON_DEATH = 1018; + + static const int SOUND_ANVIL_BROKEN = 1020; + static const int SOUND_ANVIL_USED = 1021; + static const int SOUND_ANVIL_LAND = 1022; + + static const int PARTICLES_SHOOT = 2000; + static const int PARTICLES_DESTROY_BLOCK = 2001; + static const int PARTICLES_POTION_SPLASH = 2002; + static const int PARTICLES_EYE_OF_ENDER_DEATH = 2003; + static const int PARTICLES_MOBTILE_SPAWN = 2004; + + //static const int ENDERDRAGON_KILLED = 9000; // 4J Added to signal the the enderdragon was killed + static const int ENDERDRAGON_FIREBALL_SPLASH = 9001; + static const int END_EGG_TELEPORT = 9002; +}; \ No newline at end of file -- cgit v1.2.3