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

21 lines
415 B
Go

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