TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Scripting API now in public beta

203 pointsby 20yearsover 6 years ago

19 comments

orfover 6 years ago
This kind of thing changes lives. I used to play a lot of counter strike source. One day I found a server mod called EventScripts, and suddenly I could make all kinds of crazy game modes on Python. I found I picked up this programming thing pretty naturally, and without that mod I doubt I would have even dabbled.<p>The feedback loop is phenomenal and is something you simply do not get with other forms of learning. I really can&#x27;t think of a better method and I&#x27;m so excited the younger generation will be exposed to this.<p>Kudos Microsoft, I only wish it was done a bit quicker.<p>Edit: For anyone interested some tutorials are archived here: <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20140810191103&#x2F;http:&#x2F;&#x2F;python.eventscripts.com&#x2F;pages&#x2F;My_Second_Addon" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20140810191103&#x2F;http:&#x2F;&#x2F;python.eve...</a>. Good times :)
评论 #18637758 未加载
评论 #18637272 未加载
评论 #18637791 未加载
评论 #18640376 未加载
评论 #18638091 未加载
评论 #18637249 未加载
qwerty9876over 6 years ago
This will get way more young kids interested in programming than all the subsidized school programs combined, by the way
评论 #18638012 未加载
评论 #18639514 未加载
评论 #18637117 未加载
russellbeattieover 6 years ago
I looked briefly but didn&#x27;t see it - does Minecraft scripting have a way to save state and reset to that state instantly, how about stepping through code in real time? If not, most programs are just macros - they simply mimic user-actions, and if somewhere along the script something doesn&#x27;t go as planned, it&#x27;s just a mess. It&#x27;s really hard teaching 10 year olds how to do anything more than the basics if every time they run the program, their entire world is messed up, and there&#x27;s no way to undo the script they just ran, or understand why it went wrong.<p>This has been true in Minecraft for years now, it&#x27;d be great if it were addressed.
评论 #18638513 未加载
tails4eover 6 years ago
Does anyone know of a good guide to the Minecraft versions? My daughter wants to get mods and maybe venture into scripting, but it seems confusing as to what each version is capable of. We have it on Xbox and android but it seems none of this works on those. It seemd java edition is best; except this has now been replaced by win10 edition, but that does not support most mods or so it seems. It&#x27;s quite confusing so if anyone has a magic decoder ring for versions&#x2F;platforms&#x2F;compatability I&#x27;d really appreciate the info!
评论 #18637167 未加载
评论 #18637133 未加载
评论 #18637119 未加载
评论 #18637178 未加载
评论 #18638088 未加载
danShumwayover 6 years ago
This is very cool, and very exciting.<p>My niece is really into Minecraft and has a huge interest in stuff like robotics and programming, I think in no small part because of Minecraft&#x27;s influence. But because she&#x27;s on the Windows 10 version it&#x27;s difficult for me to help her with anything. Better, more open modding tools for Bedrock means that it&#x27;s easier for me to show her stuff and pique her interest towards developing more interesting customizations.<p>Now if only I didn&#x27;t have to set up a Windows VM to run Bedrock...
评论 #18639360 未加载
评论 #18644828 未加载
brinkover 6 years ago
Very exciting, should put a fresh breath of life into Minecraft for sure.<p>It looks like it&#x27;s only available for Bedrock edition currently. What about Java edition? Is this Microsoft making an attempt to make the Java edition obsolete?
评论 #18637056 未加载
3jckdover 6 years ago
Fully-fledged DnD session in Minecraft anyone?
danielvfover 6 years ago
Note that release only gives you an API to some UI elements and to entities (animals, monsters). This is not yet a full Bedrock API and the number of things you can do is currently quite limited.<p>Nice to see a start though!
Waterluvianover 6 years ago
Are there typescript typings anywhere? Might be a great toy to play with this Christmas and get more experience with TS.
Scaurover 6 years ago
I got my start in programming basically via Minecraft. Multiplayer servers taught me DNS, ports, &amp; bash... modding on Mac OSX &amp; configuring a server to work with the same mod (Flan&#x27;s Mod) taught me basic client-server principles... hell, even Buycraft fuelled my interest in Bitcoin and web development. I don&#x27;t know if I&#x27;d even have been a serious developer at all if it wasn&#x27;t for Minecraft.<p>And now kids have access to learning JS directly. This is 100x as powerful as learning how to web inspector pages. I look forward to watching my little cousins surpass me.
rauhlover 6 years ago
Well, it definitely sounds neat, and although I really wish it weren’t JavaScript, that’s actually a pretty good choice based on popularity. Pity it couldn’t have been TCL, Lisp, or even Scheme or Python.<p>I can’t wait until the modding community picks this up and figures out how to integrate it. Gonna be fun times ahead, no doubt!<p>As an aside, this was a bit of a surprise to me:<p>&gt; you can learn more about how to sign up for that beta by clicking this line of green text<p>Link. <i>Link</i>. Doesn’t <i>everyone</i> know what a link is, these days?
评论 #18639090 未加载
评论 #18638957 未加载
carlosdpover 6 years ago
Oh this is actually really cool, especially because the lightweight nature of JS and the way this is designed means plugin experiences are more plug-and-play when you join a modded server, rather than having to have a plugin pre-installed or having a download time when joining the server.
sublessover 6 years ago
As soon as I think Minecraft is old news something like this pops up. Seems very interesting.
VanHallmanover 6 years ago
The very first mod for this should be someone to convince Mr Crayfish to donate his Furniture Mod to the public domain (if it isnt there already) so that it can be ported to the Bedrock editions!
phodoover 6 years ago
Kudos to Microsoft. This can also open up new opportunities for AI simulations, especially reinforcement learning. Similar to OpenAI. It should unleash a new playground for progress.
pdyckover 6 years ago
Trying to write mods for Minecraft is what got me into programming as a teenager, this looks really cool!
ilakshover 6 years ago
It would be interesting to see a comparison between this API and what Java mods are capable of doing.
benbristowover 6 years ago
Looks like the JavaScript API is ES5. Wonder if they&#x27;ve any plans to support ES6+?
评论 #18639305 未加载
评论 #18636900 未加载
ru999golover 6 years ago
far too limited and around 5 years to late<p><a href="https:&#x2F;&#x2F;minecraft.gamepedia.com&#x2F;Mods&#x2F;Forge" rel="nofollow">https:&#x2F;&#x2F;minecraft.gamepedia.com&#x2F;Mods&#x2F;Forge</a>