Visual Workbench

Visual Workbench

47M Downloads

[Bug]: Items dupe with hoppers

AlexInCube opened this issue ยท 2 comments

commented

Mod Loader (Required)

NeoForge

Minecraft Version(s) (Required)

1.21.5

Mod Version(s) (Required)

21.5.0

Notes (Required)

You can watch this video to reproduce bug:
https://youtu.be/h65fHICuVoA

Steps to reproduce:

  1. Place hopper under workbench
  2. Make any valid craft in workbench
  3. Look how hopper grabs items and don`t update ResultSlot

latest.log (Required)

https://gist.github.com/AlexInCube/a1b0b4fe697b4843e8463c14acf97ea9

commented

If you want fix this bug and other bugs like this. You can write this code in CraftingTableBlockEntity

@Override
public boolean canPlaceItem(int slot, ItemStack stack) {
    return false;
}

@Override
public boolean canTakeItem(Container target, int slot, ItemStack stack) {
    return false;
}
commented

Fixed, thank you!