# Update

# v1.7

# Add API

Object Function Name Description
Area createAreaRectByRange(...) Create a rectangular area(through range) 1.1+
Area getAreaRectLength(...) Obtain the length of the area 1.1+
Area getAreaRectRange(...) Obtain the range of area 1.1+
Block getBlockPowerStatus(...) Obtain the status of block with power 1.1+
Block replaceBlock(...) Replace blocks 1.1+
Player mountActor(...) Player rides the mount 1.1+
Player setItemAttAction(...) Set the setting attribute of player item 1.1+
Actor playBodyEffectById(...) Play effect on specified players 1.2+
Actor setBodyEffectScale(...) Set up effect size on specified players 1.2+
Actor stopBodyEffectById(...) Stop effect on specified players 1.2+
World playParticalEffect(...) Play effect in designate location 1.2+
World randomParticleEffectID(...) Random effect type, returns a random effect ID 1.2+
World setEffectScaleOnPosition(...) Set up effect size in designate location 1.2+
World stopEffectOnPosition(...) Stop effect in designate location 1.2+
Actor appendSpeed(...) Attach a speed to the actor 1.3+
Actor calcDirectionByAngle(...) The absolute direction is calculated by using local spherical coordinates 1.3+
Actor calcDirectionByDirection(...) Calculate the absolute direction by local coordinate direction 1.3+
Actor calcDirectionByYawAngle(...) Calculate the absolute positive direction from local spherical coordinates (ignore the Angle of view) 1.3+
Actor calcDirectionByYawDirection(...) Calculate the absolute positive direction from the local coordinate direction (ignore the Angle of view) 1.3+
Actor getBodySize(...) Acquire the body dimensions 1.3+
Actor getEyeHeight(...) Acquire the height of eyes 1.3+
Actor getEyePosition(...) Acquire the location of eyes 1.3+
Actor getFaceDirection(...) Get actor orientation 1.3+
Actor playSoundEffectById(...) Play sound effect on specified Actor 1.3+
Actor stopSoundEffectById(...) Stop sound effect on specified Actor 1.3+
Player playMusic(...) Play background music to players 1.3+
Player stopMusic(...) Stop background music to players 1.3+
World playSoundEffectOnPos(...) Play the specified sound effect in designate location 1.3+
World stopSoundEffectOnPos(...) Play the specified sound effect in designate location 1.3+
Block getBlockDataByDir(...) Obtain the data of block with direction 1.4+
Actor playAct(...) Play Expression 1.5+
Area blockInAreaRange(...) When blocks exist in the area 1.5+
Area clearAllBlockAreaRange(...) Clear out blocks in the area 1.5+
Area cloneAreaRange(...) Clone the block in the area to another 1.5+
Area fillBlockAreaRange(...) Fill the area with blocks 1.5+
Area getAllCreaturesInAreaRange(...) Acquire all creatures in the area 1.5+
Area getAllObjsInAreaRange(...) Acquire all objectives in the area 1.5+
Area getAllObjsInAreaRangeByObjTypes(...) Acquire all objectives in the area 1.5+
Area getAllPlayersInAreaRange(...) Acquire all players in the area 1.5+
Area replaceAreaRangeBlock(...) Replace blocks in the area 1.5+
Player openDevStore(...) Open Dev. Store 1.5+
Player playAdvertising(...) Play Advertising(Callback can be configured) 1.5+
Player setGameWin(...) Make player win 1.5+
Actor setnickname(...) Set the nickname 1.7+
Actor shownickname(...) Set Nickname 1.7+
Backpack actCreateEquip(...) Create equipment 1.7+
Backpack actDestructEquip(...) Destroy equipment 1.7+
Backpack actEquipOffByEquipID(...) take off the equipment from player 1.7+
Backpack actEquipUpByResID(...) put the equipment on the player 1.7+
Player forceOpenBoxUI(...) Force to open the block that can be operated, like toolbox 1.7+
Player getPropsType(...) get the type of the props that player holding on hand 1.7+
Player isEquipByResID(...) Determine whether the player is equipped with the certain equipment 1.7+
Player openBoxByPos(...) Open the box that can be operated 1.7+
Player setCheckBoxScale(...) Set radius of the detection area to detect the items drop off 1.7+
Spawnport setSpawnPoint(...) Set spawn point 1.7+
World getLightByPos(...) Get light intensity 1.7+
World setBlockLightEx(...) Set light intensity 1.7+

# Add Events

Event Types Name Description
World Backpack.ItemPutIn Container has item input1.1+
World Backpack.ItemTakeOut Container has item output1.1+
Player Player.DiscardItem Discard item1.1+
Player Player.EquipOff Unequip armor1.1+
Player Player.EquipOn Equip armor1.1+
Player Player.InputContent Events triggered by changes in chat box1.1+
World minitimer.change Any change of Timer1.1+
Item Missile.Create Projectile is created1.2+
Particle Particle.Mob.OnCreate Special effects have been created on any creatures1.2+
Particle Particle.Player.OnCreate Special effects have been created on any players1.2+
Particle Particle.Pos.OnCreate Special effects have been created on any location1.2+
Particle Particle.Projectile.OnCreate Special effects have been created for any projectile1.2+
Player Player.NewInputContent Enter text string1.4+
Player Player.InputKeyDown Button pressed1.5+
Player Player.InputKeyOnPress Button being pressed1.5+
Player Player.InputKeyUp Button released1.5+
Actor Actor.AddBuff the status effect on the creature1.7+
Actor Actor.InteractEvent Interact with the players1.7+
Actor Actor.NewBeHurt suffered from attack (different parameters)1.7+
Actor Actor.RemoveBuff when creature lose status effect1.7+
Actor Actor.ReqHelp Send a distress message1.7+
Actor Actor.VillageBindPosChange Village Totem binding point change1.7+
Actor Actor.VillagerFlagChange Villages Work binding point change1.7+
Player Player.AddBuff When players get status effect1.7+
Player Player.LevelModelUpgrade When player’s level changes1.7+
Player Player.RemoveBuff When players lose status effect1.7+
Last Update: 9/7/2020, 10:19:13 PM