PresenceItemTransferS2CPacket

data class PresenceItemTransferS2CPacket(val itemId: String, val amount: Int, val fromX: Double, val fromY: Double, val fromZ: Double, val toX: Double, val toY: Double, val toZ: Double) : CustomPacketPayload(source)

Server-to-client item transfer visualization packet.

Constructors

Link copied to clipboard
constructor(itemId: String, amount: Int, fromX: Double, fromY: Double, fromZ: Double, toX: Double, toY: Double, toZ: Double)

Types

Link copied to clipboard
object Companion

Packet constants and codecs.

Properties

Link copied to clipboard
val amount: Int

transfer amount represented by particles

Link copied to clipboard

source world X

Link copied to clipboard

source world Y

Link copied to clipboard

source world Z

Link copied to clipboard

item identifier string

Link copied to clipboard
val toX: Double

destination world X

Link copied to clipboard
val toY: Double

destination world Y

Link copied to clipboard
val toZ: Double

destination world Z

Functions

Link copied to clipboard
open override fun type(): CustomPacketPayload.Type<out CustomPacketPayload>