packetevents icon indicating copy to clipboard operation
packetevents copied to clipboard

Certain Invisible Item Drops

Open GentlemanCheesy opened this issue 1 year ago • 5 comments

Describe the bug Certain items containing specific item components will be invisible while dropped from your inventory.

Software brand Paper 1.21.1

Plugins image

How To Reproduce

  1. Obtain an item with item components similar to the item in question.
  2. Drop it on the ground.
  3. Observe it being invisible.
  4. Try to pick it up to determine it was dropped.

Expected behavior Item in question should be visible when dropped.

Screenshots N/A

Additional context Server Latest.log on pastebin: https://pastebin.com/La90Qa8c "/paper dumpitem" output: minecraft:paper[jukebox_playable={song: "redux:moyai"},custom_model_data=9000067,max_stack_size=1,custom_name='{"extra":[{"bold":false,"italic":false,"obfuscated":false,"strikethrough":false,"text":"Music Disc","underlined":false}],"text":""}',custom_data={CheesyCraft: "MoyaiManor"},rarity="rare"]

GentlemanCheesy avatar Sep 29 '24 23:09 GentlemanCheesy

Note that this might be related to (https://github.com/retrooper/packetevents/issues/1011)

GentlemanCheesy avatar Sep 29 '24 23:09 GentlemanCheesy

Yes, most likely, the component of the effect contained in the food is to blame for this, well, for me personally.

Vinrey123 avatar Oct 03 '24 10:10 Vinrey123

This issue is still present with the "jukebox_playable" item component from the "/paper dumpitem" above. Tested on dev builds: image

GentlemanCheesy avatar Oct 16 '24 20:10 GentlemanCheesy

Are there any errors shown in the console?

booky10 avatar Oct 17 '24 14:10 booky10

Here is a snippet of the logs immediately after dropping said item on the ground, which spams the console. https://pastebin.com/hxXJkhP3

GentlemanCheesy avatar Oct 17 '24 20:10 GentlemanCheesy

Does it still happen on the latest version? @GentlemanCheesy

NoJokeFNA avatar Nov 04 '25 11:11 NoJokeFNA

Cannot replicate this issue on current version of packet-events. Same item as the original works fine.

GentlemanCheesy avatar Nov 04 '25 22:11 GentlemanCheesy

Great! :) @booky10 can be closed

NoJokeFNA avatar Nov 05 '25 06:11 NoJokeFNA