Is Part of Display Type? (Condition) — DisplayEntityUtils

Addon: DisplayEntityUtils · Category: Condition · Since: 3.5.0

Syntax

%activepart% (is|is(n't| not)) a display [entity] part

Description

Check if an active part is of a display entity type (block, item, text)

Examples

if {_activepart} is a display part:
	broadcast "This part is a block, item, or text display!"

View source