MOB functions (Vanilla)
Functions for creating and checking items in a oCMobContainers (chests etc.).
Functions
Mob_CreateItems
Mob_CreateItems
Creates a specified number of items in a oCMobContainer
Parameters
- mobname- name of the oCMobContainer
- iteminstance- instance of the item
- amount- number of items to create
Mob_HasItems
Mob_HasItems
Checks if a oCMobContainer has a specified number of items
Parameters
- mobname- name of the oCMobContainer
- iteminstance- instance of the item
Return value
The function returns number of these items in the container