package net.shadowfacts.phycon.util import net.minecraft.item.ItemStack /** * @author shadowfacts */ fun ItemStack.copyWithCount(count: Int): ItemStack { return copy().also { it.count = count } }