Interaction Part Has Commands? (Condition) — DisplayEntityUtils
Addon: DisplayEntityUtils · Category: Condition · Since: 3.5.0
Syntax
%activepart/entity% (has|(has no|does(n't| not) have)) [click] commandsDescription
Check if an interaction part/entity has commands that will run when clicked
Examples
if {_activepart} is deu_interaction:
if {_activepart} has click commands:
broadcast "The interaction has commands!"