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,8 +1,9 @@
package component
import (
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"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/nbt"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/nbt"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/nbt"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/nbt"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
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"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/net/packet"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/nbt"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/nbt"
)
//codec:gen

View File

@ -3,9 +3,10 @@ package component
import (
"io"
"git.konjactw.dev/falloutBot/go-mc/nbt"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/nbt"
pk "github.com/Tnze/go-mc/net/packet"
)
//codec:gen

View File

@ -3,8 +3,9 @@ package component
import (
"io"
"git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/net/packet"
)
type ChickenVariant 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 *AttributeModifiers) ReadFrom(r io.Reader) (n int64, err error) {

View File

@ -1,8 +1,9 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/net/packet"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/nbt"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/nbt"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/nbt"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/nbt"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/chat"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/chat"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
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"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/nbt"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/nbt"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/nbt"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/nbt"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
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"
)
//codec:gen

View File

@ -1,9 +1,10 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/chat"
"git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/chat"
"github.com/Tnze/go-mc/net/packet"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/nbt"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/nbt"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/net/packet"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/chat"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/chat"
)
//codec:gen

View File

@ -3,9 +3,10 @@ package component
import (
"io"
"git.konjactw.dev/falloutBot/go-mc/chat"
"git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/chat"
"github.com/Tnze/go-mc/net/packet"
)
type JukeboxPlayable struct {

View File

@ -1,8 +1,9 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/nbt"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/nbt"
)
//codec:gen

View File

@ -1,9 +1,10 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/net/packet"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/net/packet"
pk "github.com/Tnze/go-mc/net/packet"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/chat"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/chat"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/nbt"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/nbt"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/net/packet"
)
//codec:gen

View File

@ -1,9 +1,10 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/chat"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/chat"
pk "github.com/Tnze/go-mc/net/packet"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
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"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/net/packet"
)
//codec:gen

View File

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

View File

@ -1,8 +1,9 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/nbt"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/nbt"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
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"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
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"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
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"
)
//codec:gen

View File

@ -1,9 +1,10 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/chat"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/chat"
pk "github.com/Tnze/go-mc/net/packet"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
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"
)
//codec:gen

View File

@ -1,8 +1,9 @@
package component
import (
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"
)
//codec:gen

View File

@ -1,9 +1,10 @@
package component
import (
"git.konjactw.dev/falloutBot/go-mc/chat"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/chat"
pk "github.com/Tnze/go-mc/net/packet"
)
//codec:gen

View File

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

View File

@ -3,7 +3,7 @@ package metadata
import (
"io"
pk "github.com/Tnze/go-mc/net/packet"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
)
type MetadataType int32

View File

