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

12 lines
413 B
Kotlin
Raw Normal View History

2021-02-28 18:48:39 +00:00
package net.shadowfacts.phycon.packet
2019-10-30 01:58:25 +00:00
import net.minecraft.item.ItemStack
2021-02-13 23:24:36 +00:00
import net.shadowfacts.phycon.api.util.IPAddress
2019-10-30 01:58:25 +00:00
/**
* @author shadowfacts
*/
2021-02-13 23:24:36 +00:00
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)
2019-10-30 01:58:25 +00:00
}