Initialize Commit
This commit is contained in:
23
codec/component/lodestone_tracker.go
Normal file
23
codec/component/lodestone_tracker.go
Normal file
@ -0,0 +1,23 @@
|
||||
package component
|
||||
|
||||
import (
|
||||
"git.konjactw.dev/patyhank/minego/codec/data/slot"
|
||||
"github.com/Tnze/go-mc/net/packet"
|
||||
pk "github.com/Tnze/go-mc/net/packet"
|
||||
)
|
||||
|
||||
//codec:gen
|
||||
type LodestoneTracker struct {
|
||||
HasGlobalPosition bool
|
||||
Dimension pk.Option[packet.Identifier, *packet.Identifier]
|
||||
Position pk.Option[pk.Position, *pk.Position]
|
||||
Tracked bool
|
||||
}
|
||||
|
||||
func (*LodestoneTracker) Type() slot.ComponentID {
|
||||
return 58
|
||||
}
|
||||
|
||||
func (*LodestoneTracker) ID() string {
|
||||
return "minecraft:lodestone_tracker"
|
||||
}
|
Reference in New Issue
Block a user