Initialize Commit
This commit is contained in:
16
codec/component/max_stack_size.go
Normal file
16
codec/component/max_stack_size.go
Normal file
@ -0,0 +1,16 @@
|
||||
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"
|
||||
}
|
Reference in New Issue
Block a user