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

@ -5,7 +5,7 @@ import (
"io"
"math"
pk "github.com/Tnze/go-mc/net/packet"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
)
const (

View File

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

View File

@ -7,7 +7,7 @@ import (
"fmt"
"math/bits"
"github.com/Tnze/go-mc/nbt"
"git.konjactw.dev/falloutBot/go-mc/nbt"
)
type Block interface {

View File

@ -10,8 +10,8 @@ import (
"strings"
"text/template"
"github.com/Tnze/go-mc/internal/generateutils"
"github.com/Tnze/go-mc/nbt"
"git.konjactw.dev/falloutBot/go-mc/internal/generateutils"
"git.konjactw.dev/falloutBot/go-mc/nbt"
)
//go:embed blockentities.go.tmpl

View File

@ -9,8 +9,8 @@ import (
"os"
"text/template"
"github.com/Tnze/go-mc/internal/generateutils"
"github.com/Tnze/go-mc/nbt"
"git.konjactw.dev/falloutBot/go-mc/internal/generateutils"
"git.konjactw.dev/falloutBot/go-mc/nbt"
)
//go:embed blocks.go.tmpl

View File

@ -8,10 +8,10 @@ import (
"math/bits"
"strconv"
"github.com/Tnze/go-mc/level/block"
"github.com/Tnze/go-mc/nbt"
pk "github.com/Tnze/go-mc/net/packet"
"github.com/Tnze/go-mc/save"
"git.konjactw.dev/falloutBot/go-mc/level/block"
"git.konjactw.dev/falloutBot/go-mc/nbt"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/falloutBot/go-mc/save"
)
type ChunkPos [2]int32

View File

@ -3,7 +3,7 @@
package item
import (
"github.com/Tnze/go-mc/level/block"
"git.konjactw.dev/falloutBot/go-mc/level/block"
)
type (

View File

@ -9,8 +9,8 @@ import (
"os"
"text/template"
"github.com/Tnze/go-mc/internal/generateutils"
"github.com/Tnze/go-mc/nbt"
"git.konjactw.dev/falloutBot/go-mc/internal/generateutils"
"git.konjactw.dev/falloutBot/go-mc/nbt"
)
//go:embed items.go.tmpl

View File

@ -3,7 +3,7 @@ package item
import (
_ "embed"
"github.com/Tnze/go-mc/level/block"
"git.konjactw.dev/falloutBot/go-mc/level/block"
)
type Item interface {

View File

@ -3,7 +3,7 @@
package item
import (
"github.com/Tnze/go-mc/level/block"
"git.konjactw.dev/falloutBot/go-mc/level/block"
)
type (

View File

@ -4,9 +4,9 @@ import (
"io"
"strconv"
"github.com/Tnze/go-mc/level/biome"
"github.com/Tnze/go-mc/level/block"
pk "github.com/Tnze/go-mc/net/packet"
"git.konjactw.dev/falloutBot/go-mc/level/biome"
"git.konjactw.dev/falloutBot/go-mc/level/block"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
)
type State interface {

View File

@ -4,7 +4,7 @@ import (
"math/rand"
"testing"
"github.com/Tnze/go-mc/level/block"
"git.konjactw.dev/falloutBot/go-mc/level/block"
)
func TestPaletteContainer_seq(t *testing.T) {