cc-tweaked / cc-restitched

Other
80 stars 33 forks source link

Items disappearing when transferred from furnace output to full inventory #122

Open Cra7y opened 1 year ago

Cra7y commented 1 year ago

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:

  1. Create at wired network containing a furnace, a computer and a barrel 2022-08-07_11 54 54
  2. Block the barrel with an item image
  3. Smelt some items in the furnace image
  4. Run this program:
    barrel = peripheral.find("minecraft:barrel")
    furnace = peripheral.find("minecraft:furnace")
    print(furnace.pushItems(peripheral.getName(barrel), 3))
  5. 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.

Merith-TK commented 1 year ago

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

Cra7y commented 1 year ago

Yes, i will do that and link it here. It may take a day or two before i get around to it.