Repository navigation
Object Types
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.
Both {entity} and {player} have similar uses, and are some of the most used objects in routines and conditional checks.
attackertargetentityshootertamercombustorprojectileplayer-
{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
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.
Only refers to blocks in the map, not in an inventory.
{entity}_blocktarget-
interact_block- Only usable in the Interact Event.