tweakeroo icon indicating copy to clipboard operation
tweakeroo copied to clipboard

Bug: inventory preview cannot work for crafter in 1.20.4

Open KleinQwQ opened this issue 1 year ago • 2 comments

Mc Version 1.20.4 mod version 0.19.2

KleinQwQ avatar May 14 '24 03:05 KleinQwQ

oh, it only now work in server

KleinQwQ avatar May 14 '24 03:05 KleinQwQ

The server doesn't normally sent the block entity contents to the clients. It only sends data that the client needs t properly render everything. So the inventory preview doesn't work in multiplayer on its own, it needs a server side mod to send the data.

I still don't have this sync functionality in my own mods. But if the server has the pca-protocol mod and the client has MasaGadget and the pcaSyncProtocol option is enabled in MasaGadget, then the Tweakeroo Inventory Preview tweak should work (it's worth noting that MasaGadget doesn't seem to implement the sync for Litematica's Block Info Overlay).

If it works without these mods, then something else, such as opening the inventory GUI might have saved the data to the client side world. But that data probably won't keep updating "on its own". And this normally doesn't happen for vanilla inventories even when opening the inventory GUI, as the vanilla game doesn't put that data to the client world, it just forgets it immediately when you close the GUI.

maruohon avatar May 14 '24 18:05 maruohon