Initialize Commit
This commit is contained in:
19
codec/component/custom_model_data.go
Normal file
19
codec/component/custom_model_data.go
Normal file
@ -0,0 +1,19 @@
|
||||
package component
|
||||
|
||||
import "git.konjactw.dev/patyhank/minego/codec/data/slot"
|
||||
|
||||
//codec:gen
|
||||
type CustomModelData struct {
|
||||
Floats []float32
|
||||
Flags []bool
|
||||
Strings []string
|
||||
Colors []int32 `mc:"VarInt"`
|
||||
}
|
||||
|
||||
func (*CustomModelData) Type() slot.ComponentID {
|
||||
return 14
|
||||
}
|
||||
|
||||
func (*CustomModelData) ID() string {
|
||||
return "minecraft:custom_model_data"
|
||||
}
|
Reference in New Issue
Block a user