@ -1,12 +1,13 @@
package metadata
import (
"git.konjactw.dev/falloutBot/go-mc/chat"
"git.konjactw.dev/falloutBot/go-mc/nbt"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/component"
"git.konjactw.dev/patyhank/minego/pkg/protocol/particle"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/chat"
"github.com/Tnze/go-mc/nbt"
pk "github.com/Tnze/go-mc/net/packet"
)
type Byte 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 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 {

View File

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

View File

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

View File

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

View File

@ -1,8 +1,8 @@
package server
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,8 +1,9 @@
package server
import (
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/patyhank/minego/pkg/protocol/packet/game/server"
"github.com/Tnze/go-mc/data/packetid"
)
type ConfigCustomPayload struct {

View File

@ -1,6 +1,6 @@
package server
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 server
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 server
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 ServerboundPacket interface {

View File

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

View File

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

View File

@ -1,8 +1,9 @@
package server
import (
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/patyhank/minego/pkg/protocol/packet/configuration/client"
"github.com/Tnze/go-mc/data/packetid"
)
//codec:gen

View File

@ -1,9 +1,10 @@
package client
import (
"github.com/Tnze/go-mc/data/packetid"
"github.com/Tnze/go-mc/net/packet"
"github.com/google/uuid"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/falloutBot/go-mc/net/packet"
)
var _ ClientboundPacket = (*AddEntity)(nil)

View File

@ -1,8 +1,8 @@
package client
import (
"github.com/Tnze/go-mc/data/packetid"
"github.com/Tnze/go-mc/net/packet"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/falloutBot/go-mc/net/packet"
)
var _ ClientboundPacket = (*Animate)(nil)

View File

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

View File

@ -1,7 +1,7 @@
package client
import (
"github.com/Tnze/go-mc/data/packetid"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
)
var _ ClientboundPacket = (*BlockChangedAck)(nil)

View File

@ -1,8 +1,8 @@
package client
import (
"github.com/Tnze/go-mc/data/packetid"
"github.com/Tnze/go-mc/net/packet"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/falloutBot/go-mc/net/packet"
)
var _ ClientboundPacket = (*BlockDestruction)(nil)

View File

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

View File

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

View File

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

View File

@ -3,9 +3,10 @@ package client
import (
"io"
"github.com/Tnze/go-mc/chat"
pk "github.com/Tnze/go-mc/net/packet"
"github.com/google/uuid"
"git.konjactw.dev/falloutBot/go-mc/chat"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
)
// codec:gen

View File

@ -6,9 +6,11 @@ import (
"errors"
"io"
"git.konjactw.dev/patyhank/minego/pkg/protocol/component"
"github.com/Tnze/go-mc/net/packet"
"github.com/google/uuid"
"git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/component"
)
func (c *AddEntity) ReadFrom(r io.Reader) (n int64, err error) {

View File

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

View File

@ -1,8 +1,8 @@
package client
import (
"github.com/Tnze/go-mc/data/packetid"
"github.com/Tnze/go-mc/net/packet"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/falloutBot/go-mc/net/packet"
)
var _ ClientboundPacket = (*ContainerSetData)(nil)

View File

@ -1,9 +1,10 @@
package client
import (
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/falloutBot/go-mc/net/packet"
"git.konjactw.dev/patyhank/minego/pkg/protocol/slot"
"github.com/Tnze/go-mc/data/packetid"
"github.com/Tnze/go-mc/net/packet"
)
var _ ClientboundPacket = (*ContainerSetSlot)(nil)

View File

@ -1,6 +1,6 @@
package client
import pk "github.com/Tnze/go-mc/net/packet"
import pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
//codec:gen
type CookieRequest 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"
)
var _ ClientboundPacket = (*Cooldown)(nil)

View File

@ -1,8 +1,8 @@
package client
import (
"github.com/Tnze/go-mc/data/packetid"
"github.com/Tnze/go-mc/net/packet"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/falloutBot/go-mc/net/packet"
)
var _ ClientboundPacket = (*CustomChatCompletions)(nil)

View File

@ -1,6 +1,6 @@
package client
import pk "github.com/Tnze/go-mc/net/packet"
import pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
//codec:gen
type CustomPayload 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"
)
var _ ClientboundPacket = (*DamageEvent)(nil)

View File

@ -1,8 +1,8 @@
package client
import (
"github.com/Tnze/go-mc/data/packetid"
"github.com/Tnze/go-mc/net/packet"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/falloutBot/go-mc/net/packet"
)
var _ ClientboundPacket = (*DebugSample)(nil)

View File

@ -1,8 +1,8 @@
package client
import (
"github.com/Tnze/go-mc/data/packetid"
"github.com/Tnze/go-mc/net/packet"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/falloutBot/go-mc/net/packet"
)
var _ ClientboundPacket = (*DeleteChat)(nil)

View File

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

View File

@ -1,9 +1,9 @@
package client
import (
"github.com/Tnze/go-mc/chat"
"github.com/Tnze/go-mc/data/packetid"
"github.com/Tnze/go-mc/net/packet"
"git.konjactw.dev/falloutBot/go-mc/chat"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/falloutBot/go-mc/net/packet"
)
var _ ClientboundPacket = (*DisguisedChat)(nil)

View File

@ -1,8 +1,8 @@
package client
import (
"github.com/Tnze/go-mc/data/packetid"
"github.com/Tnze/go-mc/net/packet"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/falloutBot/go-mc/net/packet"
)
var _ ClientboundPacket = (*EntityEvent)(nil)

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"
)
var _ ClientboundPacket = (*Explode)(nil)

View File

@ -1,8 +1,8 @@
package client
import (
"github.com/Tnze/go-mc/data/packetid"
"github.com/Tnze/go-mc/level"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
"git.konjactw.dev/falloutBot/go-mc/level"
)
var _ ClientboundPacket = (*ForgetLevelChunk)(nil)

View File

@ -1,7 +1,7 @@
package client
import (
"github.com/Tnze/go-mc/data/packetid"
"git.konjactw.dev/falloutBot/go-mc/data/packetid"
)
var _ ClientboundPacket = (*GameEvent)(nil)

Some files were not shown because too many files have changed in this diff Show More