Files
minego/pkg/protocol/component/damage_resistant.go
2025-08-27 20:28:44 +08:00

21 lines
375 B
Go

package component
import (
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
)
//codec:gen
type DamageResistant struct {
Types pk.Identifier // Tag specifying damage types
}
func (*DamageResistant) Type() slot.ComponentID {
return 24
}
func (*DamageResistant) ID() string {
return "minecraft:damage_resistant"
}