161 Commits

Author SHA1 Message Date
2b9bf1987b
refactor: minor improvements 2025-02-25 18:07:01 -05:00
5691afaf2d
fix(lib/inventory): use client.container 2025-02-24 22:20:07 -05:00
d7f863b680
feat: add set_health event 2025-02-24 18:27:50 -05:00
247612fad0
refactor: use a RwLock for event listeners 2025-02-24 16:56:10 -05:00
36054ced03
refactor: random cleanups and efficiency improvements 2025-02-24 01:31:51 -05:00
2ea7ec9e7e
fix(events): manipulate listeners in a task to avoid deadlocks 2025-02-23 17:18:55 -05:00
168ac1bb46
feat: switch to luajit for more features 2025-02-23 15:32:34 -05:00
b1dbfa6110
feat: add file logging via LOG_FILE environment variable 2025-02-23 15:20:15 -05:00
6e75c4e586
refactor(player): pass gamemode as u8 2025-02-23 02:49:09 -05:00
85cb2702f4
refactor: allow too many lines on handle_event 2025-02-23 02:20:28 -05:00
c959e14f80
feat: add set_passengers event 2025-02-23 02:00:05 -05:00
70ed508b0a
perf: switch to luau-jit 2025-02-22 18:57:41 -05:00
164ccd3a7f
refactor: only capitalize initial for globals 2025-02-22 16:44:24 -05:00
4e64bc6ac4
feat(client): pass entity pose in find_entities 2025-02-22 15:34:10 -05:00
3a93bb9e33
feat(client): pass entity direction in find_entities 2025-02-22 15:24:36 -05:00
550aee5578
refactor(lib): pass options from goto_player 2025-02-22 14:51:48 -05:00
3236c4c32e
feat(client): add set_position method 2025-02-22 14:51:48 -05:00
aaad1fe78a
refactor: utils -> system 2025-02-22 14:03:04 -05:00
9b9ccfd2b9
chore(cargo): update dependencies 2025-02-22 12:53:00 -05:00
9b586e9b47
feat: add system command utils 2025-02-22 12:53:00 -05:00
b7a5ae03f6
refactor(lib): print client position on death 2025-02-22 00:29:13 -05:00
3fc917efae
feat: expose command sender to code from in-game 2025-02-22 00:29:13 -05:00
aadc9a919e
chore: merge branch v0.2.0 into main 2025-02-21 23:18:30 -05:00
6fa586829c
fix: exit on server disconnect
azalea currently seems to just block forever.
2025-02-21 23:15:41 -05:00
70c1a83eb2
feat(client): bring a few commands from v0.1.0 2025-02-21 23:04:52 -05:00
08b9fbbc1e
chore: add basic readme 2025-02-21 22:33:57 -05:00
a4606e68e4
feat(client): add dimension field 2025-02-21 22:20:51 -05:00
ea7a370715
refactor: impl From for Vec3 2025-02-21 22:20:51 -05:00
6f0f3938a7
feat: add last few wrapped events 2025-02-21 22:20:51 -05:00
2f9e4f50cf
refactor: convert to Player struct 2025-02-21 21:52:05 -05:00
bd6698c4b4
feat: add event listeners 2025-02-21 21:52:04 -05:00
c2da997b71
refactor: a few small efficiency improvements 2025-02-21 21:29:20 -05:00
aa27d9fd36
feat(lib): add distance function 2025-02-18 23:08:22 -05:00
324cb2d6d8
refactor(client): make more methods async 2025-02-18 23:08:22 -05:00
75d4a9c183
refactor(client): simplify usage with deref 2025-02-18 23:08:22 -05:00
93a2dda8c6
feat: accept more lua types for Vec3 and Direction 2025-02-18 23:08:22 -05:00
0303244897
refactor: remove redundant lua type wrappers 2025-02-18 23:08:21 -05:00
2cba4d797f
fix(client): split long replies into multiple chunks 2025-02-18 23:08:21 -05:00
dde489a8ed
refactor: random fixes and usage improvements 2025-02-17 22:52:33 -05:00
8f2fbf11da
feat(client): add last few fields and methods 2025-02-17 15:50:41 -05:00
21cc1a5488
feat(client): add inventory manipulation wrappers 2025-02-17 15:50:41 -05:00
2373d6500e
refactor: rename a few things 2025-02-17 12:00:46 -05:00
93348835ac
chore(lua): add basic functions 2025-02-17 01:25:34 -05:00
fc5ff582c6
fix(client): clone client in async mut functions 2025-02-17 01:04:28 -05:00
8547ea04ab
refactor(client): move fields into modules 2025-02-16 22:51:50 -05:00
c65682d273
feat(client): add pathfinder field 2025-02-16 22:27:58 -05:00
54c6b8c88f
refactor(client/movement): wrap common pathfinder goals 2025-02-16 22:23:25 -05:00
d6abd3fd06
feat(client): add looking_at field 2025-02-16 22:09:39 -05:00
083dd7f707
feat(client): add mining methods 2025-02-16 22:06:32 -05:00
04b0bdd756
feat(client): add world interaction methods 2025-02-16 22:06:32 -05:00