20 lines
322 B
Go
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"
|
|
}
|