1.19.2 chat support
This commit is contained in:
9
registry/codec.go
Normal file
9
registry/codec.go
Normal file
@ -0,0 +1,9 @@
|
||||
package registry
|
||||
|
||||
import "github.com/Tnze/go-mc/nbt"
|
||||
|
||||
type NetworkCodec struct {
|
||||
ChatType Registry[ChatType] `nbt:"minecraft:chat_type"`
|
||||
DimensionType Registry[Dimension] `nbt:"minecraft:dimension_type"`
|
||||
WorldGenBiome Registry[nbt.RawMessage] `nbt:"minecraft:worldgen/biome"`
|
||||
}
|
Reference in New Issue
Block a user