Updated 1.21.6
This commit is contained in:
20
level/item/item.go
Normal file
20
level/item/item.go
Normal file
@ -0,0 +1,20 @@
|
||||
package item
|
||||
|
||||
import (
|
||||
_ "embed"
|
||||
|
||||
"github.com/Tnze/go-mc/level/block"
|
||||
)
|
||||
|
||||
type Item interface {
|
||||
ID() string
|
||||
}
|
||||
|
||||
type BlockItem interface {
|
||||
Block() block.Block
|
||||
}
|
||||
|
||||
// This file stores all possible block states into a TAG_List with gzip compressed.
|
||||
//
|
||||
//go:generate go run ./generator/main.go
|
||||
type ID int
|
Reference in New Issue
Block a user