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.
Where to find it
Section titled “Where to find it”Call Method → No Object → Choose Operation → Containers. Requires Dev access to configure, then a successful compile to activate.
Inputs
Section titled “Inputs”| Input | Type | Role | Requirement | Default / constraint |
|---|---|---|---|---|
| Location | Location | Value | Required | Required |
| Item (omit to clear) | Item | Value | Optional | Omitted; see behavior below |
Result and behavior
Section titled “Result and behavior”Controls the current structure/task or changes the world/event as described. No separate value result is returned.
Configuration example
Section titled “Configuration example”Block: Call Method → No ObjectOperation: Set Item in Brushable BlockLocation: Location A in the play areaItem (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.
Restrictions and troubleshooting
Section titled “Restrictions and troubleshooting”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.
Related guides
Section titled “Related guides”Editor · Arguments · Targets · Expressions · Native behavior
Reference identifier: plot.brushable_item.