1.20.6 Creative Tab Failed to decode packet ‘serverbound/minecraft:set_creative_mode_slot’ #28

Closed
opened 2024-05-08 08:27:16 -07:00 by TalosDx · 1 comment
TalosDx commented 2024-05-08 08:27:16 -07:00 (Migrated from github.com)

Reproduce:

  1. Join any server with this mod
  2. Just pick up something and in hotbar
Снимок экрана 2024-05-08 в 18 26 20 Снимок экрана 2024-05-08 в 18 26 31

Minecraft 1.20.6 Official
TerraBlender Fabric 1.20.6-3.5.0.3
fabric api: 0.97.8 1.20.6
Fabric loader: 0.15.11
JavaDungeons 2.0.1 for 1.20.6

When I try to put an item from the mod into my quick access slot from the creative, I get the error “Internal Exception: io.netty.handler.codec.DecoderException: Failed to decode packet ‘serverbound/minecraft:set_creative_mode_slot’”

Simple add mod & dependecies to server mods dir

version: '3'
services:
  minecraft-server:
    container_name: "fabric_minecraft_server"
    image: itzg/minecraft-server
    environment:
      EULA: "TRUE"
      ONLINE_MODE: "TRUE"
      TYPE: "FABRIC"
      VERSION: "1.20.6"
      DIFFICULTY: "normal"
      FABRIC_LOADER_VERSION: "0.15.11"
      ENABLE_RCON: "FALSE"
    ports:
      - "25565:25565"
    volumes:
      - .:/data
    tty: true
    stdin_open: true
    restart: unless-stopped

  restarter:
    image: docker
    volumes: ["/var/run/docker.sock:/var/run/docker.sock"]
    command: ["/bin/sh", "-c", "while true; do sleep 86400; docker restart lostwood_minecraft_server; done"]
    restart: unless-stopped
Reproduce: 1. Join any server with this mod 2. Just pick up something and in hotbar <img width="851" alt="Снимок экрана 2024-05-08 в 18 26 20" src="https://github.com/ashie404/JavaDungeons/assets/9301662/8d156a2f-036f-45ae-a166-81b2ba193868"> <img width="855" alt="Снимок экрана 2024-05-08 в 18 26 31" src="https://github.com/ashie404/JavaDungeons/assets/9301662/fc573221-d329-4ef8-982e-42b92a57322b"> Minecraft 1.20.6 Official TerraBlender Fabric 1.20.6-3.5.0.3 fabric api: 0.97.8 1.20.6 Fabric loader: 0.15.11 JavaDungeons 2.0.1 for 1.20.6 When I try to put an item from the mod into my quick access slot from the creative, I get the error “Internal Exception: io.netty.handler.codec.DecoderException: Failed to decode packet ‘serverbound/minecraft:set_creative_mode_slot’” Simple add mod & dependecies to server mods dir ```docker-compose.yaml version: '3' services: minecraft-server: container_name: "fabric_minecraft_server" image: itzg/minecraft-server environment: EULA: "TRUE" ONLINE_MODE: "TRUE" TYPE: "FABRIC" VERSION: "1.20.6" DIFFICULTY: "normal" FABRIC_LOADER_VERSION: "0.15.11" ENABLE_RCON: "FALSE" ports: - "25565:25565" volumes: - .:/data tty: true stdin_open: true restart: unless-stopped restarter: image: docker volumes: ["/var/run/docker.sock:/var/run/docker.sock"] command: ["/bin/sh", "-c", "while true; do sleep 86400; docker restart lostwood_minecraft_server; done"] restart: unless-stopped ```
TalosDx commented 2024-05-08 08:36:01 -07:00 (Migrated from github.com)

The problem was that the mod was in a subfolder, so the server wouldn't load it.

The one who coded such clear in quotes, error codes in the server and client of minecraft deserves the book “perfect programmer” from Uncle Bob.

The server does not recursively traverse all subfolders in the mods folder because of which it does not load folders.

So you can't group mods in the mods folder.

The problem was that the mod was in a subfolder, so the server wouldn't load it. The one who coded such clear in quotes, error codes in the server and client of minecraft deserves the book “perfect programmer” from Uncle Bob. The server does not recursively traverse all subfolders in the mods folder because of which it does not load folders. So you can't group mods in the mods folder.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ashie404/JavaDungeons#28
No description provided.