declare namespace org {
    namespace bukkit {
        namespace event {
            namespace entity {
                namespace CreatureSpawnEvent {
                    // @ts-ignore
                     class SpawnReason {
                        public static NATURAL: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static JOCKEY: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static CHUNK_GEN: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static SPAWNER: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static EGG: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static SPAWNER_EGG: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static LIGHTNING: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static BUILD_SNOWMAN: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static BUILD_IRONGOLEM: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static BUILD_WITHER: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static VILLAGE_DEFENSE: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static VILLAGE_INVASION: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static BREEDING: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static SLIME_SPLIT: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static REINFORCEMENTS: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static NETHER_PORTAL: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static DISPENSE_EGG: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static INFECTION: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static CURED: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static OCELOT_BABY: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static SILVERFISH_BLOCK: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static MOUNT: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static TRAP: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static ENDER_PEARL: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static SHOULDER_ENTITY: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static DROWNED: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static SHEARED: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static EXPLOSION: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static CUSTOM: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static DEFAULT: org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                        public static values(): org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason[];
                        public static valueOf(name: string): org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason;
                    }
                }
            }
        }
    }
}
