#[RESOLVED]

7 messages · Page 1 of 1 (latest)

crystal grail
#
int slot = client.player.getInventory().selectedSlot;
            ClientPlayNetworkHandler networkHandler = client.getNetworkHandler();
            ItemStack newItemStack = itemStack;
            newItemStack.setCount(37);

            networkHandler.sendPacket(new CreativeInventoryActionC2SPacket(slot + 36, newItemStack));
            client.player.getInventory().setStack(slot, newItemStack);

Ive seen people having the same problem as me, Why does this only make ghost items in the client even when im sending a packet to the server???

I am in creative mode and even have the highest perms even though the only thing needed is to be in creative mode

#

[RESOLVED]

empty ermine
#

What was the solution?

safe crest
#

we may never know

#

@crystal grail could you share your eventual solution?

#

also, renaming the post title to a single word may make it hard for people to find similar issues and find their solution quicker

crystal grail
#

i realized that it always worked and i just was using an unstackable item for testing