1
0
cuberite-2a/Server/Plugins/APIDump/Hooks/OnBrewingCompleted.lua

27 lines
891 B
Lua
Raw Normal View History

2015-09-24 08:48:33 +00:00
return
{
HOOK_BREWING_COMPLETED =
{
CalledWhen = "A brewing process is completed.",
DefaultFnName = "OnBrewingCompleted", -- also used as pagename
Desc = [[
2017-04-07 12:31:44 +00:00
This hook is called whenever a {{cBrewingstandEntity|brewing stand}} has completed the brewing process.
2015-09-24 08:48:33 +00:00
See also the {{OnBrewingCompleting|HOOK_BREWING_COMPLETING}} hook for a similar hook, is called when a
brewing process is completing.
]],
Params =
{
{ Name = "World", Type = "{{cWorld}}", Notes = "World where the brewing stand resides." },
2017-04-07 12:31:44 +00:00
{ Name = "Brewingstand", Type = "{{cBrewingstandEntity}}", Notes = "The brewing stand that completed the brewing process." },
2015-09-24 08:48:33 +00:00
},
Returns = [[
If the function returns false or no value, Cuberite calls other plugins with this event. If the
function returns true, no other plugin is called for this event.</p>
]],
}, -- HOOK_BREWING_COMPLETED
}