voxelcore/doc/en
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
..
scripting add can_be_placed block event 2026-10-10 15:54:21 +03:00
3d-text.md update doc/*/3d-text.md 2026-07-26 17:54:29 +03:00
assets-preload.md update doc/*/assets-preload.md 2026-09-08 21:10:47 +03:00
audio.md update doc/*/audio.md 2025-11-07 23:05:50 +03:00
block-models.md fix typos in docs and dev test script 2026-08-29 19:46:50 +03:00
block-properties.md update doc/*/block-properties.md 2026-08-17 23:25:18 +03:00
console.md add console.get(...) & add 'player' console variable 2025-01-22 10:15:31 +03:00
content-packs.md update doc/*/content-packs.md 2026-08-07 22:50:54 +03:00
engine-use-recommendations.md add 'config' entry point, pack.shared_file(...) & refactor engine_paths.cpp 2024-10-04 22:40:05 +03:00
entity-properties.md update doc/*/entity-properties.md 2026-09-19 18:55:20 +03:00
item-properties.md document 'script-name' propertyfor items 2026-07-22 00:00:41 +03:00
main-page.md update README.md, doc/*/main-page.md to 0.32 2026-09-20 17:57:29 +03:00
particles.md fix particles docs 2026-07-16 23:37:08 +03:00
resources.md add doc/*/libgfx-posteffects.md 2025-07-10 18:47:28 +03:00
rigging.md update doc/*/rigging.md 2026-07-31 18:06:22 +03:00
scripting.md add crypto library 2026-08-22 15:22:55 +07:00
text-styles.md fix hex code length and use a exists hex to int method; 2025-01-15 20:09:30 +03:00
vca.md update doc/*/vca.md 2026-09-26 00:03:03 +03:00
vcm.md update doc/*/vcm.md 2026-09-25 20:39:22 +03:00
world-generator.md update doc/*/world-generation.md 2026-08-24 19:24:09 +03:00
xml-ui-layouts.md update doc/*/xml-ui-layouts.md 2026-10-05 22:26:04 +03:00