Package net.minecraft.util.text.event
Class ClickEvent
- java.lang.Object
-
- net.minecraft.util.text.event.ClickEvent
-
public class ClickEvent extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClickEvent.Action
-
Field Summary
Fields Modifier and Type Field Description private ClickEvent.Action
action
private java.lang.String
value
-
Constructor Summary
Constructors Constructor Description ClickEvent(ClickEvent.Action p_i45156_1_, java.lang.String p_i45156_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object p_equals_1_)
ClickEvent.Action
getAction()
java.lang.String
getValue()
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
action
private final ClickEvent.Action action
-
value
private final java.lang.String value
-
-
Constructor Detail
-
ClickEvent
public ClickEvent(ClickEvent.Action p_i45156_1_, java.lang.String p_i45156_2_)
-
-
Method Detail
-
getAction
public ClickEvent.Action getAction()
-
getValue
public java.lang.String getValue()
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-