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
|
2021-02-28 18:48:39 +00:00
|
|
|
import net.shadowfacts.phycon.component.NetworkStackProvider
|
2019-10-30 01:58:25 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @author shadowfacts
|
|
|
|
*/
|
|
|
|
// todo: better name with LocateStackPacket
|
2021-02-14 02:37:39 +00:00
|
|
|
class StackLocationPacket(
|
2021-02-15 01:01:33 +00:00
|
|
|
val stack: ItemStack,
|
|
|
|
val amount: Int,
|
|
|
|
val stackProvider: NetworkStackProvider,
|
|
|
|
source: IPAddress,
|
|
|
|
destination: IPAddress
|
2021-02-14 02:37:39 +00:00
|
|
|
): BasePacket(source, destination) {
|
|
|
|
}
|