Commit graph

1789 commits

Author SHA1 Message Date
ostermine
2a01cfc5b1 add can_be_placed block event
can_be_placed(x, y, z, playerid, rotation) is called before a player
places the block, after the built-in checks (replaceability, grounded,
entities). The block is placed only if the function returns true.
rotation is the rotation the block is going to be placed with, so
blocks like ladders can check the block they are attached to.

The event is not called for block.place / block.set.

Closes #909
2026-10-10 15:54:21 +03:00
MihailRis
f036979dc0
Merge pull request #1007 from Astazium/ui-fixes
ui fixes
2026-10-10 11:34:34 +03:00
MihailRis
cf35023adf fix 'mouse:' input prefix is not available 2026-10-06 12:53:50 +03:00
Astazium
5a0a1cf326 ui fixes 2026-09-30 20:43:43 +03:00
MihailRis
61af506f4c fix xml.tostring 2026-09-27 16:14:14 +03:00
MihailRis
4f1411b005 fix infinite recursion on moveInto used to move to descendant node 2026-09-26 19:51:08 +03:00
MihailRis
3de6d7f402 fix camera exponentially shaking 2026-09-24 12:35:53 +03:00
Astazium
2c3c217fef
Merge branch 'MihailRis:main' into main 2026-09-20 12:36:56 +03:00
MihailRis
507f32f1e5
Merge pull request #976 from MihailRis/screenshot-function
add gui.screenshot function
2026-09-18 00:43:29 +03:00
MihailRis
69edfc8c8a add 'frame' argument to gui.screenshot 2026-09-17 22:07:18 +03:00
MihailRis
5ae4c1b27b add gui.screenshot 2026-09-17 21:58:38 +03:00
MihailRis
ef4bd4f594
Merge pull request #941 from boolean-false/crypto-library
Crypto library
2026-09-17 20:41:32 +03:00
MihailRis
3e2f311e67 update methods schemes 2026-09-16 23:47:25 +03:00
MihailRis
ad22763a1f add new skeleton:get_color, skeleton:set_color overloads 2026-09-16 23:40:41 +03:00
MihailRis
ae082abaa2 feat: allow passing rgba color to entity skeletons and block wraps 2026-09-16 23:28:03 +03:00
Astazium
23cc72dde4 rename macros parameter 2026-09-16 22:03:15 +03:00
MihailRis
dad67db835 feat: Bytearray request body support 2026-09-14 19:51:05 +03:00
MihailRis
762634ea04 add verify_ssl parameter 2026-09-14 19:44:41 +03:00
MihailRis
ef3a5cf278 feat: http response as table 2026-09-14 12:41:12 +03:00
MihailRis
432687c6ab cleanup request 2026-09-13 17:55:12 +03:00
MihailRis
58c974a3a1 add HttpResponse 2026-09-13 16:16:59 +03:00
MihailRis
fc877f09cb add 'timeout_ms' to network.request 2026-09-11 21:19:13 +03:00
MihailRis
946728e54e fix 2026-09-10 20:38:50 +03:00
MihailRis
9226f362a7 cleanup network.* functions 2026-09-10 20:01:00 +03:00
MihailRis
1c7bf2de01 add network.request 2026-09-09 23:53:03 +03:00
MihailRis
74bb695807 cleanup http requests (part 1) 2026-09-09 23:43:44 +03:00
Astazium
469edd1e9d
Merge branch 'MihailRis:main' into main 2026-09-09 21:50:10 +03:00
MihailRis
86d2e6a614 add assets.parse_animation 2026-09-08 19:38:25 +03:00
Astazium
879987486e
Merge branch 'MihailRis:main' into main 2026-09-04 15:38:36 +03:00
MihailRis
856f678315 Merge branch 'main' into animation 2026-09-04 00:13:23 +03:00
MihailRis
968528c706
Merge pull request #964 from Xertis/main
Implementation of socket:peek
2026-09-04 00:09:56 +03:00
MihailRis
c2a77509f7
Merge pull request #965 from MihailRis/update-headless-sub-instances
add project arguments table passing in app.start_background_instance
2026-09-03 22:58:48 +03:00
MihailRis
2060f3f153 add project arguments table passing in app.start_background_instance 2026-09-03 22:25:58 +03:00
MihailRis
8422349e45 fix loaded tracks cache does not reset on assets reset 2026-09-03 21:44:14 +03:00
MihailRis
4370eedc0a fix rig:set_matrix for nil index 2026-09-03 20:28:08 +03:00
Astazium
acb1f084f7
Merge branch 'MihailRis:main' into main 2026-09-03 19:58:23 +03:00
Xertis
9dacf7038f Implementation of socket:peek 2026-09-03 19:32:49 +03:00
MihailRis
507ff7ac93 fix stack overflow error 2026-09-02 00:11:45 +03:00
MihailRis
6c568e6706 cleanup internal functions 2026-09-01 23:32:44 +03:00
MihailRis
39a3c1201f add animation.action 2026-09-01 23:01:47 +03:00
dagger
c83a73102e add input.get_mouse_scroll() 2026-09-01 20:11:31 +07:00
MihailRis
8c1d8bd794 Merge branch 'main' into animation 2026-08-30 20:13:38 +03:00
zaveshaa
515e27b402 fix typos in comments and log messages 2026-08-29 19:47:01 +03:00
Astazium
533a27c04b
Merge branch 'MihailRis:main' into main 2026-08-29 14:40:20 +03:00
MihailRis
99bcefaed0 fix xml.tostring 2026-08-26 20:18:34 +03:00
MihailRis
95b9b346ac fix heightmap noise multiplier argument 2026-08-26 17:29:16 +03:00
MihailRis
05fc09a244 Merge branch 'main' into animation 2026-08-26 12:30:31 +03:00
Astazium
a2c9e494d0
Merge branch 'MihailRis:main' into main 2026-08-26 00:05:39 +03:00
MihailRis
104c74e653 feat: animation track as asset (WIP) 2026-08-25 23:09:14 +03:00
MihailRis
ce068790c1 cleanup AssetsLoader a bit 2026-08-25 22:30:09 +03:00