target - RedWirePlatinumTwo/RedWiresMinecraftMod GitHub Wiki

Parameters

  • [targeters] - The entity(s) to do the attacking.
  • [victim] - The entity to be attacked.

Description

  • Attempts to make [targeter] attack [victim] if possible.
  • Requires cheats: yes

Changelog

  • 4.4.0: Introduced command.
  • 4.4.2: This command now requires cheats to be enabled.
  • 4.4.8: Changed [targeter] to [targeters].
  • 4.4.8: More than one entity can attack [victim] instead of only 1 entity.
  • 5.0.2: This command can no longer be used to make an entity attack itself.
⚠️ **GitHub.com Fallback** ⚠️