Files
minego/codec/component/max_stack_size.go
2025-06-19 15:01:07 +08:00

17 lines
278 B
Go

package component
import "git.konjactw.dev/patyhank/minego/codec/data/slot"
//codec:gen
type MaxStackSize struct {
Size int32 `mc:"VarInt"`
}
func (*MaxStackSize) Type() slot.ComponentID {
return 1
}
func (*MaxStackSize) ID() string {
return "minecraft:max_stack_size"
}