Skip to content

Condition Test For Block

JasperLorelai edited this page Jul 16, 2026 · 2 revisions

Source Code

Modifier condition: testforblock

Properties:

Property Value
Has Entity Target false (not needed)
Has Location Target false (not needed)

Description:

Passes if the location specified has the specified block.

String Format Options:

Arguments:

- testforblock (world),(x),(y),(z)=(block) [modifier action]

[Section Format](Modifiers#section-format-condition

(Unsupported for now.)

Clone this wiki locally