Package net.minecraft.text
Class HoverEvent
java.lang.Object
net.minecraft.text.HoverEvent
public class HoverEvent extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HoverEvent.Action<T>
static class
HoverEvent.EntityContent
static class
HoverEvent.ItemStackContent
-
Field Summary
-
Constructor Summary
Constructors Constructor Description HoverEvent(HoverEvent.Action<T> action, T contents)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
static HoverEvent
fromJson(JsonObject json)
HoverEvent.Action<?>
getAction()
<T> T
getValue(HoverEvent.Action<T> action)
int
hashCode()
JsonObject
toJson()
String
toString()