mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-20 17:39:46 +00:00
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 |
||
|---|---|---|
| .. | ||
| scripting | ||
| 3d-text.md | ||
| animation.md | ||
| assets-preload.md | ||
| audio.md | ||
| block-models.md | ||
| block-properties.md | ||
| console.md | ||
| content-packs.md | ||
| engine-use-recommendations.md | ||
| entity-properties.md | ||
| item-properties.md | ||
| main-page.md | ||
| particles.md | ||
| resources.md | ||
| rigging.md | ||
| scripting.md | ||
| text-styles.md | ||
| vca.md | ||
| vcm.md | ||
| world-generator.md | ||
| xml-ui-layouts.md | ||