Files
minego/pkg/protocol/packet/game/server/pick_item_from_block.go
2025-08-27 20:28:44 +08:00

23 lines
469 B
Go

package server
import (
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
)
//codec:gen
type PickItemFromBlock struct {
Location pk.Position
IncludeData bool
}
func (*PickItemFromBlock) PacketID() packetid.ServerboundPacketID {
return packetid.ServerboundPickItemFromBlock
}
func init() {
registerPacket(packetid.ServerboundPickItemFromBlock, func() ServerboundPacket {
return &PickItemFromBlock{}
})
}