Skip to content

Set Item in Brushable Block

Sets explicit contents in a brushable block, clearing an unresolved loot table so later brushing does not overwrite the chosen item. Omit Item to clear.

Call Method → No Object → Choose Operation → Containers. Requires Dev access to configure, then a successful compile to activate.

Input Type Role Requirement Default / constraint
Location Location Value Required Required
Item (omit to clear) Item Value Optional Omitted; see behavior below

Controls the current structure/task or changes the world/event as described. No separate value result is returned.

Block: Call Method → No Object
Operation: Set Item in Brushable Block
Location: Location A in the play area
Item (omit to clear): (omit for this example)

Use this as an editor configuration: declare any Variables/collections first and choose real locations/eligible targets for your plot. It is not pasteable source code.

Use locations and entities in the current plot. World-changing behavior cannot edit protected code areas or escape plot bounds.

Runtime validation: Expected suspicious sand or suspicious gravel.

Runtime validation: Facing must be North, South, East, West, Up, or Down.

Runtime validation: Cannot place item frame here: provide a supporting block behind the facing direction and clear space.

Runtime validation: Item frame would be outside this plot.

Reference identifier: plot.brushable_item.