Class HoverEvent

java.lang.Object
net.minecraft.network.chat.HoverEvent

public class HoverEvent extends Object
  • Field Details

    • LOGGER

      static final org.apache.logging.log4j.Logger LOGGER
    • action

      private final HoverEvent.Action<?> action
    • value

      private final Object value
  • Constructor Details

  • Method Details

    • getAction

      public HoverEvent.Action<?> getAction()
    • getValue

      @Nullable public <T> T getValue(HoverEvent.Action<T> p_130824_)
    • equals

      public boolean equals(Object p_130828_)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • deserialize

      @Nullable public static HoverEvent deserialize(com.google.gson.JsonObject p_130822_)
    • serialize

      public com.google.gson.JsonObject serialize()