19 lines
489 B
Kotlin
19 lines
489 B
Kotlin
package net.shadowfacts.phycon.network.packet
|
|
|
|
import net.minecraft.item.ItemStack
|
|
import net.shadowfacts.phycon.api.util.MACAddress
|
|
import net.shadowfacts.phycon.network.block.netinterface.InterfaceBlockEntity
|
|
|
|
/**
|
|
* @author shadowfacts
|
|
*/
|
|
// todo: better name with LocateStackPacket
|
|
class StackLocationPacket(
|
|
val stack: ItemStack,
|
|
val amount: Int,
|
|
val sourceInterface: InterfaceBlockEntity,
|
|
source: MACAddress,
|
|
destination: MACAddress
|
|
): BasePacket(source, destination) {
|
|
}
|