| Gravité |
non |
|---|---|
| Transparence |
non |
| Luminosité |
non |
| Résistance |
3,5 |
| Dureté |
3,5 |
| Outil | |
| Renouvelable |
? |
| Superposable |
oui (64) |
| Inflammable |
non |
| Butin |
lui-même |
| Valeurs |
déc: 23 hex: 17 bin: 10111 |
Un distributeur est un bloc spécial disponible depuis la version Bêta 1.2. Lorsque vous faites un clique droit dessus, un menu vous propose de poser des items dedans. A chaque fois que le distributeur reçoit du courant depuis un circuit redstone, un item depuis son inventaire est envoyé aléatoirement. Le distributeur ressemble au four mais les deux blocks ont différents usages et différentes recettes.
A la différence des coffres, lorsqu'un distributeur est détruit, les items à l'intérieur sont perdus. Notch a confirmé que c'était un bug. [1].
Fabrication
| Ingrédients | Recette → résultat |
|---|---|
| Pierre taillée + arc + poudre de redstone |
Modèle:Grille/Établi |
Quand il est placé, le distributeur fait face au joueur (il va distribuer les objets vers l'endroit où se tient le joueur).
Distribution
La plupart des items placés dans un distributeur vont simplement être éjectés 2 à 4 blocs plus loin. Les flèches, les œuf et les boules de neige stockés dans le distributeur sont tirés comme si on avait fait un clic gauche depuis son inventaire. Les flèches tirées depuis une auteure de deux cases au dessus du sol auront une portée de 10 à 21 blocs. Les flèches causent des dommages et ne peuvent être récupérées, les oeufs et boules de neiges se cassent, ce qui ne change pas de d'habitude.
Unlike most other redstone-triggered devices, it may be triggered by redstone wire placed up to one block adjacent to it as well as running directly into it; therefore a single redstone wire can trigger up to 5 dispensers in a cross pattern. This allows for easy creation of large walls of dispensers.
It seems to be like items in the top left corner come out the least often, and the bottom right is the most common. This could be useful for slot machines.
When a dispenser dispenses an item, it emits a clicking sound and a puff of smoke. If it is empty when activated, it emits a slightly higher-pitched click.
A dispenser will work if it is placed underwater, even without any blocks touching it by placing a redstone torch underneath it. Also it can be properly wired by placing the redstone in a tunnel underneath the water.
If the face of the dispenser is covered by a block, and the dispenser is facing west or south, fired items will pass through the block. This will soon be fixed.
Probability distribution
Items in a dispenser aren't dispensed uniformly. Items in the bottom-right slot are dispensed much more often than items in the top-left slot. This appears to be due to an oversight in the code.
To find the current erratic probability distribution, first list all non-empty slots in this order:
| 1 | 2 | 3 |
| 4 | 5 | 6 |
| 7 | 8 | 9 |
Then pick the column for that number of slots in the following table. The numbers underneath are the approximate probability that the corresponding slot in the list is picked.
| Slots filled | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Slot | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 1 | 100.0% | 50.0% | 25.0% | 12.5% | 6.3% | 3.1% | 1.6% | 0.8% | 0.4% |
| 2 | 50.0% | 33.3% | 22.2% | 14.8% | 9.9% | 6.5% | 4.4% | 2.9% | |
| 3 | 41.7% | 29.2% | 20.0% | 14.4% | 10.3% | 7.2% | 5.2% | ||
| 4 | 36.1% | 26.2% | 19.2% | 14.0% | 10.3% | 7.6% | |||
| 5 | 32.2% | 24.1% | 18.1% | 13.7% | 10.3% | ||||
| 6 | 29.3% | 22.4% | 17.2% | 13.3% | |||||
| 7 | 27.1% | 21.1% | 16.5% | ||||||
| 8 | 25.3% | 20.0% | |||||||
| 9 | 23.8% | ||||||||
The probability that an item is picked from a stack does not depend on the size of the stack. That leads to some stacks running dry long before others (as far as the nonuniform distribution didn't do that already), consequently exacerbating the abrupt changes in the distribution. However, you can cancel these effects to some extent by sizing stacks proportionally to the table, at the cost of being locked to a fixed distribution. The expected time a stack runs dry will be about the same for each, ensuring the dispenser is actually out of 'rare' items in the top left instead of favoring them once the 'abundant' stacks run dry.
Trivia
- Le distributeur utilise la même texture que le four sur tous les côtés excepté sur la face, qui est une texture unique.
- Le fichier de texture du menu du distributeur est nommé "trap.png", surement parce qu'à la base, il a été crée pour faire des pièges à flèches.
- Si une torche redstone est placée à une case adjacente au distributeur, il va tirer deux fois à chaque fois qu'il est activé.
- If a redstone torch is placed on one side of the dispenser, and a redstone wire on the opposite side, the dispenser will activate.
- You can use dispensers to delay Redstone circuits by intervals of five minutes, hook up a pressure-plate to an i/o reverse then to a dispenser and put a item onto it. when the item vanishes then the Redstone charge will change state
- It is possible to make a very simple dispensing mechanism by attempting to place a stone button on the floor in front of a dispenser. Because the button cannot go on the floor, it will default to the dispenser, creating a dispenser which can simply be clicked to receive items, but cannot be tripped by mobs.
- DispenserGlitch.png
Arrows being fired through a Solid Block placed directly in front of a Dispenser.
- Dispensertrap.jpg
A picture showing a Dispenser Trap with a hidden Redstone circuit.
- 8x8dispenserwallwiring.png
An example of the wiring for an 8x8 wall of dispensers. Using the cross pattern activation.
- Dispenserspread.jpg
The spread after dispensing a number of blocks.

