1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
export interface CleanMemberProfile {
member: CleanMemberProfilePlayer
profile: CleanFullProfileBasicMembers
customization?: AccountCustomization
}
export interface CleanMemberProfilePlayer extends CleanPlayer {
profileName: string
first_join: number
last_save: number
bank?: Bank
purse?: number
stats?: StatItem[]
rawHypixelStats?: {
[key: string]: number
}
minions?: CleanMinion[]
fairy_souls?: FairySouls
inventories?: Inventories
objectives?: Objective[]
skills?: Skill[]
visited_zones?: Zone[]
collections?: Collection[]
slayers?: SlayerData
}
export interface CleanBasicPlayer {
uuid: string
username: string
}
export interface CleanPlayer extends CleanBasicPlayer {
rank: CleanRank
socials: CleanSocialMedia
profiles?: CleanBasicProfile[]
}
export interface StatItem {
rawName: string
value: number
categorizedName: string
category: string | null
unit: string | null
}
interface Item {
id: string
count: number
vanillaId: string
display: {
name: string
lore: string[]
glint: boolean
}
reforge?: string
anvil_uses?: number
timestamp?: string
enchantments?: {
[name: string]: number
}
head_texture?: string
}
export declare type Inventory = Item[]
export declare const INVENTORIES: {
armor: string
inventory: string
ender_chest: string
talisman_bag: string
potion_bag: string
fishing_bag: string
quiver: string
trick_or_treat_bag: string
wardrobe: string
}
export declare type Inventories = {
[name in keyof typeof INVENTORIES]: Item[]
}
export interface CleanUser {
player: CleanPlayer | null
profiles?: CleanProfile[]
activeProfile?: string
online?: boolean
customization?: AccountCustomization
}
export interface CleanProfile extends CleanBasicProfile {
members?: CleanBasicMember[]
}
/** A basic profile that only includes the profile uuid and name */
export interface CleanBasicProfile {
uuid: string
name?: string
}
export interface AccountCustomization {
backgroundUrl?: string
pack?: string
emoji?: string
}
export interface CleanMinion {
name: string
levels: boolean[]
}
export interface CleanProfile extends CleanBasicProfile {
members?: CleanBasicMember[]
}
export interface CleanFullProfile extends CleanProfile {
members: CleanMember[]
bank: Bank
minions: CleanMinion[]
minion_count: number
maxUniqueMinions: number
}
export interface CleanFullProfileBasicMembers extends CleanProfile {
members: CleanBasicMember[]
bank: Bank
minions: CleanMinion[]
minion_count: number
maxUniqueMinions: number
}
declare const COLLECTIONS: {
readonly farming: readonly ["wheat", "carrot", "potato", "pumpkin", "melon_slice", "wheat_seeds", "red_mushroom", "cocoa_beans", "cactus", "sugar_cane", "feather", "leather", "porkchop", "chicken", "mutton", "rabbit", "nether_wart"]
readonly mining: readonly ["cobblestone", "coal", "iron_ingot", "gold_ingot", "diamond", "lapis_lazuli", "emerald", "redstone", "quartz", "obsidian", "glowstone_dust", "gravel", "ice", "netherrack", "sand", "end_stone", "mithril_ore", "gemstone", "hard_stone"]
readonly combat: readonly ["rotten_flesh", "bone", "string", "spider_eye", "gunpowder", "ender_pearl", "ghast_tear", "slime_ball", "blaze_rod", "magma_cream"]
readonly foraging: readonly ["oak_log", "spruce_log", "birch_log", "jungle_log", "acacia_log", "dark_oak_log"]
readonly fishing: readonly ["cod", "salmon", "tropical_fish", "pufferfish", "prismarine_shard", "prismarine_crystals", "clay_ball", "lily_pad", "ink_sac", "sponge"]
readonly unknown: readonly []
}
declare type CollectionCategory = keyof typeof COLLECTIONS
export interface Collection {
name: string
xp: number
level: number
category: CollectionCategory
}
|