Files
minego/pkg/protocol/component/repair_cost.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 RepairCost struct {
Cost int32 `mc:"VarInt"`
}
func (*RepairCost) Type() slot.ComponentID {
return 16
}
func (*RepairCost) ID() string {
return "minecraft:repair_cost"
}