cc-restitched
cc-restitched copied to clipboard
Items disappearing when transferred from furnace output to full inventory
Minecraft Version
1.18.x
Version
1.100.8
Details
I have a system that transfers items from a furnace output slot to a barrel. When the barrel is full items will disappear instead of staying in the furnace. The issue is not specific to barrels, it also happens with chests
Steps to recreate:
- Create at wired network containing a furnace, a computer and a barrel
- Block the barrel with an item
- Smelt some items in the furnace
- Run this program:
barrel = peripheral.find("minecraft:barrel")
furnace = peripheral.find("minecraft:furnace")
print(furnace.pushItems(peripheral.getName(barrel), 3))
- All the items from the output slot will disappear
Other observations: If there is some but not enough space in the target inventory it will fill the inventory and the remaining items will disappear. The pushItems function returns the amount of items successfully moved, the disappeared items are not counted. If a limit is set in the pushItems function only the amount of items specified will disappear.
can you send logs of this in singleplayer?
launch MC make singleplayer world re-create bug close mc upload latest.log to https://mclo.gs
but yeah, that is most definately NOT intended behaviour
Yes, i will do that and link it here. It may take a day or two before i get around to it.