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

19 lines
296 B
Go

package component
import (
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
)
//codec:gen
type DeathProtection struct {
Effects []ConsumeEffect
}
func (*DeathProtection) Type() slot.ComponentID {
return 32
}
func (*DeathProtection) ID() string {
return "minecraft:death_protection"
}