19 lines
403 B
Go
19 lines
403 B
Go
package server
|
|
|
|
import "github.com/Tnze/go-mc/data/packetid"
|
|
|
|
//codec:gen
|
|
type RecipeBookSeenRecipe struct {
|
|
RecipeID int32 `mc:"VarInt"`
|
|
}
|
|
|
|
func (*RecipeBookSeenRecipe) PacketID() packetid.ServerboundPacketID {
|
|
return packetid.ServerboundRecipeBookSeenRecipe
|
|
}
|
|
|
|
func init() {
|
|
registerPacket(packetid.ServerboundRecipeBookSeenRecipe, func() ServerboundPacket {
|
|
return &RecipeBookSeenRecipe{}
|
|
})
|
|
}
|