fixup codes

This commit is contained in:
2025-08-26 12:06:00 +08:00
committed by 蒟蒻
parent 093fdaaecf
commit 9ae126c648
252 changed files with 627 additions and 369 deletions

View File

@ -6,7 +6,7 @@ import (
"errors"
"io"
"github.com/Tnze/go-mc/net/packet"
"git.konjactw.dev/falloutBot/go-mc/net/packet"
)
func (c *AddedHashedComponent) ReadFrom(r io.Reader) (n int64, err error) {

View File

@ -1,7 +1,7 @@
package slot
import (
pk "github.com/Tnze/go-mc/net/packet"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
)
type Component interface {

View File

@ -5,7 +5,7 @@ package recipe
import (
"io"
"github.com/Tnze/go-mc/net/packet"
"git.konjactw.dev/falloutBot/go-mc/net/packet"
)
func (c *Shapeless) ReadFrom(r io.Reader) (n int64, err error) {

View File

@ -3,8 +3,9 @@ package recipe
import (
"io"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot/display/slot"
pk "github.com/Tnze/go-mc/net/packet"
)
type DisplayType int32

View File

@ -5,7 +5,7 @@ package slot
import (
"io"
"github.com/Tnze/go-mc/net/packet"
"git.konjactw.dev/falloutBot/go-mc/net/packet"
)
func (c *Item) ReadFrom(r io.Reader) (n int64, err error) {

View File

@ -3,8 +3,9 @@ package slot
import (
"io"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
pk "github.com/Tnze/go-mc/net/packet"
)
type DisplayType int32

View File

@ -3,8 +3,8 @@ package slot
import (
"io"
"github.com/Tnze/go-mc/level/item"
pk "github.com/Tnze/go-mc/net/packet"
"git.konjactw.dev/falloutBot/go-mc/level/item"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
)
type Slot struct {

View File

@ -3,7 +3,7 @@ package slot
import (
"io"
pk "github.com/Tnze/go-mc/net/packet"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
)
type TradeSlot struct {