location_to_cursor

Sets the location to the position of the entity or block at the player's or victim's cursor.

Categories: location

Required arguments

Key(s)DescriptionType
targetThe entity or block to target with the raytrace.
Choices: block, entity
STRING
startThe entity to raytrace from.
Choices: player, victim
STRING

Parameter transformers

  • PLAYER becomes LOCATION

  • VICTIM becomes LOCATION

Example

mutators:
  - id: location_to_cursor
    args:
      target: block|entity
      start: player|victim