Api For Bloxd Look Company to Bloxd io ( Arthur , Tom , Slushie , Oliver , Dirty_Flea_sack , Pixel Baker , Another thing this is 100% functional in Bloxd io

                                                                Api To learn how to program in Bloxd io


Hello My name is The_Bloxd_Pro___ 

and I will give you all the APIs that I have coded


The API are as follows  
:

  1. api.setVelocity(myId, x, y, z)

    • Purpose: Sets

  2. api.applyImpulse(myId, x, y, z)

    • Purpose: Applie

  3. api.sendMessage(myId, "text", { color: "orange" })

    • Purpose: Sends

  4. api.sendFlyingMiddleMessage(myId, ["Message"], speed)

    • Purpose: Sends a flying

  5. api.broadcastMessage("announcement", { color: "red" })

    • Pu: Sends a

  6. api.getHealth(myId)

    • Purpose: Gets the curr

  7. api.setHealth(myId, health)

    • Purpose: Sets the health of the player.

  8. api.log("message", value)

    • Purpose: Logs a

  9. api.getPlayerIds()

    • Purpose: Ret

  10. api.setPlayerPose(myId, "pose")

    • Pur: Changes

  11. api.changePlayerIntoSkin(myId, part, "SkinType")

    • Purp: Changes the player's skin on

  12. api.getPlayerPose(myId)

    • P: Retrieves the

  13. api.setPlayerColor(myId, {color: "blue"})

    • Purpose: Changes

  14. api.playSound(myId, "sound_effect")

    • Purp: Plays a specific

  15. api.setPlayerSpeed(myId, speed)

    • Purpose: Sets the pla

  16. api.getObjectPosition(id)

    • Purpose: Gets the position of a game object by its ID.

  17. api.createObject(type, position)

    • P: Creates an object of a

  18. api.deleteObject(id)

    • Purpos: Deletes an object by its ID.

  19. api.setObjectColor(id, color)

    • Purpose: S

  20. api.setObjectSize(id, size)

    • Purpose: A

  21. api.getObjectSize(id)

    • Purpose: Gets the size of an obj

  22. api.setPlayerPosition(myId, x, y, z)

    • Purpose: Sets the play

  23. api.getPlayerPosition(myId)

    • Purpose: Ret

  24. api.setRotation(myId, pitch, yaw, roll)

    • Purpose: Rotates the player to a specific orient

  25. api.getRotation(myId)

    • Purp: Gets the player's rotation

  26. api.setPlayerName(myId, "newName")

    • Purpose: Changes th

  27. api.getPlayerName(myId)

    • Purpose: Gets the player's curre

  28. api.setVisibility(myId, true/false)

    • Purpose: Toggles visibility for the

  29. api.getPlayerCount()

    • Pu: Gets the current number o

  30. api.getObjectHealth(id)

    • Purpose: Gets the h

  31. api.setObjectHealth(id, health)

    • Purpose: Set

  32. api.addScore(myId, points)

    • Purpose: Adds points to a p

  33. api.getScore(myId)

    • Purpose: Gets the player's

  34. api.isPlayerAlive(myId)

    • Purpose: Checks if the player is alive.

  35. api.setPlayerTeam(myId, "teamName")

    • Purpo: Assigns the player to a specific team.


  36. api.getPlayerTeam(myId)

    • Purpose: Retrieves the team the p


    • Look Door : You have to select the position you are in for the command to work for you

      p1 = [-7, 7, -55]

      p2 = [-7, 4, -54]

      a = api.raycastForBlock([-7, 7, -55], [1, 0, 0])


      if (a == null) {

      api.setBlockRect(p1, p2, "Block of Iron")

      }

      else {

      api.setBlockRect(p1, p2, "Air")

      }

Comments

Popular posts from this blog

APIs that work in code block on bloxd io

Code OF TP PORTAL