$SHOW_ITEM$ and $SHOW_ENTITY$ seem to be broken in 1.21.6 #382


Open
  • Zkyo created this issue Jul 16, 2025

    I'm trying to make a text line that shows an item in the hover text, and it seems to be broken in the latest version (Minecraft 1.21.6, MyCommand 5.7.5). 

     

    Using the type RUN_COMMAND, this line should display the item in hover text. Unless I'm misunderstanding how it works?

     

    - '$rawtext$Diamond Block ;$SHOW_ITEM$STONE<and>$rawtext$- 41x41x319 Area. Protects the area against explosions, fire, and prevents others from breaking blocks unless allowed.'

     

    In the server console, it throws this error message:

     

    17.07 02:39:36 [Server] INFO [Mycmd] An error occurred on command help_main | Error : ( com.google.gson.JsonParseException: No key id in MapLike[{"action":"show_item","value":[{"text":"{id:minecraft:stone}"}]}] )


To post a comment, please login or register a new account.