PhysicalConnectivity/src/main/kotlin/net/shadowfacts/phycon/packet/ItemStackPacket.kt

12 lines
413 B
Kotlin

package net.shadowfacts.phycon.packet
import net.minecraft.item.ItemStack
import net.shadowfacts.phycon.api.util.IPAddress
/**
* @author shadowfacts
*/
class ItemStackPacket(val stack: ItemStack, val bounceCount: Int, source: IPAddress, destination: IPAddress): BasePacket(source, destination) {
constructor(stack: ItemStack, source: IPAddress, destination: IPAddress): this(stack, 0, source, destination)
}