Add item DataComponent implements (part 4)

This commit is contained in:
Tnze
2024-07-29 00:32:00 +08:00
parent 76ff3a8d41
commit a5fbf35088
17 changed files with 519 additions and 422 deletions

View File

@ -0,0 +1,26 @@
package component
import (
"io"
)
var _ DataComponent = (*JukeboxPlayable)(nil)
type JukeboxPlayable struct {
// TODO
}
// ID implements DataComponent.
func (JukeboxPlayable) ID() string {
return "minecraft:jukebox_playable"
}
// ReadFrom implements DataComponent.
func (j *JukeboxPlayable) ReadFrom(r io.Reader) (n int64, err error) {
panic("unimplemented")
}
// WriteTo implements DataComponent.
func (j *JukeboxPlayable) WriteTo(w io.Writer) (n int64, err error) {
panic("unimplemented")
}