forked from Purityyy1/Eaglercraft-Java-1.20
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
166 lines (126 loc) · 8.16 KB
/
main.py
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
from tkinter import *
from time import sleep
root = Tk()
root.title('Eaglercraft 1.20')
root.geometry('800x600')
root.resizable(False, False)
def extract_png_asset(asset_name):
return PhotoImage(file='assets/' + asset_name + '.png')
a_normal_black_photo = extract_png_asset('font/normal-black/a')
b_normal_black_photo = extract_png_asset('font/normal-black/b')
c_normal_black_photo = extract_png_asset('font/normal-black/c')
d_normal_black_photo = extract_png_asset('font/normal-black/d')
e_normal_black_photo = extract_png_asset('font/normal-black/e')
f_normal_black_photo = extract_png_asset('font/normal-black/f')
g_normal_black_photo = extract_png_asset('font/normal-black/g')
h_normal_black_photo = extract_png_asset('font/normal-black/h')
i_normal_black_photo = extract_png_asset('font/normal-black/i')
j_normal_black_photo = extract_png_asset('font/normal-black/j')
k_normal_black_photo = extract_png_asset('font/normal-black/k')
l_normal_black_photo = extract_png_asset('font/normal-black/l')
m_normal_black_photo = extract_png_asset('font/normal-black/m')
n_normal_black_photo = extract_png_asset('font/normal-black/n')
o_normal_black_photo = extract_png_asset('font/normal-black/o')
p_normal_black_photo = extract_png_asset('font/normal-black/p')
q_normal_black_photo = extract_png_asset('font/normal-black/q')
r_normal_black_photo = extract_png_asset('font/normal-black/r')
s_normal_black_photo = extract_png_asset('font/normal-black/s')
t_normal_black_photo = extract_png_asset('font/normal-black/t')
u_normal_black_photo = extract_png_asset('font/normal-black/u')
v_normal_black_photo = extract_png_asset('font/normal-black/v')
w_normal_black_photo = extract_png_asset('font/normal-black/w')
x_normal_black_photo = extract_png_asset('font/normal-black/x')
y_normal_black_photo = extract_png_asset('font/normal-black/y')
z_normal_black_photo = extract_png_asset('font/normal-black/z')
a_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_a')
b_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_b')
c_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_c')
d_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_d')
e_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_e')
f_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_f')
g_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_g')
h_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_h')
i_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_i')
j_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_j')
k_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_k')
l_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_l')
m_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_m')
n_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_n')
o_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_o')
p_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_p')
q_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_q')
r_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_r')
s_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_s')
t_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_t')
u_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_u')
v_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_v')
w_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_w')
x_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_x')
y_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_y')
z_capital_normal_black_photo = extract_png_asset('font/normal-black/capital_z')
add_normal_black_photo = extract_png_asset('font/normal-black/add')
subtract_normal_black_photo = extract_png_asset('font/normal-black/subtract')
and_normal_black_photo = extract_png_asset('font/normal-black/and')
arrow_point_up_black_photo = extract_png_asset('font/normal-black/arrow_point_up')
arrow_left_black_photo = extract_png_asset('font/normal-black/arrow_left')
arrow_right_black_photo = extract_png_asset('font/normal-black/arrow_right')
at_normal_black_photo = extract_png_asset('font/normal-black/at')
backtick_normal_black_photo = extract_png_asset('font/normal-black/backtick')
backslash_normal_black_photo = extract_png_asset('font/normal-black/backslash')
frontslash_normal_black_photo = extract_png_asset('font/normal-black/frontslash')
colon_normal_black_photo = extract_png_asset('font/normal-black/colon')
semi_colon_normal_black_photo = extract_png_asset('font/normal-black/semi_colon')
period_normal_black_photo = extract_png_asset('font/normal-black/period')
comma_normal_black_photo = extract_png_asset('font/normal-black/comma')
percent_normal_black_photo = extract_png_asset('font/normal-black/percent')
copyright_normal_black_photo = extract_png_asset('font/normal-black/copyright')
money_normal_black_photo = extract_png_asset('font/normal-black/money')
UNKNOWN_normal_black_photo = extract_png_asset('font/normal-black/unknown_char')
pound_normal_black_photo = extract_png_asset('font/normal-black/pound')
underscore_normal_black_photo = extract_png_asset('font/normal-black/underscore')
straight_thing_normal_black_photo = extract_png_asset('font/normal-black/straight_thing')
single_quote_normal_black_photo = extract_png_asset('font/normal-black/single_quote')
double_quote_normal_black_photo = extract_png_asset('font/normal-black/double_quote')
weird_thing_normal_black_photo = extract_png_asset('font/normal-black/weird_thing')
worm_normal_black_photo = extract_png_asset('font/normal-black/worm')
exclamation_normal_black_photo = extract_png_asset('font/normal-black/exclamation')
question_normal_black_photo = extract_png_asset('font/normal-black/question')
equal_normal_black_photo = extract_png_asset('font/normal-black/equal')
star_normal_black_photo = extract_png_asset('font/normal-black/star')
left_p_normal_black_photo = extract_png_asset('font/normal-black/left_p')
right_p_normal_black_photo = extract_png_asset('font/normal-black/right_p')
left_b_normal_black_photo = extract_png_asset('font/normal-black/left_b')
right_b_normal_black_photo = extract_png_asset('font/normal-black/right_b')
left_b2_normal_black_photo = extract_png_asset('font/normal-black/left_b2')
right_b2_normal_black_photo = extract_png_asset('font/normal-black/right_b2')
zero_normal_black_photo = extract_png_asset('font/normal-black/0')
one_normal_black_photo = extract_png_asset('font/normal-black/1')
two_normal_black_photo = extract_png_asset('font/normal-black/2')
three_normal_black_photo = extract_png_asset('font/normal-black/3')
four_normal_black_photo = extract_png_asset('font/normal-black/4')
five_normal_black_photo = extract_png_asset('font/normal-black/5')
six_normal_black_photo = extract_png_asset('font/normal-black/6')
seven_normal_black_photo = extract_png_asset('font/normal-black/7')
eight_normal_black_photo = extract_png_asset('font/normal-black/8')
nine_normal_black_photo = extract_png_asset('font/normal-black/9')
titlescreen_top_photo = extract_png_asset('titlescreen_top')
login_photo = extract_png_asset('login')
download_terrian_photo = extract_png_asset('download_terrain')
original_server_photo = extract_png_asset('original_server')
titlescreen_bg_photo = extract_png_asset('titlescreen_bg')
timed_out_photo = extract_png_asset('timed_out')
back_2_titlescreen_photo = extract_png_asset('buttons/back_2_titlescreen')
cancel_photo = extract_png_asset('buttons/cancel')
done_photo = extract_png_asset('buttons/done')
multiplayer_photo = extract_png_asset('buttons/multiplayer')
new_world_photo = extract_png_asset('buttons/new_world')
options_photo = extract_png_asset('buttons/options')
realms_photo = extract_png_asset('buttons/realms')
singleplayer_photo = extract_png_asset('buttons/singleplayer')
entry_bar_photo = extract_png_asset('entry_bar')
login_label = Label(image=login_photo)
login_label.pack()
class EntryBar:
def __init__(self, x, y):
pass
root.mainloop()