Commit graph

345 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
8962042627 complete the rename of voxelengine to voxelcore 2026-10-10 10:54:36 +03:00
MihailRis
e8a83423d8 fix outdated doc/*/scripting/builtins/libgfx-skeletons.md
Some checks failed
x86-64 AppImage / build-appimage (ubuntu-22.04) (push) Has been cancelled
Build / Build (push) Has been cancelled
Macos Build / build-dmg (push) Has been cancelled
Windows Build (CLang) / build-windows (clang, windows-latest) (push) Has been cancelled
MSVC Build / build-windows (windows-2022) (push) Has been cancelled
2026-10-09 00:09:48 +03:00
MihailRis
446b6edd03 update doc/*/scripting/ecs.md 2026-10-05 21:57:16 +03:00
MihailRis
2f2da3b56a update doс/*/scripting/builtins/libfile.md 2026-09-20 17:45:41 +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
71368836c8 update doc/*/scripting/builtins/libgui.md 2026-09-17 22:12:11 +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
f130be4c42 update doc/*/scripting/ecs.md 2026-09-16 23:43:24 +03:00
MihailRis
38da5c89f5 fix 2026-09-14 20:07:34 +03:00
MihailRis
817092fef4 update doc/*/scripting/builtins/libnetwork.md 2026-09-14 20:06:09 +03:00
MihailRis
8c37d0860c update doc/*/scripting/builtins/libassets.md 2026-09-08 19:42:09 +03:00
MihailRis
eca7eeadee Merge branch 'main' into animation 2026-09-06 20:11:24 +03:00
Xertis
97fdd61274
Update libnetwork.md 2026-09-04 12:18:17 +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
fb20db047d update doc/*/scripting/builtins/libapp.md 2026-09-03 22:31:28 +03:00
Xertis
9dacf7038f Implementation of socket:peek 2026-09-03 19:32:49 +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
c759e02ceb fix typos in docs and dev test script 2026-08-29 19:46:50 +03:00
MihailRis
05fc09a244 Merge branch 'main' into animation 2026-08-26 12:30:31 +03:00
MihailRis
03f045a709 update doc/*/scripting/extensions.md 2026-08-25 23:20:11 +03:00
MihailRis
ab3c1e1b0c Merge branch 'main' into animation 2026-08-23 12:39:46 +03:00
MihailRis
b768730067 update doc/*/scripting/ecs.md 2026-08-23 12:14:35 +03:00
dagger
5391be4b8a update crypto docs 2026-08-22 17:47:59 +07:00
dagger
a23c4d4159 add crypto library 2026-08-22 15:22:55 +07:00
MihailRis
d20e9fcb40 Merge branch 'main' into animation 2026-08-22 00:36:25 +03:00
MihailRis
2c6cffcf19
Merge pull request #940 from MihailRis/fix-assets-pipeline
update assets pipeline (moving to animation branch)
2026-08-22 00:35:47 +03:00
MihailRis
4b234eb661 update doc/en/scripting/builtins/libapp.md 2026-08-21 22:12:38 +03:00
MihailRis
aac9b850c1 update doc/*/scripting/builtins/libapp.md 2026-08-21 21:54:50 +03:00
MihailRis
c2be0c2eeb update doc/*/scripting/ecs.md 2026-08-19 20:56:41 +03:00
MihailRis
1186011dcf Merge branch 'main' into animation 2026-08-18 23:37:27 +03:00
neveix
dfcc3e913d add precise_utc_time function 2026-08-18 21:57:51 +05:00
neveix
305dab7ead remove duplicated 2026-08-15 14:58:09 +05:00
neveix
22b70b701e add quaternion mul* docs 2026-08-15 14:01:46 +05:00
MihailRis
49e7f2c631 Merge branch 'main' into animation 2026-08-14 19:46:37 +03:00
neveix
6a486af6ab add docs for get_exchange_inventory 2026-08-14 01:46:35 +05:00
MihailRis
fe69d31f97 feat: it's not breaking change if it never worked 2026-08-11 22:38:12 +03:00
MihailRis
219d9e5ea4 update doc/*/scripting/events.md 2026-08-11 17:25:02 +03:00
MihailRis
83e7f1d5f5 Merge branch 'main' into animation 2026-08-09 16:50:42 +03:00
MihailRis
c445f1a68f fix zIndex type in docs 2026-08-06 18:20:53 +03:00
MihailRis
282c9b3de2 Merge branch 'main' into animation 2026-08-04 23:39:49 +03:00
MihailRis
4a381ec2f4 add ctypes docs (minimal) 2026-08-04 20:24:58 +03:00
MihailRis
40f8fc620d
Merge pull request #899 from MihailRis/app-new-instance
engine sub-instance spawn function
2026-08-02 19:07:49 +03:00
MihailRis
4d010e8320 fix doc/en/scripting/builtins/libapp.md formatting 2026-08-02 18:36:12 +03:00
MihailRis
6bbc78098d add app.is_instance_alive & rename app.terminate to app.terminate_instance 2026-08-02 18:32:54 +03:00
MihailRis
466f515ea9 update doc/*/scripting/builtins/libapp.md 2026-08-02 18:27:19 +03:00