Files
minego/codec/component/death_protection.go
2025-06-19 15:01:07 +08:00

17 lines
289 B
Go

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