public class LootItem extends Object
Constructor and Description |
---|
LootItem(org.json.simple.JSONObject object)
Reads a LootItem from its JSON form.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
ConditionalLootItem[] |
getConditionalItems() |
DefaultLootItem |
getDefaultItem() |
int |
hashCode() |
String |
toString() |
public LootItem(org.json.simple.JSONObject object)
object
- a LootItem in JSON formpublic DefaultLootItem getDefaultItem()
public ConditionalLootItem[] getConditionalItems()
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.