Skip to content
ricochet1k edited this page Oct 12, 2012 · 8 revisions

You see {entity}, {item}, {loc} and other placeholders like these, but what do they mean? This list should help narrow down how each is used, found, and made into another.

{entity}

Both {entity} and {player} have similar uses, and are some of the most used objects in routines and conditional checks.

  • attacker
  • target
  • entity
  • shooter
  • tamer
  • combustor
  • projectile
  • player
  • {entity}_target - The entity a mob is currently trying to follow, either to damage or breed.
  • {entity}_killer - The last entity that killed a player.
  • {entity}_owner - The player that owns a wolf or ocelot.
  • {entity}_passenger - The entity riding in a vehicle, such as a minecart or boat.
  • {entity}_vehicle - The vehicle that an entity is riding in, such as a minecart or boat.
  • it - refers to the entity selected in a Nearby Routine.
  • spawned - refers to the entity created when a Spawn Routine is used.
  • sender - only applicable in the Command Event.
  • Any Entity or Parent Group listed here

{item}

Another common object, not to be confused with {material}. Details Here. {item} is more commonly used, however. It typically relies on the entity that has it in its inventory.

  • {entity}_held
  • {entity}_wielded
  • {entity}_helmet
  • {entity}_chestplate
  • {entity}_leggings
  • {entity}_boots
  • item - applies to the following events only: PrepareEnchant, Enchant, Interact, PickUpItem, DropItem.

{block}

Only refers to blocks in the map, not in an inventory.

  • {entity}_blocktarget
  • interact_block - Only usable in the Interact Event.

Clone this wiki locally