refactor package
This commit is contained in:
21
pkg/protocol/packet/game/client/forget_level_chunk.go
Normal file
21
pkg/protocol/packet/game/client/forget_level_chunk.go
Normal file
@ -0,0 +1,21 @@
|
||||
package client
|
||||
|
||||
import (
|
||||
"github.com/Tnze/go-mc/data/packetid"
|
||||
)
|
||||
|
||||
var _ ClientboundPacket = (*ForgetLevelChunk)(nil)
|
||||
|
||||
//codec:gen
|
||||
type ChunkPos struct {
|
||||
X, Z int32
|
||||
}
|
||||
|
||||
//codec:gen
|
||||
type ForgetLevelChunk struct {
|
||||
Pos ChunkPos
|
||||
}
|
||||
|
||||
func (ForgetLevelChunk) ClientboundPacketID() packetid.ClientboundPacketID {
|
||||
return packetid.ClientboundForgetLevelChunk
|
||||
}
|
Reference in New Issue
Block a user