Minecraft Mods

MinecraftCommandAPI - Generate Commands using Code

  • 2,313 views, 1 today
  • 0 downloads, 0 today
  • 9
  • 3
  • 5
SutrangSUcher's Avatar SutrangSUcher
Level 42 : Master Dolphin
60

Minecraft Command API


I'm currently building a library using TypeScript to create Commands. The huge advantage is, in TypeScript you have Intellisense support and type-security. Because of this, it makes it easy to generate complex commands, even for non-programmer.


I would love to hear some feedback. The library is still in Alpha, so don't expect too much.


This API has multiple advantaged, in comparison with the current state of Minecraft Command generation.
  • Automation of command generation
  • Intellisense feature
  • Descriptive Comments
  • Value validation
  • Extendable

Preview

Installation


Via NPM
npm install --save minecraftcommandapi

Via Bower

bower install --save minecraftcommandapi
Progress100% complete
Game VersionMinecraft 1.11
Tags

Create an account or sign in to comment.

Smooth-Cobalt2
01/02/2017 8:21 am
Level 33 : Artisan Blockhead
Smooth-Cobalt2's Avatar
Looks really neat! I know this sounds impossible but it'd be cool if it could be like an automated set of commands and manually set commands in like a structure (McEdit filter).
1
IvansBruker
12/27/2016 3:59 pm
Level 31 : Artisan Dragonborn
IvansBruker's Avatar
cool!
1
McHorse
12/27/2016 4:38 am
Level 71 : Legendary Unicorn
McHorse's Avatar
Hm, that seems pretty cool, but the problem is that you didn't show how to convert written TypeScript code into commands. I see from screenshot that you get command from console.log(), but I don't think it's very clear for non programming people :)

I do understand that it's in-dev thing, but it probably would be very helpful for regular users to write or record a tutorial about how to use your TypeScript API.
1
SutrangSUcher
12/27/2016 12:31 pm
Level 42 : Master Dolphin
SutrangSUcher's Avatar
True. Well the docs are really bad, I gotta be honest haha. I was so exhausted of writing docs and creating bower & npm package, so I just wanted to publish it. Will make a "Getting Started"-doc soon.

Main reason I published it, is to get some attention, so people would help me and contribute.
1
Gwiilo
12/26/2016 4:57 pm
Level 42 : Master Artist
Gwiilo's Avatar
Seems awesome!
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome