Dispenser

Releases items from attached bins. It is a craftable and spawnable non-flammable solid.
It generates 0 Solid
per tick.
Here is a list of possible sizes that reach the maximum malleability (32) that have integer components: 1x1x32, 1x2x16, 1x4x8, 2x2x8, 2x4x4
At its default size (2x3x2) it has a durability of 4, at its maximum size it has a durability of 6.
By default, its colour is #000000.
Methods
Dispense()
Dispenses a single item instantly.
Configurables
Filter
Which kinds of resources to drop, separated by commas. It is a string
.
Events
Configured(configurerId)
Fires when the object is configured.
The configurerId parameter is the UserId
of the player who configured the object. It is a number
.
Loop(tickInterval)
Fires when the object is updated by the game loop.
The tickInterval parameter is the inverse of the tick rate. For example, if the tick rate is 20
, this will be 1 / 20
(or just 0.05
). If the tick rate commands are accessible, running them will change this value. It is a number
.