mojira.dev
MC-76246

Show Entity Hover Event Not Functioning

When running this command:

/tellraw @a {
  text:"Hover.",
  hoverEvent:{
    action:show_entity,
    value:"{name:\"Bob\",type:Creeper,id:00000000-0000-0000-0000-000000000000}"
  }
}

Expected behavior:
Upon being tellraw-ed the text, it will display in chat the word "Hover." and when hovering over it, basic information about Bob the creeper will be displayed.

Actual behavior:
When I am tellraw-ed the text, the word "Hover." appears in chat, but hovering over it does nothing.

Steps to reproduce:
1. Get a command block.
2. Copy paste this command into the command block.
3. Power the command block.
4. Hover over the message.

I've tried to get this command to work - and you can see the discussion for this - over here, on github. As you can see from this discussion page, at first glance it looks to be an issue with compatibility with my environment.

Linked issues

Attachments

Comments 18

Maybe attach a screenshot?

As stated on github, can't reproduce with Win7 Home Premium 64Bit and Java 1.8_25

The mouse is not shown here, but in this screenshot my mouse is over the "Hover." text

The mouse is not shown here, but in this screenshot my mouse is over the "Hover." text

Did you try using "minecraftjson.com"? Without the quotations.

8 more comments

True, however mine mentioned explicitly the entity tag and it confirms that this bug affects the current stable version.

It does not work? Weird, the command I showed you here works for me in my world.

It does not work? Weird, the command I showed you here works for me in my world.

@Dlawso the Really Lucky Rabbit,

It's not a dupe of MC-56373. The other Bug report doesn't use the "show_entity" action in the hoverEvent. This bug still persist in Java 1.17.
 

@Dlawso the Really Lucky Rabbit,

It's not a dupe of MC-56373. The other Bug report doesn't use the "show_entity" action in the hoverEvent. This bug still persist in Java 1.17.
 

Glen H

(Unassigned)

Unconfirmed

Minecraft 1.8.1

Retrieved