Script API

10:00, 07.12.2018
286
Script API

Have you ever imagined that Minecraft could feature turn-based combat? Or that it would allow players to engage in chess matches? Or perhaps that I would finally stop bombarding you with rhetorical questions and get straight to the point? Now, not only is this possible, but so much more! The script API has been released in a public beta for Minecraft!

So, what exactly is the scripting API (Application Programming Interface)? In simple terms, it’s the art of customizing the game’s internals by writing new commands in texty for Minecraft Pocket Edition, allowing for various modifications. The scripting engine utilizes jаvascript. Scripts can be created and combined with behavior packs to monitor game events, respond to them, and access (and modify) data within components found in objects and elements, influencing different aspects of the game.

Check out some amazing creations made by players already!


This video showcases chess, which you can play. It’s an impressive result from Steven Blom’s use of the scripting API. Visit his Twitter to see more of his work.

The brilliant minds at the all-powerful Minecraft Wiki have compiled numerous reference guides and examples. They also offer a fantastic guide that explains how everything works in layman’s terms—it’s the best resource I’ve ever come across (though, unfortunately, I’m too dense to grasp scripting APIs, modding, or even creative mode. That’s why I’m banned from coming within fifty feet of actual developers. So here I am, writing articles for this truly wonderful site!)

Minecraft: Players on Java Edition can now moderate their gameplay. This marks our first step towards creating a similar setup for users on other platforms! Currently, this feature is available exclusively to beta players of Minecraft Pocket Edition on Windows 10 (click here for details on how to sign up for this beta version).
Script API
Script API
[1/2] – An example of a turn-based RPG battle system utilizing the scripting mechanism.
[2/2] – A glimpse into gameplay from the Mob Arena minigame, crafted using scripts. This minigame spawns waves of enemies for players to fight and track each defeated foe.

Today, it can be used to create various UI elements, animations, or objects. However, no one plans to stop there; the functionality of the scripting API will gradually expand, providing us with even more possibilities!

Let us know your thoughts on this, as well as what you’d like to see on our feedback site (you can also find several bug fixes that may benefit beta players on Xbox One and Android). We can’t wait to hear what you’ve come up with!

Published by: admin-planet ОS: Android

Leave a Reply

seven + 10 =