mojira.dev
MC-4000

Dispenser Buckets Not Functioning Properly

If there is more than one bucket in a dispenser the source blocks may end up overwriting each other.

What I expected to happen
If there is a source block of either water or lava in front of the dispenser and an empty bucket in the dispenser there is a 100% chance of the block being put into the bucket.

What actually happened
There is still an equal chance of any of the slots in the dispenser being used. (e.g water outside, empty bucket and lava bucket inside => 50/50 chance either will be used, instead of a 100% chance the water block being put into the bucket.)

Steps to Reproduce
1.) Put an empty bucket and lava bucket in a dispenser.
2.) Put a water source block in front of dispenser.
3.) Power the dispenser.
4.) Observe the random nature of the choice of dispensed item.

Windows 7, not sure about the Java.

(P.S This bug is stopping the creation of probability devices that completely outclass any old cactus based probability generators, allowing almost any probability to made accurately.)

Related issues

Comments

migrated

Did you try the exact thing in a other world??

Did you make sure you did a on--off state with thre redstone?

fuj1n

Seems to be working as intended.

migrated

On the other world or on your main world?

Somtimes, the redstone position my be weird at some moments (North-South | East-West).
For eg: redtone pillars go faster with E-W pos' than the N-S one.

migrated

I've tried it in numerous worlds, and it works the same in every one.
If you put two buckets (water and lava) into a dispenser, then sent one pulse, either water or lava will be dispensed. Then if you send another pulse, 50% of the time it will turn into obsidian and the other 50% it returns the source block. I don't think this should happen. The source block should be returned 100 % of the time.
I don't think the developers see this as a bug, because it only infringes gameplay a small amount, and most people don't even know that it happens (maybe even them). It does affect certain things a large amount though.

Torabi

When a dispenser is triggered, it picks an item from its inventory at random. It then uses it in a way appropriate for that item. Empty buckets, when used on water and lava source blocks, remove the source block and change into the appropriate type of full bucket. The current behavior is just the consequence of that.

What you're asking is that it should not pick randomly, but should choose which item to use based on the block in front of the dispenser. This is a request for a change in functionality, not a bug report.

migrated

Here is Wikipedia's definition of bug; A software bug is an error, flaw, mistake, failure, or fault in a computer program or system that produces an incorrect or unexpected result, or causes it to behave in unintended ways.
Considering I think it is a flaw in a computer program that produces an incorrect result, I am well within my rights to call this a bug.
It is also a change in functionality, to one that makes sense. I am reporting this as the bug it is, and it would be absolutely wonderful if Mojang could make this fix because it would improve several redstone aspects of the game.

Torabi

Whether or not a particular behavior is a bug is up to the developer. If it's working how they intended it to work, then it's not a bug, no matter how much the user may dislike it.

What you're requesting would make more sense to you, but could be confusing to someone else, and may break their creations.

migrated

I refuse to believe that any creation built by a player would rely on the way this works currently. All it causes is breakages and blocks and items being destroyed. I don't think the developers intended for it to work this way, but rather didn't think of the situations where this causes hassle. The change I am saying about wouldn't affect most players, if any at the moment, other than allowing more complex things to be created. There are easy ways to work around the problems you are saying about, but none fore what I am saying. Plus I'm not even sure anything would break with this change. If you could tell me what incredible creation would be broken because of this then I would happily listen. I know of no one who would be unhappy with this change, and most generally it's up to the community as a whole what they want to be changed. As of yet it is no people wanting for this to be kept against me and the people I've told about my design which know that it could be very useful.

migrated

Confirmed in 13w06a. There is no obsidian, etc. though, the liquid just overwrites whatever's in front of it.

Ezekiel

Is this still a concern in the latest Minecraft version 14w04b? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

marcono1234

Confirmed for

  • 14w30c

  • 14w31a

  • Minecraft 1.8-pre 1
    also the dispenser just replaces the water with lava and doesn't creates stone or obsidian
    Edit: That happens with buckets placed by the player as well.

migrated

Erik Broes

Confirmed

bucket

Minecraft 1.4.5, Snapshot 13w06a, Minecraft 1.7.10, Minecraft 14w30b, Minecraft 14w30c, ..., Minecraft 14w34a, Minecraft 14w34b, Minecraft 14w34c, Minecraft 14w34d, Minecraft 1.8-pre1

Retrieved