Files
minego/pkg/protocol/component/can_break.go
2025-08-22 05:14:59 +08:00

19 lines
277 B
Go

package component
import (
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
)
//codec:gen
type CanBreak struct {
BlockPredicates []BlockPredicate
}
func (*CanBreak) Type() slot.ComponentID {
return 12
}
func (*CanBreak) ID() string {
return "minecraft:can_break"
}