Initialize Commit
This commit is contained in:
17
codec/component/fireworks.go
Normal file
17
codec/component/fireworks.go
Normal file
@ -0,0 +1,17 @@
|
||||
package component
|
||||
|
||||
import "git.konjactw.dev/patyhank/minego/codec/data/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"
|
||||
}
|
Reference in New Issue
Block a user