Chisel

Chisel

150M Downloads

Dupe with Quark

DunYeeted opened this issue ยท 1 comments

commented
QuarkChisel.Dupe.mp4

By using either the Iron Chisel or Diamond Chisel and the "extract item" button from Quark, it is possible to dupe a block that has a chisel variation
Steps

  1. Open Iron/Diamond Chisel GUI
  2. Input the block you wish to dupe
  3. Press extract
  4. Repeat 2-4

Variation

However, using the iChisel, you are able to dupe any item regardless of if it can stack to 64, 16, or unstackable.
Steps

  1. Open iChisel GUI
  2. Click on item you wish to dupe
  3. Press extract
  4. If you wish to dupe more, then unselect the item and reselect
  5. Repeat steps 2-5 until you have reached desired amount

Tested on the latest version of both mods in 1.16.5, no other mods were in the pack excluding their dependencies

commented

@Vazkii What does this action do special and different compared to a typical shift click? The variation slots are coded to "craft" as soon as they are picked up from, so my guess is that the extract item button is manually pulling stacks from slots?

@Override
public ItemStack onTake(PlayerEntity player, ItemStack itemstack) {
ItemStack chisel = container.getChisel().copy();
ItemStack res = craft(container, player, itemstack, false);
if (container.currentClickType != ClickType.PICKUP) {
res.shrink(1);
}
if (!res.isEmpty()) {
SoundUtil.playSound(player, chisel, itemstack);
player.inventory.setItemStack(res);
}
return ItemStack.EMPTY; // Return value seems to be ignored?
}