17 lines
251 B
Go
17 lines
251 B
Go
package component
|
|
|
|
import "git.konjactw.dev/patyhank/minego/codec/data/slot"
|
|
|
|
//codec:gen
|
|
type MapID struct {
|
|
MapID int32 `mc:"VarInt"`
|
|
}
|
|
|
|
func (*MapID) Type() slot.ComponentID {
|
|
return 37
|
|
}
|
|
|
|
func (*MapID) ID() string {
|
|
return "minecraft:map_id"
|
|
}
|