Files
go-mc/level/item/item.go
patyhank 185020e31c
Some checks failed
CodeQL / Analyze (go) (push) Has been cancelled
Go / Test (1.22) (push) Has been cancelled
Go / Test (^1.22) (push) Has been cancelled
Squashed below commits
nbt chat message

fixes some bug

chunk temp

relocate module

items id
2025-08-27 20:29:40 +08:00

22 lines
327 B
Go

package item
import (
_ "embed"
"git.konjactw.dev/falloutBot/go-mc/level/block"
)
type Item interface {
ID() ID
Name() 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