Class HoverEvent

java.lang.Object
net.minecraft.util.text.event.HoverEvent

public class HoverEvent extends Object
  • Field Details

    • LOGGER

      private 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_240662_1_)
    • equals

      public boolean equals(Object p_equals_1_)
      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_240661_0_)
    • serialize

      public com.google.gson.JsonObject serialize()