inputs via custom mod are dropped
ayunami2000 opened this issue · 4 comments
client: 1.17
server: ANY (including 1.17 AND SINGLEPLAYER!!)
logs: Dropping untranslated serverbound click slot packet, sent without the client player interaction manager
if you could either fix this or help me to fix my mod to become compatible then i will see it as fixed either way
edit: would like to clarify that no issues occur when multiconnect is removed (except of course I cannot join 1.16.5 and below servers)
You need to send the click slot packet via MinecraftClient.getInstance().interactionManager.clickSlot
, rather than sending the packet directly
How would I get the variables for this, like syncId
Edit: current code: mc.player.networkHandler.sendPacket(new CreativeInventoryActionC2SPacket(slot+36,itemStack));
…On Fri, Jun 18, 2021 at 5:30 AM Joseph Burton ***@***.***> wrote:
You need to send the click slot packet via
MinecraftClient.getInstance().interactionManager.clickSlot, rather than
sending the packet directly
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#184 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF5DB4AYU5WOELBC2NJTKA3TTMG2HANCNFSM464VJMLA>
.
Oh, you're sending a creative mode click. Then you need MinecraftClient.getInstance().interactionManager.clickCreativeStack