Random Chitchat 2012-2016
Awesome Smile
Thanks given by:
Committed in rev 1539, so that you can have a look at the API. The enchantments are available in the API and are sent to the client; but they are not stored yet, neither in the world nor in player inventory. As usual, the Debuggers plugin has a simple code example; most of the documentation is in the source/Enchantments.h file.

I really wish we had a tool that could turn the Doxygen documentation for functions into API reference in the Wiki.
Thanks given by:
I think rev 1542 finally has a usable cItem constructor. Now your plugins can do:
-- Create an enchanted diamond chestplate, with 5 points of damage:
local Item5 = cItem(E_ITEM_DIAMOND_CHESTPLATE, 1, 5, "thorns=1;unbreaking=3");
Thanks given by:
Thanks to the floods, I don't have to go to work today nor tomorrow. Lazy days ahead Smile
Thanks given by:
Ooh I just saw that on the news Wink
Thanks given by:
Well I guess you at the sea shore are in for some big trouble, too - if not already.
Thanks given by:
Well the rivers are rising but I don't live that close to a river Wink Most of the rivers are in the south but I live in the north of Holland Wink
Thanks given by:
I have updated the wiki documentation on cItem and cEnchantments classes.

Wow, I just noticed we have LOTS of wiki spam, it's just not visible by usual browsing:
http://www.mc-server.org/wiki/doku.php?i...t&do=index
We need a serious cleansing here.
Thanks given by:
Are Enchantments done? Are all enchantments avaliable and saved?
Thanks given by:
(06-04-2013, 03:24 AM)xoft Wrote: Wow, I just noticed we have LOTS of wiki spam, it's just not visible by usual browsing:
http://www.mc-server.org/wiki/doku.php?i...t&do=index
We need a serious cleansing here.

Omg wat
how the heck am I supposed to clean all that up
Thanks given by:




Users browsing this thread: 101 Guest(s)