refactor package
This commit is contained in:
13
pkg/protocol/packet/game/client/block_entity_data.go
Normal file
13
pkg/protocol/packet/game/client/block_entity_data.go
Normal file
@ -0,0 +1,13 @@
|
||||
package client
|
||||
|
||||
import (
|
||||
"github.com/Tnze/go-mc/nbt"
|
||||
"github.com/Tnze/go-mc/net/packet"
|
||||
)
|
||||
|
||||
// codec:gen
|
||||
type BlockEntityData struct {
|
||||
Position packet.Position
|
||||
Type int32 `mc:"VarInt"`
|
||||
Data nbt.RawMessage `mc:"NBT"`
|
||||
}
|
Reference in New Issue
Block a user