17 lines
278 B
Go
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"
|
|
}
|