Initialize Commit
This commit is contained in:
16
codec/component/unbreakable.go
Normal file
16
codec/component/unbreakable.go
Normal file
@ -0,0 +1,16 @@
|
||||
package component
|
||||
|
||||
import "git.konjactw.dev/patyhank/minego/codec/data/slot"
|
||||
|
||||
//codec:gen
|
||||
type Unbreakable struct {
|
||||
// no fields
|
||||
}
|
||||
|
||||
func (*Unbreakable) Type() slot.ComponentID {
|
||||
return 4
|
||||
}
|
||||
|
||||
func (*Unbreakable) ID() string {
|
||||
return "minecraft:unbreakable"
|
||||
}
|
Reference in New Issue
Block a user