Skip to content

Commit 9c02f36

Browse files
committed
Use texturePack gui
1 parent f1df18a commit 9c02f36

File tree

7 files changed

+5
-10
lines changed

7 files changed

+5
-10
lines changed

src/client/assets/assetLoader.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111
"path":"/assets/blocks/blocks-Mapping.json",
1212
"type":"text"
1313
},
14-
"skybox":{
15-
"path":"/assets/images/skybox.jpg",
16-
"type":"texture"
17-
},
1814
"blocksTex":{
1915
"path":"/assets/blocks.json",
2016
"type":"text"

src/client/assets/gui/icons.png

-7.73 KB
Binary file not shown.
-2.26 KB
Binary file not shown.

src/client/assets/gui/widgets.png

-15.1 KB
Binary file not shown.
-4.85 KB
Binary file not shown.

src/client/styles/style.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ body { margin: 0; background:black;}
159159
width:500px;
160160
height:60px;;
161161
transform: translateX(-50%);
162-
background-image: url("../assets/gui/widgets.png");
162+
background-image: url("../../assets/pack/assets/minecraft/textures/gui/widgets.png");
163163
background-repeat: no-repeat;
164164
border:0px;
165165
background-position: 0px 0px;
@@ -182,7 +182,7 @@ body { margin: 0; background:black;}
182182
width:var(--box);
183183
height:var(--box);
184184
margin-right:-4px;
185-
background-image: url("../assets/gui/icons.png"),url("../assets/gui/icons.png");
185+
background-image: url("../../assets/pack/assets/minecraft/textures/gui/icons.png"),url("../../assets/pack/assets/minecraft/textures/gui/icons.png");
186186
background-repeat: no-repeat,no-repeat;
187187
background-size: 640px auto,640px auto;
188188
display:inline-block;
@@ -213,7 +213,7 @@ body { margin: 0; background:black;}
213213
left:calc(50vw - 250px);
214214
width:500px;
215215
height:14px;
216-
background-image: url("../assets/gui/icons.png");
216+
background-image: url("../../assets/pack/assets/minecraft/textures/gui/icons.png");
217217
background-repeat: no-repeat;
218218
border:0px;
219219
background-size: 703px auto;
@@ -235,7 +235,7 @@ body { margin: 0; background:black;}
235235
}
236236
.inv_window{
237237
z-index:10;
238-
background-image: url("../assets/gui/inventory.png");
238+
background-image: url("../../assets/pack/assets/minecraft/textures/gui/container/inventory.png");
239239
background-repeat: no-repeat;
240240
background-size: 750px auto;
241241
position:fixed;
@@ -269,7 +269,7 @@ body { margin: 0; background:black;}
269269
margin-right:-1px;
270270
}
271271
.inv_cursor{
272-
background-image: url("../assets/gui/widgets.png");
272+
background-image: url("../../assets/pack/assets/minecraft/textures/gui/widgets.png");
273273
background-repeat: no-repeat;
274274
border:0px;
275275
background-position: 0px -61px;

src/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ server.listen(port, function () {
3939
var botByNick = {};
4040
io.sockets.on("connection", function (socket) {
4141
var query = socket.handshake.query;
42-
console.log(query);
4342
console.log(`[\x1b[32m+\x1b[0m] ${query.nick}`);
4443
var heldItem = null;
4544
var bot = mineflayer.createBot({

0 commit comments

Comments
 (0)