Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: blfngl on September 09, 2012, 09:25:28 pm

Title: Ti Nspire Minecraft Library!
Post by: blfngl on September 09, 2012, 09:25:28 pm
Hey all,
Because of boredom, today I present you with a Minecraft item/block library!
Added the tools() command! To access picks, hoes, etc, type the tool name, such as pick. It will then ask you for the material it is made of.

Changes:
Spoiler For Spoiler:
V0.2:Added the tools() command! To access picks, hoes, etc, type the tool name, such as pick. It will then ask you for the material it is made of.

V0.1:Only blocks() is supported right now, but the other functions will be added extremely soon. Tools() has some entries.

(http://i1067.photobucket.com/albums/u440/blfngl/omni1.png)(http://i1067.photobucket.com/albums/u440/blfngl/omni2.png)

http://s1067.photobucket.com/albums/u440/blfngl/?action=view&current=minelib2.png#!oZZ3QQcurrentZZhttp%3A%2F%2Fs1067.photobucket.com%2Falbums%2Fu440%2Fblfngl%2F%3Faction%3Dview%26current%3Dminecraftlib-1.gif (http://s1067.photobucket.com/albums/u440/blfngl/?action=view&current=minelib2.png#!oZZ3QQcurrentZZhttp%3A%2F%2Fs1067.photobucket.com%2Falbums%2Fu440%2Fblfngl%2F%3Faction%3Dview%26current%3Dminecraftlib-1.gif)

I hope you enjoy!
-Blf :ninja:
Title: Re: Ti Nspire Minecraft Library!
Post by: Jonius7 on September 10, 2012, 01:13:53 am
Oh wow a TI-nspire Basic Minecraft Library! Good job!
With TI-nspire Basic, I can tell you some things.
Instead of having users type the whole argument blocks(), you can do something like this:
b.locks()
That way you only have to type b. and a menu will pop up (this may or may not be suitable)

Also about the library itself, Diamond ore said it was the rarest ore in the game, but your Emerald ore also says rarest ore in the game?
Only one of them can be the rarest, and here it would be diamond, because emeralds are renewable through trading (which you also didn't mention)

Keep going!
Title: Re: Ti Nspire Minecraft Library!
Post by: blfngl on September 10, 2012, 10:25:37 pm
Ah, thanks, I was wondering how you do that. My only problem with this is that you'd have to go throw the entire 140 something blocks to get to the one you want, so I added a search function. Any way I could change the menu to make it more efficient?

About the emerald/diamond thing, I started this before emerald came out. Thanks for pointing it out :)

Version 0.2 is now out :D
Title: Re: Ti Nspire Minecraft Library!
Post by: ElementCoder on September 11, 2012, 04:21:49 am
I started a similar project some time ago, with a crafting system (in TI-Nspire Basic :P it worked pretty neat)

Oh wow a TI-nspire Basic Minecraft Library! Good job!
With TI-nspire Basic, I can tell you some things.
Instead of having users type the whole argument blocks(), you can do something like this:
b.locks()
That way you only have to type b. and a menu will pop up (this may or may not be suitable)

Also about the library itself, Diamond ore said it was the rarest ore in the game, but your Emerald ore also says rarest ore in the game?
Only one of them can be the rarest, and here it would be diamond, because emeralds are renewable through trading (which you also didn't mention)

Keep going!
Emerald is still the rarest ORE in the game :P

Any way I could change the menu to make it more efficient?
I think it's quite at its most efficient point.
I'd recommend doing as Jonius7 said , have a b.<block name> style menu (and probably a b.search function too), same for items.
[edit]Stay tuned for my lua minecraft encyclopedia :P (with crafting system(!)8) and images!)
Title: Re: Ti Nspire Minecraft Library!
Post by: blfngl on September 11, 2012, 03:29:15 pm
Way to post your project on my board -_-
I might stop this cuz yours is in Lua with images...I NEED TO LEARN LUA.
Title: Re: Ti Nspire Minecraft Library!
Post by: ElementCoder on September 12, 2012, 02:33:11 am
Way to post your project on my board -_-
I might stop this cuz yours is in Lua with images...I NEED TO LEARN LUA.
You should still continue this :) nspire basic is a good language to mess around with. It did help me learn lua a bit faster.
Title: Re: Ti Nspire Minecraft Library!
Post by: blfngl on September 17, 2012, 10:15:38 pm
If possible, can someone show me how to do the b.locks()?
Title: Re: Ti Nspire Minecraft Library!
Post by: aeTIos on September 18, 2012, 04:08:12 am
rename your lib to b then call the function locks.
Title: Re: Ti Nspire Minecraft Library!
Post by: ElementCoder on September 18, 2012, 01:00:16 pm
rename your lib to b then call the function locks.
I don't think that's what he means. I think he just wants the functionality of typing "b." and then a menu pops up showing "locks" as an option. To achieve this, go to the program editor and change the name to b.locks.
Title: Re: Ti Nspire Minecraft Library!
Post by: Jonius7 on September 19, 2012, 11:39:01 pm
It's as simple as changing the program name to b.locks()
You can play around with the positioning of the "." to see what suits.
Title: Re: Ti Nspire Minecraft Library!
Post by: ElementCoder on September 28, 2012, 11:34:54 am
Way to post your project on my board -_-
I might stop this cuz yours is in Lua with images...I NEED TO LEARN LUA.
Well if it makes you more motivated, my project is on hold for a long time. I have another major project running and a few minor. Next to that I also have school stuff to do so what little time I have will be spent on my main project :)