Commit graph

731 commits

Author SHA1 Message Date
ostermine
e2c44a3f13 docs: replace em dash with hyphen in events.md 2026-10-11 21:11:07 +03:00
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
cdc32173c3 update doc/*/xml-ui-layouts.md 2026-10-05 22:26:04 +03:00
MihailRis
446b6edd03 update doc/*/scripting/ecs.md 2026-10-05 21:57:16 +03:00
MihailRis
5b1f0661cc Merge branch 'main' into release-0.32 2026-09-26 22:35:33 +03:00
MihailRis
926bfc545d update doc/*/vca.md 2026-09-26 00:03:03 +03:00
MihailRis
60f74ae54a update doc/*/vcm.md 2026-09-25 20:39:22 +03:00
MihailRis
64e458d7af Merge branch 'main' into release-0.32 2026-09-24 18:12:25 +03:00
MihailRis
325db431bd update doc/*/vca.md 2026-09-23 22:36:09 +03:00
MihailRis
5c5d1dbd8b Merge branch 'main' into release-0.32 2026-09-20 18:54:16 +03:00
MihailRis
68f1524eb9 update README.md, doc/*/main-page.md to 0.32 2026-09-20 17:57:29 +03:00
MihailRis
f2168717bc add doc/en/vca.md 2026-09-20 17:55:53 +03:00
MihailRis
2f2da3b56a update doс/*/scripting/builtins/libfile.md 2026-09-20 17:45:41 +03:00
MihailRis
31c227152b
Merge pull request #971 from MihailRis/new-animation-features
new animation features
2026-09-19 22:28:12 +03:00
MihailRis
600730d57e update doc/*/entity-properties.md 2026-09-19 18:55:20 +03:00
MihailRis
cd015f7a07 Merge branch 'main' into new-animation-features 2026-09-18 00:43: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
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
d40070abab Merge branch 'main' into new-animation-features 2026-09-17 00:14:03 +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
9f40303661 Merge branch 'main' into new-animation-features 2026-09-15 21:04:28 +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
456d1c7b38 update doc/ru/vca.md 2026-09-10 19:27:35 +03:00
MihailRis
69bbe402e4 update doc/*/assets-preload.md 2026-09-08 21:10:47 +03:00
MihailRis
bd9f3d86ca add initial animation docs (test) 2026-09-08 21:08:28 +03:00
MihailRis
3a188cd151 fix doc/ru/vca.md 2026-09-08 20:48:32 +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
MihailRis
c61b13cb63
Merge pull request #969 from MihailRis/add-normal-to-rect-in-vcm
Add normal to 'rect' and 'tri' primitives in vcm
2026-09-06 20:09:55 +03:00
MihailRis
03ccd61fb0 update doc/*/vcm.md 2026-09-06 19:43:38 +03:00
MihailRis
b180a29bb5 add vca docs 2026-09-06 17:01:09 +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
872b18fbe6 update debugging_protocol.md 2026-08-31 22:39:40 +03: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
96ea92d4ba update doc/*/world-generation.md 2026-08-24 19:24:09 +03:00
MihailRis
ab3c1e1b0c Merge branch 'main' into animation 2026-08-23 12:39:46 +03:00