Commit graph

40 commits

Author SHA1 Message Date
AwesomestCode
b39dc5b980
Add cursor (#93)
* Add cursor

Co-authored-by: Karang <karang.1977472@users.noreply.github.com>

* add canDig check

* Hide when not valid block

Co-authored-by: Karang <karang.1977472@users.noreply.github.com>
2021-03-15 01:20:58 +01:00
Romain Beaumont
19a2da8fa8 put crosshair in webcomponent 2021-03-14 20:48:01 +00:00
Romain Beaumont
cc1a14ea4b
move chat to web component (#91) 2021-03-14 20:34:35 +01:00
Romain Beaumont
f0294abf9e
fix digit button for hotbar 2021-03-14 19:49:49 +01:00
Romain Beaumont
77fa0ee0cd
move hotbar to web component (#89) 2021-03-14 19:33:41 +01:00
Romain Beaumont
4efff81a6a
move loading screen to component (#86) 2021-03-14 18:24:09 +01:00
u9g
0d0cda3e17
check hand for item before dropping (#83)
prevents spam promise rejection in console when pressing q with empty hand
2021-03-14 12:23:24 +01:00
Romain Beaumont
f04b085183
replace prompt by menu (#75)
* replace prompt by menu

implemented with lit element
https://lit-element.polymer-project.org/

I think we should use more of lit element for
all html things

makes it easy to build modular things

* use require
2021-03-14 02:20:11 +01:00
u9g
b7ed63623a
Remove debug messages (#72) 2021-03-14 00:11:37 +01:00
Karang
09807e9ee6 Improve place block and add hotbar wheel selection 2021-03-13 13:51:13 +01:00
Karang
f2c1e4fa2a Fix invisible entities 2021-03-13 04:35:11 +01:00
Romain Beaumont
a49404238c increase all timeouts 2021-03-13 01:51:45 +00:00
Romain Beaumont
0a861190a0 fixed lint 2021-03-13 01:40:56 +00:00
Romain Beaumont
bfec4ad351
increase default timeout to 2min 2021-03-13 02:35:07 +01:00
Romain Beaumont
59c4c490a3
add printing of end reason 2021-03-13 02:27:03 +01:00
Romain Beaumont
11a0e50d02 fix vec3 import 2021-03-13 01:19:07 +00:00
Romain Beaumont
ea6d5256e0 expose more things 2021-03-13 00:14:17 +00:00
Romain Beaumont
a836496e31
Expose bot variable 2021-03-13 00:35:16 +01:00
Romain Beaumont
45b5afc0bb persist username to localstorage 2021-03-07 23:37:27 +00:00
Karang
b0b144e49c Fix test 2021-03-08 00:15:33 +01:00
Karang
8cd2b5ddf7 Fix item versions 2021-03-08 00:10:37 +01:00
AwesomestCode
01c1cabdef
Feature: Hotbar (#42)
* Add Rendering Hotbar

* Load hotbar on login

* Add live hotbar changes

* Add selecting slot

* Add dropping

* fix lint

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2021-03-07 22:49:49 +01:00
Karang
eace2c97cc
Add resize of webgl canvas (#65) 2021-03-07 22:41:29 +01:00
Romain Beaumont
de22f91b1e remove not working forced full screen and print errors properly 2021-03-07 18:32:41 +00:00
Karang
357ab35eef Add config.json 2021-03-04 04:02:30 +01:00
Karang
edf12cea69
Add custom proxy selection (#53)
* Add custom proxy selection

* Remove request dependency

* Remove duplicate font
2021-03-04 01:39:21 +01:00
AwesomestCode
49a347b9fa
Feature: loading screen (#26)
* add broken loading screen

* Add loading screen

Add image & change webpack for easier testing

* more loading script stuff

* not really working kick detector

* last ditch attempt

* lint
2021-03-02 21:44:42 +01:00
Karang
776f1ab772 Fix moving in chat, fix breaking snapping view 2021-03-02 05:07:12 +01:00
Romain Beaumont
0ab855c9db fix default name 2021-03-02 00:00:57 +00:00
Karang
0d46059346
Update pviewer, no space in username (#32) 2021-03-02 00:44:41 +01:00
Romain Beaumont
1d94b108f8 fix username 2021-03-01 23:43:08 +00:00
Romain Beaumont
141d6f69fb
explicitly put '' by default for the password 2021-03-01 23:49:31 +01:00
Romain Beaumont
f06255475d
make default name random 2021-03-01 23:37:04 +01:00
ShrimpyStuff
3471c284e7
Update index.js (#25) 2021-03-01 19:50:56 +01:00
ElCholoGamer
6cc708775e
Create key codes object and replace body-parser (#20)
* Add codes object to key listener

* use express.json instead of body-parser

* run fix script

* fix tab indentation to spaces
2021-03-01 09:41:12 +01:00
ShrimpyStuff
55fc31e7f0
Working Placing and not fully working breaking (#6)
* Working Placing and not fully working breaking

* Update index.js
2021-03-01 03:32:13 +01:00
AwesomestCode
fb1e579ee3
Add bounds to pitch (#12)
* Add bounds to pitch

* run linter
2021-02-28 20:02:22 +01:00
Romain Beaumont
8249a48646 add ugly chat box from https://github.com/AwesomestCode/mineflayer-web-test/branches 2021-02-27 23:18:58 +00:00
Romain Beaumont
d978f5c762 add code 2021-02-27 22:12:11 +00:00
Romain Beaumont
d186c09a0b Initial commit 2021-02-27 22:27:59 +01:00