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

@ -1,6 +1,6 @@
package client
import "github.com/Tnze/go-mc/data/packetid"
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type ConfigClearDialog struct {

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 *ConfigClearDialog) ReadFrom(r io.Reader) (n int64, err error) {

View File

@ -1,6 +1,6 @@
package client
import "github.com/Tnze/go-mc/data/packetid"
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type ConfigCookieRequest struct {

View File

@ -1,6 +1,6 @@
package client
import "github.com/Tnze/go-mc/data/packetid"
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type ConfigCustomPayload struct {

View File

@ -1,8 +1,9 @@
package client
import (
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/patyhank/minego/pkg/protocol/packet/game/client"
"github.com/Tnze/go-mc/data/packetid"
)
type ConfigCustomReportDetails struct {

View File

@ -1,8 +1,8 @@
package client
import (
"github.com/Tnze/go-mc/chat"
"github.com/Tnze/go-mc/data/packetid"
"git.konjactw.dev/falloutBot/go-mc/chat"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
)
//codec:gen

View File

@ -1,6 +1,6 @@
package client
import "github.com/Tnze/go-mc/data/packetid"
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type ConfigFinishConfiguration struct {

View File

@ -1,6 +1,6 @@
package client
import "github.com/Tnze/go-mc/data/packetid"
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type ConfigKeepAlive struct {

View File

@ -1,8 +1,8 @@
package client
import (
"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"
)
type ClientboundPacket interface {

View File

@ -1,6 +1,6 @@
package client
import "github.com/Tnze/go-mc/data/packetid"
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type ConfigPing struct {

View File

@ -1,8 +1,8 @@
package client
import (
"github.com/Tnze/go-mc/data/packetid"
"github.com/Tnze/go-mc/nbt"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/falloutBot/go-mc/nbt"
)
//codec:gen

View File

@ -1,6 +1,6 @@
package client
import "github.com/Tnze/go-mc/data/packetid"
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type ConfigResetChat struct {

View File

@ -1,8 +1,9 @@
package client
import (
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/patyhank/minego/pkg/protocol/packet/game/client"
"github.com/Tnze/go-mc/data/packetid"
)
type ConfigResourcePackPop struct {

View File

@ -1,8 +1,9 @@
package client
import (
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/patyhank/minego/pkg/protocol/packet/game/client"
"github.com/Tnze/go-mc/data/packetid"
)
type ConfigResourcePackPush struct {

View File

@ -1,6 +1,6 @@
package client
import "github.com/Tnze/go-mc/data/packetid"
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type KnownPack struct {

View File

@ -1,8 +1,9 @@
package client
import (
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/patyhank/minego/pkg/protocol/packet/game/client"
"github.com/Tnze/go-mc/data/packetid"
)
type ConfigServerLinks struct {

View File

@ -1,8 +1,9 @@
package client
import (
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/patyhank/minego/pkg/protocol/packet/game/client"
"github.com/Tnze/go-mc/data/packetid"
)
type ConfigShowDialog struct {

View File

@ -1,6 +1,6 @@
package client
import "github.com/Tnze/go-mc/data/packetid"
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type ConfigStoreCookie struct {

View File

@ -1,6 +1,6 @@
package client
import "github.com/Tnze/go-mc/data/packetid"
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type ConfigTransfer struct {

View File

@ -1,6 +1,6 @@
package client
import "github.com/Tnze/go-mc/data/packetid"
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type ConfigUpdateEnabledFeatures struct {

View File

@ -1,8 +1,9 @@
package client
import (
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/patyhank/minego/pkg/protocol/packet/game/client"
"github.com/Tnze/go-mc/data/packetid"
)
type ConfigUpdateTags struct {