Skip to content
jorgun edited this page Dec 11, 2012 · 4 revisions

getTargets() return a map of targes entity’s name

"Player" table
"wolf123456" table
"pig.84221" table

getTargetDetails()

"HeldItem" table see inventory Sensor for information item
"Armour" table
"Health" int 
"IsAirborne" bool
"IsJumping" bool
"IsBlocking" bool
"IsBurning" bool
"IsEating" bool Note: disabled
"IsAlive" bool
"IsInWater" bool
"IsOnLadder" bool
"IsSleeping" bool
"IsRiding" bool
"IsSneaking" bool
"IsSprinting" bool
"IsWet" bool
"IsHome" bool
"PotionEffects" table

getTargetDetails() if target is a Player

 same as getTargetDetails() +
"FoodLevel" int
"Gamemode" bool (true if Creative)
"Username" String
"Inventory" table (see inventory sensor)
Clone this wiki locally