Initial commit

This commit is contained in:
SantianDev
2026-03-03 15:05:55 +03:00
commit a9c89f027a
37 changed files with 3256 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
package bedrock
import (
"github.com/cubexteam/Frodding/net/info"
"github.com/cubexteam/Frodding/net/packets"
)
type ResourcePackStackPacket struct {
*packets.Packet
MustAccept bool
}
func NewResourcePackStackPacket(mustAccept bool) *ResourcePackStackPacket {
return &ResourcePackStackPacket{
Packet: packets.NewPacket(info.IDResourcePackStack),
MustAccept: mustAccept,
}
}
func (pk *ResourcePackStackPacket) Encode() {
pk.PutBool(pk.MustAccept)
pk.PutLShort(0)
pk.PutLShort(0)
}
func (pk *ResourcePackStackPacket) Decode() {}