Carpet Script - Teaser. Minecraft 1.13.2

13,405
0
Published 2019-02-16
I have been very, very busy lately, but instead of skipping a few weeks, I thought I would drop a small teaser of the new scripting language for Minecraft that I have been working on for quite some time, It runs natively within Minecraft java environment and is much more efficient and flexible than built in command system. Here is a small example how to create a simple 'prospector' tool with carpetscript. Obviously it is quite a powerful tool, so its intended for creative play, mapmakers, or creative builders.

So far its just a teaser, I will publish a detailed explanation of the language once the specification is finalized. For now, I can share the code I used today - just copy-paste command after each other and execute them in game chat.

pastebin.com/erA4CRyU

I also added style formatter for Notepad++. It could serve as a good hint for all the built-in functions in the language.

pastebin.com/fVibx3DT

Please report all the issues you would find on the github project page, where you can find the new release:

github.com/gnembon/carpetmod/releases/tag/v1.13.2-…

--------------
Recorded with Minecraft 1.13.2

Check out my vision of the game at
github.com/gnembon/carpetmod

Minecraft IGN: gnembon

Find me on Twitter: twitter.com/gnembon_mc

Intros/Outros by Reye and TDL

Resource Pack: Minecraft HD 64 www.minecraftforum.net/forums/mapping-and-modding/… with a few modified textures
modified textures:
- bedrock bit.ly/bright_bedrock
- hoppers and pistons bit.ly/gnembon_redstone_tpack
- bright nether bit.ly/bright_nether_tp
- bushy leaves bit.ly/bushy_leaves_tp

Music:
Aaron Kenny, Christmas Village, YT Library

All Comments (21)
  • @xisumavoid
    I have no idea what you just did but i am excited! Also new music :-D
  • @LogicalGeekBoy
    I saw your other teaser videos, this looks really cool <3
  • One day you gotta put some hardcore metal music in that intro and catch everyone by surprise.
  • @PanNic97
    HAX! Good Job! Cant wait to fiddle all the possible features out
  • @twcppcoment
    Oh man! Big stuff coming ^^ Also, time to port that syntax highlighter to st3 xD
  • @Cyberjjc
    Very interesting. Based off what I gather, it appears to be a script that tells you where you can find certain resources. When I saw the flame like bits, it looked like it was telling you where the lava is for example if you dug too deep. I also noticed that your little diamond looking bits that hovered over the ground looks like it was telling you where diamonds were if you dug deep enough. I am very interested to see where this goes Gnem.
  • @NarcolepticFrog
    This is amazing. Downloading to play around with it now. Is there any documentation yet on the scripting language (sorry to pester!)
  • @techman8817
    Have you considered using Jython or other language that works on the JVM? You would get a ton of libraries, documentation, and experienced users for free. The integration actually looks quite simple, integrating into an existing Java program, and there's tons of info in Jython's book and stack exchange. Seems possible to run with a security model if that's a concern, though I think most users can understand it would be "use at your own risk". Personally, scripting would be really nice for automated testing, like StartTest(); Wait(2000); /* wait 2000 game ticks */ WriteResults(); . As well as rate counting. Such a thing is possible with command blocks, but it would be much nicer to have a procedural script. Bedrock is implementing scripting using JavaScript. Personally, I think Jython would be better (better lambda support, operator overloading for vector math, and scientific libraries). Jython also makes it very easy to call Java. Might give this a try myself, but I mostly use c++ not java.
  • You new music really reminds me of „ All I really want for Christmas“ by Family Guy!!!!!!
  • @tyrannus00
    Hey gnembon, I saw on the sci craft server you guys had an TPS display in the tab screen. And now I wonder, is that a carpet mod feature? Because I wanted to add this to my server, but I could find anything related. Can you help me out?