====== cDropSpenser class ======
This is a class that implements behavior common to both [[cDispenserEntity|dispensers]] and [[cDropperEntity|droppers]].

===== Ancestors =====
This class inherits from the following classes:
  * [[cBlockEntity|cBlockEntity]]
  * [[cBlockEntityWithItems|cBlockEntityWithItems]]

===== Descendants =====
The following classes inherit from this class:
  * [[cDispenserEntity|cDispenserEntity]]
  * [[cDropperEntity|cDropperEntity]]

===== Constants =====
To future-proof your plugin, use the following constants rather than hard-coded numbers:
^ Constant ^ Note ^
| ContentsWidth | Width (X) of the cItemGrid representing the contents |
| ContentsHeight | Height (Y) of the cItemGrid representing the contents |

===== Functions =====
In addition to functions inherited from [[cBlockEntity|cBlockEntity]] and [[cBlockEntityWithItems|cBlockEntityWithItems]], the following specific functions can be used on this object:
^ Function ^ Parameters ^ Returns ^ Notes ^
| Activate | | | Sets the block entity to dropspense an item in the next tick |
| AddDropSpenserDir | BlockX, BlockY, BlockZ, BlockMeta | BlockX, BlockY, BlockZ | Adjusts the block coords to where the dropspenser items materialize |
| SetRedstonePower | IsPowered | | Sets the redstone status of the dropspenser. If the redstone power goes from off to on, the dropspenser will be activated |
