Initialize Commit

This commit is contained in:
2025-06-19 15:01:07 +08:00
commit e40ed2e534
164 changed files with 19741 additions and 0 deletions

16
codec/component/damage.go Normal file
View File

@ -0,0 +1,16 @@
package component
import "git.konjactw.dev/patyhank/minego/codec/data/slot"
//codec:gen
type Damage struct {
Damage int32 `mc:"VarInt"`
}
func (*Damage) Type() slot.ComponentID {
return 3
}
func (*Damage) ID() string {
return "minecraft:damage"
}