Set the attack target of [entity] to [sourceentity]

Set the attack target of [entity] to [sourceentity]. Procedure block in the entity category. It runs an action.

Set the attack target of entity to sourceentity
Category
Entity
Block type
Action block (stacks under a trigger)
Returns
Action (no value)
Needs
Nothing extra
Works with
NeoForge 26.1.2NeoForge 1.21.1

Inputs

InputKindAccepts
entityPlug-in valueEntity
sourceentityPlug-in valueEntity