Files
minego/codec/component/death_protection.go

17 lines
284 B
Go

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