-
Bug
-
Resolution: Fixed
-
Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13a, Minecraft 17w13b, Minecraft 17w14a, Minecraft 17w15a, Minecraft 17w16a
-
Confirmed
The bug
Brewing stands will not take water bottles from hoppers or droppers when the bottles that were in it are taken out with a hopper below.
Steps to reproduce
- Place a brewing stand
- Place a hopper below it and on the side of it
- Put three water bottles into the side hopper
- Any additional water bottles will stay in the hopper
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
The problem seems to be that the method net.minecraft.tileentity.TileEntityBrewingStand.isItemValidForSlot(int, ItemStack) does more than it should. Assuming that it should only return if an item type is valid. In this case it would make also more sense to replace the ItemStack parameter with an Item parameter because the count should not matter. If this is the intended behavior the method net.minecraft.tileentity.TileEntityFurnace.isItemValidForSlot(int, ItemStack) is not correctly working then.
Nevertheless the problem here is the change from representing empty slots with null to representing them with 1 ⨯ air:0. The problem here is that reducing the stack size results in 0 ⨯ air:0 objects but the method TileEntityBrewingStand.isItemValidForSlot(int, ItemStack) tests for a 1 ⨯ air:0 constant. The method net.minecraft.item.ItemStack.isEmpty(), which tests if an item is valid, should probably be used instead.
- is duplicated by
-
MC-111749 Dropper - Brewing stand inconsistency
- Resolved
-
MC-111787 Hoppers don't let water bottles flow into a brewingstand
- Resolved
-
MC-111799 Hopper jammed
- Resolved
-
MC-111815 brewing stand wont take water bottles with hopper feed
- Resolved
-
MC-111837 Brewing Stands Won't Accept Water Bottles From Hoppers
- Resolved
-
MC-111840 Odd behaviour Hoppers + Brewing Stands.
- Resolved
-
MC-111883 Hoppers not pushing water bottles into brewing stand
- Resolved
-
MC-112034 Brewing stand not getting W-bottles from hoppers
- Resolved
-
MC-112041 Brewing Stand not pulling water bottles from hopper after redstone release.
- Resolved
-
MC-112060 Hopper-brewing stand interaction: brewing stands do not update properly when a hopper empties its bottle slots.
- Resolved
-
MC-112129 Not all water bottles flowing into brewing stands from hoppers
- Resolved
-
MC-112145 1.11.2 - Hopper redstone update
- Resolved
-
MC-112161 The potions can not enter the brewing stands through hoppers
- Resolved
-
MC-112256 Brewing Stand strange behavior with hoppers.
- Resolved
-
MC-112342 Hoppers couldn't inject water bottles to a brewing stand if there's another hopper sucked potions from it
- Resolved
-
MC-112343 Brewing Station Does Not work Since Hoppers Cannot Let Water Bottles Go Through
- Resolved
-
MC-112402 Hoppers and brewing station
- Resolved
-
MC-112497 Potions can't be pushed into brewing stands via hoppers.
- Resolved
-
MC-112574 Water bottles don't go into brewing stand via hoppers (not like the others!)
- Resolved
-
MC-113250 Potions Won't Autofill Brewing Stand
- Resolved
-
MC-113272 Hopper won't give out potions while connected to the side of a brewing stand
- Resolved
-
MC-113500 Potion Stand Not Filling
- Resolved
-
MC-114031 ...
- Resolved
-
MC-114060 Once being powered, hoppers won't put water bottles into brewing stands anymore, even if unpowered again
- Resolved
-
MC-114071 Hopper and Brewingstand
- Resolved
-
MC-114202 Hopper issue with brewing stands
- Resolved
-
MC-114285 Unlocked hoppers don't forward items
- Resolved
-
MC-114425 brewing stand won't refill
- Resolved
-
MC-115721 Hoppers do not transfer items to other storage units
- Resolved
-
MC-116221 Hoppers do not reliably insert water bottles into brewing stands from the side,
- Resolved
-
MC-116540 Droppers not putting water bottles on brewing stand
- Resolved
-
MC-116710 Brewing Stand Won't Accept Bottles From A Hopper
- Resolved
- relates to
-
MC-7222 1-9 keys, hoppers/droppers and shift-clicking ignore stacking restrictions
- Resolved