public static class HoverEvent.ContentItem extends HoverEvent.Content
| Modifier and Type | Class and Description |
|---|---|
static class |
HoverEvent.ContentItem.Serializer |
| Constructor and Description |
|---|
ContentItem() |
ContentItem(String id,
int count,
ItemTag tag) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
int |
getCount()
Optional.
|
String |
getId()
Namespaced item ID.
|
ItemTag |
getTag()
Optional.
|
int |
hashCode() |
void |
setCount(int count)
Optional.
|
void |
setId(String id)
Namespaced item ID.
|
void |
setTag(ItemTag tag)
Optional.
|
String |
toString() |
public String getId()
public int getCount()
public ItemTag getTag()
public void setId(String id)
public void setCount(int count)
public void setTag(ItemTag tag)
public String toString()
toString in class HoverEvent.Contentpublic boolean equals(Object o)
equals in class HoverEvent.Contentprotected boolean canEqual(Object other)
canEqual in class HoverEvent.Contentpublic int hashCode()
hashCode in class HoverEvent.ContentCopyright © 2015–2020 WaterfallMC. All rights reserved.