New Blocks
#12
It IS possible for plugins to implement custom crafting recipes - there are OnCraftingNoRecpie ( http://mc-server.xoft.cz/LuaAPI/OnCraftingNoRecipe.html ), OnPreCrafting ( http://mc-server.xoft.cz/LuaAPI/OnPreCrafting.html ) and OnPostCrafting ( http://mc-server.xoft.cz/LuaAPI/OnPostCrafting.html ) hooks in the API which should provide everything you need for crafting recipes in a plugin.

For smelting recipes, there isn't an API yet, because it hasn't ever been requested. If you do want it, try to think up a way how it should work - what hooks it should provide, what structures etc.

ThuGie, our plugins can be loaded and unloaded dynamically during the gameplay, that's the biggest problem with custom blocks provided by plugins.

I personally consider the world generating API to be complete - you can either provide your own generating by using the OnChunkGenerating hook ( http://mc-server.xoft.cz/LuaAPI/OnChunkGenerating.html ) or tweak the results of a built-in generator using the OnChunkGenerated hook ( http://mc-server.xoft.cz/LuaAPI/OnChunkGenerated.html ). Note, however, that generating chunks is quite a bottleneck so if you have some nice idea, it may be worth implementing it directly in the C++ base code. We are rather flexible in our generator configuration, so it should be possible to fit things in nicely.
Reply
Thanks given by:


Messages In This Thread
New Blocks - by jimmis98 - 03-12-2014, 01:54 AM
RE: New Blocks - by NiLSPACE - 03-12-2014, 02:02 AM
RE: New Blocks - by xoft - 03-12-2014, 02:38 AM
RE: New Blocks - by bearbin - 03-12-2014, 03:55 AM
RE: New Blocks - by xoft - 03-12-2014, 04:05 AM
RE: New Blocks - by worktycho - 03-12-2014, 04:14 AM
RE: New Blocks - by jimmis98 - 03-12-2014, 05:24 AM
RE: New Blocks - by worktycho - 03-12-2014, 05:45 AM
RE: New Blocks - by jimmis98 - 03-12-2014, 07:58 AM
RE: New Blocks - by worktycho - 03-12-2014, 08:08 AM
RE: New Blocks - by ThuGie - 03-12-2014, 09:19 AM
RE: New Blocks - by xoft - 03-12-2014, 06:48 PM



Users browsing this thread: 3 Guest(s)