Minecraft wiki entry for Development_versions, associated text: Added Dimension class
Added World.getDimension
Updated the GameTest Framework interface:
function assertEntityPresentInArea(entityIdentifier : string)
Throws an Error if an entity matching the given identifier does not exist in the test region
function print(text : string)
Prints the given text to the chat
function assertEntityInstancePresent(entity : Entity, position : BlockLocation)
Throws an Error if the given entity is not present in the given block location
Removed function setEntityTamed(entityIdentifier : string, position : BlockLocation)
Replaced by component function setTamed(showParticles : bool)
Entity
function getComponents()
Returns an array of supported components
function getComponent(componentIdentifier : string)
Returns the component matching the given identifier
function hasComponent(componentIdentifier : string)
Returns true if the given component exists on the entity and is supported
function getName()
Returns the name of the entity (e.g. "Horse")
Components for color, health, leashable, and tamemount were added
function kill()
Kills the entity
World
addEventListener(eventName : string, callback : function(entity : Entity))
Registers an event listener for entity events Supported Events:
onEntityCreated
Fires when an entity is created
onEntityDefinitionTriggered
Fires when an entity definition event is triggered
Renamed /gametest runall to /gametest runset
The default value for the tag parameter is now suite:default.