BlockData for Placement (Expression) — SkNMS

Addon: SkNMS · Category: Expression · Since: 1.0.0

Syntax

block[ ]data for placement (of|from) %players% [using %-itemtype%]

Description

Get the BlockData as if a player were to place a block. **Options**: - `using %itemtype%` = Check for a specific item. If excluded, will default to the player's held item.

Examples

set {_data} to blockdata for placement of player
set {_data} to blockdata for placement of player using oak stairs

View source