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

21 lines
485 B
Go

package server
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type ContainerSlotStateChanged struct {
SlotID int32 `mc:"VarInt"`
WindowID int32 `mc:"VarInt"`
State bool
}
func (*ContainerSlotStateChanged) PacketID() packetid.ServerboundPacketID {
return packetid.ServerboundContainerSlotStateChanged
}
func init() {
registerPacket(packetid.ServerboundContainerSlotStateChanged, func() ServerboundPacket {
return &ContainerSlotStateChanged{}
})
}