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