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

@ -6,7 +6,7 @@ import (
"fmt"
"io"
"github.com/Tnze/go-mc/nbt"
"git.konjactw.dev/falloutBot/go-mc/nbt"
)
func (v *Value) UnmarshalNBT(tagType byte, r nbt.DecoderReader) error {

View File

@ -5,7 +5,7 @@ import (
_ "embed"
"testing"
"github.com/Tnze/go-mc/nbt"
"git.konjactw.dev/falloutBot/go-mc/nbt"
)
//go:embed bigTest_test.snbt

View File

@ -4,7 +4,7 @@ import (
"errors"
"io"
"github.com/Tnze/go-mc/nbt"
"git.konjactw.dev/falloutBot/go-mc/nbt"
)
func (v *Value) TagType() byte { return v.tag }

View File

@ -6,7 +6,7 @@ import (
"reflect"
"testing"
"github.com/Tnze/go-mc/nbt"
"git.konjactw.dev/falloutBot/go-mc/nbt"
)
func TestValue_new(t *testing.T) {

View File

@ -21,7 +21,7 @@ import (
"encoding/binary"
"math"
"github.com/Tnze/go-mc/nbt"
"git.konjactw.dev/falloutBot/go-mc/nbt"
)
type Value struct {

View File

@ -1,6 +1,6 @@
package dynbt
import "github.com/Tnze/go-mc/nbt"
import "git.konjactw.dev/falloutBot/go-mc/nbt"
func (v *Value) Set(key string, val *Value) {
if v.tag != nbt.TagCompound {