declare namespace org {
    namespace bukkit {
        namespace event {
            namespace entity {
                namespace EntityTargetEvent {
                    // @ts-ignore
                     class TargetReason {
                        public static TARGET_DIED: org.bukkit.event.entity.EntityTargetEvent.TargetReason;
                        public static CLOSEST_PLAYER: org.bukkit.event.entity.EntityTargetEvent.TargetReason;
                        public static TARGET_ATTACKED_ENTITY: org.bukkit.event.entity.EntityTargetEvent.TargetReason;
                        public static PIG_ZOMBIE_TARGET: org.bukkit.event.entity.EntityTargetEvent.TargetReason;
                        public static FORGOT_TARGET: org.bukkit.event.entity.EntityTargetEvent.TargetReason;
                        public static TARGET_ATTACKED_OWNER: org.bukkit.event.entity.EntityTargetEvent.TargetReason;
                        public static OWNER_ATTACKED_TARGET: org.bukkit.event.entity.EntityTargetEvent.TargetReason;
                        public static RANDOM_TARGET: org.bukkit.event.entity.EntityTargetEvent.TargetReason;
                        public static DEFEND_VILLAGE: org.bukkit.event.entity.EntityTargetEvent.TargetReason;
                        public static TARGET_ATTACKED_NEARBY_ENTITY: org.bukkit.event.entity.EntityTargetEvent.TargetReason;
                        public static REINFORCEMENT_TARGET: org.bukkit.event.entity.EntityTargetEvent.TargetReason;
                        public static COLLISION: org.bukkit.event.entity.EntityTargetEvent.TargetReason;
                        public static CUSTOM: org.bukkit.event.entity.EntityTargetEvent.TargetReason;
                        public static CLOSEST_ENTITY: org.bukkit.event.entity.EntityTargetEvent.TargetReason;
                        public static FOLLOW_LEADER: org.bukkit.event.entity.EntityTargetEvent.TargetReason;
                        public static TEMPT: org.bukkit.event.entity.EntityTargetEvent.TargetReason;
                        public static UNKNOWN: org.bukkit.event.entity.EntityTargetEvent.TargetReason;
                        public static values(): org.bukkit.event.entity.EntityTargetEvent.TargetReason[];
                        public static valueOf(name: string): org.bukkit.event.entity.EntityTargetEvent.TargetReason;
                    }
                }
            }
        }
    }
}
