relocate module
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

This commit is contained in:
2025-08-26 19:40:52 +08:00
parent 28415c186f
commit b9763dbf8c
208 changed files with 253 additions and 258 deletions

View File

@ -10,7 +10,7 @@ import (
"strconv"
"time"
pk "github.com/Tnze/go-mc/net/packet"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
)
const DefaultPort = 25565

View File

@ -1,6 +1,6 @@
package net
import pk "github.com/Tnze/go-mc/net/packet"
import pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
type Writer interface {
WritePacket(p pk.Packet) error

View File

@ -6,7 +6,7 @@ import (
"io"
"testing"
pk "github.com/Tnze/go-mc/net/packet"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
)
//go:embed joingame_test.bin

View File

@ -8,7 +8,7 @@ import (
"github.com/google/uuid"
"github.com/Tnze/go-mc/nbt"
"git.konjactw.dev/falloutBot/go-mc/nbt"
)
// A Field is both FieldEncoder and FieldDecoder

View File

@ -6,8 +6,8 @@ import (
"fmt"
"testing"
"github.com/Tnze/go-mc/data/packetid"
pk "github.com/Tnze/go-mc/net/packet"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
)
var VarInts = []pk.VarInt{0, 1, 2, 127, 128, 255, 25565, 2097151, 2147483647, -1, -2147483648}

View File

@ -5,7 +5,7 @@ import (
"fmt"
"testing"
pk "github.com/Tnze/go-mc/net/packet"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
)
func ExampleAry_WriteTo() {