Files
minego/pkg/protocol/component/fireworks.go
2025-08-22 05:14:59 +08:00

20 lines
322 B
Go

package component
import (
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
)
//codec:gen
type Fireworks struct {
FlightDuration int32 `mc:"VarInt"`
Explosions []FireworkExplosionData
}
func (*Fireworks) Type() slot.ComponentID {
return 60
}
func (*Fireworks) ID() string {
return "minecraft:fireworks"
}