Initialize Commit
This commit is contained in:
22
codec/component/suspicious_stew_effects.go
Normal file
22
codec/component/suspicious_stew_effects.go
Normal file
@ -0,0 +1,22 @@
|
||||
package component
|
||||
|
||||
import "git.konjactw.dev/patyhank/minego/codec/data/slot"
|
||||
|
||||
//codec:gen
|
||||
type SuspiciousStewEffects struct {
|
||||
Effects []SuspiciousStewEffect
|
||||
}
|
||||
|
||||
//codec:gen
|
||||
type SuspiciousStewEffect struct {
|
||||
TypeID int32 `mc:"VarInt"`
|
||||
Duration int32 `mc:"VarInt"`
|
||||
}
|
||||
|
||||
func (*SuspiciousStewEffects) Type() slot.ComponentID {
|
||||
return 44
|
||||
}
|
||||
|
||||
func (*SuspiciousStewEffects) ID() string {
|
||||
return "minecraft:suspicious_stew_effects"
|
||||
}
|
Reference in New Issue
Block a user