Skip to content

Commit

Permalink
Update blocks-as-items.md
Browse files Browse the repository at this point in the history
  • Loading branch information
QuazChick authored Feb 9, 2025
1 parent cec3a82 commit 6a16834
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/blocks/blocks-as-items.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ In order to apply other components, such as a 2D icon for your block, you'll nee
:::warning FORMAT VERSION 1.21.40 (EXPERIMENTAL)
Replacing block items requires the `Upcoming Creator Features` experiment to be enabled.
:::
:::danger BEFORE PLAYER PLACE
Replaced block items do not trigger the [`beforeOnPlayerPlace`](/blocks/block-events#before-player-place) event hook.
:::

In order to replace a block item, you will need to create a new item JSON file that has the same identifier as the block.

Expand Down

0 comments on commit 6a16834

Please sign in to comment.