public class EntityLootTable extends Object
Constructor and Description |
---|
EntityLootTable(org.json.simple.JSONObject object)
Parses a loot table from JSON.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
LootRandomValues |
getExperience() |
LootItem[] |
getItems() |
int |
hashCode() |
String |
toString() |
public EntityLootTable(org.json.simple.JSONObject object)
object
- a loot table in JSON formpublic LootItem[] getItems()
public LootRandomValues getExperience()
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.