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

21 lines
446 B
Go

package server
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type SetCommandMinecart struct {
EntityID int32 `mc:"VarInt"`
Command string
TrackOutput bool
}
func (*SetCommandMinecart) PacketID() packetid.ServerboundPacketID {
return packetid.ServerboundSetCommandMinecart
}
func init() {
registerPacket(packetid.ServerboundSetCommandMinecart, func() ServerboundPacket {
return &SetCommandMinecart{}
})
}