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

21 lines
395 B
Go

package component
import (
"git.konjactw.dev/falloutBot/go-mc/nbt"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
)
//codec:gen
type IntangibleProjectile struct {
Empty nbt.RawMessage `mc:"NBT"` // Always empty compound tag
}
func (*IntangibleProjectile) Type() slot.ComponentID {
return 19
}
func (*IntangibleProjectile) ID() string {
return "minecraft:intangible_projectile"
}