public class RecordedPlayer
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RecordedPlayer.RecordedItem |
| Modifier and Type | Field and Description |
|---|---|
java.util.Map<RecordedPlayer.RecordedItem,SimpleItem> |
quickCache |
| Constructor and Description |
|---|
RecordedPlayer(java.util.Map<java.lang.String,java.lang.Object> serialized) |
RecordedPlayer(java.util.UUID uuid,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static RecordedPlayer |
deserialize(java.util.Map<java.lang.String,java.lang.Object> serialized) |
java.util.Map<java.lang.Integer,java.util.Map.Entry<Location,java.lang.Integer>> |
getBlocksBroken() |
java.util.Map<java.lang.Integer,java.util.Map<Location,SimpleItem>> |
getBlocksPlaced() |
java.util.Map<java.lang.Integer,SimpleItem> |
getBoots() |
java.util.Map<java.lang.Integer,SimpleItem> |
getChestplates() |
int |
getDeath() |
java.util.Map<java.lang.Integer,SimpleItem> |
getHelmets() |
java.util.Map<java.lang.Integer,SimpleItem> |
getItemsInHand() |
java.util.Map<java.lang.Integer,SimpleItem> |
getLeggings() |
java.util.List<Location> |
getLocations() |
java.lang.String |
getName() |
java.util.Map<java.lang.Integer,SerializableProjectile> |
getProjectiles() |
java.util.Map<java.lang.Integer,java.lang.Boolean> |
getSneaks() |
java.util.Map<java.lang.Integer,java.lang.Boolean> |
getSprints() |
java.util.List<java.lang.Integer> |
getSwung() |
java.util.Map<java.lang.Integer,Damage> |
getTookDamage() |
java.util.UUID |
getUuid() |
java.util.List<java.util.Vector> |
getVelocities() |
java.util.Map<java.lang.String,java.lang.Object> |
serialize() |
void |
setBlocksBroken(java.util.Map<java.lang.Integer,java.util.Map.Entry<Location,java.lang.Integer>> blocksBroken) |
void |
setBlocksPlaced(java.util.Map<java.lang.Integer,java.util.Map<Location,SimpleItem>> blocksPlaced) |
void |
setBoots(java.util.Map<java.lang.Integer,SimpleItem> boots) |
void |
setChestplates(java.util.Map<java.lang.Integer,SimpleItem> chestplates) |
void |
setDeath(int death) |
void |
setHelmets(java.util.Map<java.lang.Integer,SimpleItem> helmets) |
void |
setItemInHand(java.util.Map<java.lang.Integer,SimpleItem> itemInHand) |
void |
setLeggings(java.util.Map<java.lang.Integer,SimpleItem> leggings) |
void |
setLocations(java.util.List<Location> locations) |
void |
setName(java.lang.String name) |
void |
setProjectiles(java.util.Map<java.lang.Integer,SerializableProjectile> projectiles) |
void |
setSneaks(java.util.Map<java.lang.Integer,java.lang.Boolean> sneaks) |
void |
setSprints(java.util.Map<java.lang.Integer,java.lang.Boolean> sprints) |
void |
setSwung(java.util.List<java.lang.Integer> swung) |
void |
setTookDamage(java.util.Map<java.lang.Integer,Damage> tookDamage) |
void |
setUuid(java.util.UUID uuid) |
void |
setVelocities(java.util.List<java.util.Vector> velocities) |
static RecordedPlayer |
valueOf(java.util.Map<java.lang.String,java.lang.Object> serialized) |
public java.util.Map<RecordedPlayer.RecordedItem,SimpleItem> quickCache
public RecordedPlayer(java.util.UUID uuid,
java.lang.String name)
public RecordedPlayer(java.util.Map<java.lang.String,java.lang.Object> serialized)
public java.util.Map<java.lang.String,java.lang.Object> serialize()
public java.util.UUID getUuid()
public void setUuid(java.util.UUID uuid)
uuid - the uuid to setpublic java.util.List<Location> getLocations()
public java.util.Map<java.lang.Integer,SerializableProjectile> getProjectiles()
public void setProjectiles(java.util.Map<java.lang.Integer,SerializableProjectile> projectiles)
projectiles - the projectiles to setpublic java.util.Map<java.lang.Integer,java.util.Map.Entry<Location,java.lang.Integer>> getBlocksBroken()
public void setBlocksBroken(java.util.Map<java.lang.Integer,java.util.Map.Entry<Location,java.lang.Integer>> blocksBroken)
blocksBroken - the blocksBroken to setpublic void setLocations(java.util.List<Location> locations)
locations - the locations to setpublic java.util.List<java.util.Vector> getVelocities()
public int getDeath()
public void setDeath(int death)
death - the death to setpublic void setVelocities(java.util.List<java.util.Vector> velocities)
velocities - the velocities to setpublic java.util.Map<java.lang.Integer,Damage> getTookDamage()
public void setTookDamage(java.util.Map<java.lang.Integer,Damage> tookDamage)
tookDamage - the tookDamage to setpublic java.util.List<java.lang.Integer> getSwung()
public void setSwung(java.util.List<java.lang.Integer> swung)
swung - the swung to setpublic java.util.Map<java.lang.Integer,java.util.Map<Location,SimpleItem>> getBlocksPlaced()
public void setBlocksPlaced(java.util.Map<java.lang.Integer,java.util.Map<Location,SimpleItem>> blocksPlaced)
blocksPlaced - the blocksPlaced to setpublic java.util.Map<java.lang.Integer,SimpleItem> getItemsInHand()
public void setItemInHand(java.util.Map<java.lang.Integer,SimpleItem> itemInHand)
public java.util.Map<java.lang.Integer,SimpleItem> getHelmets()
public void setHelmets(java.util.Map<java.lang.Integer,SimpleItem> helmets)
helmets - the helmets to setpublic java.util.Map<java.lang.Integer,SimpleItem> getChestplates()
public void setChestplates(java.util.Map<java.lang.Integer,SimpleItem> chestplates)
chestplates - the chestplates to setpublic java.util.Map<java.lang.Integer,java.lang.Boolean> getSneaks()
public void setSneaks(java.util.Map<java.lang.Integer,java.lang.Boolean> sneaks)
sneaks - the sneaks to setpublic java.util.Map<java.lang.Integer,java.lang.Boolean> getSprints()
public void setSprints(java.util.Map<java.lang.Integer,java.lang.Boolean> sprints)
sprints - the sprints to setpublic java.util.Map<java.lang.Integer,SimpleItem> getLeggings()
public void setLeggings(java.util.Map<java.lang.Integer,SimpleItem> leggings)
leggings - the leggings to setpublic java.util.Map<java.lang.Integer,SimpleItem> getBoots()
public java.lang.String getName()
public void setName(java.lang.String name)
name - the name to setpublic void setBoots(java.util.Map<java.lang.Integer,SimpleItem> boots)
boots - the boots to setpublic static RecordedPlayer deserialize(java.util.Map<java.lang.String,java.lang.Object> serialized)
public static RecordedPlayer valueOf(java.util.Map<java.lang.String,java.lang.Object> serialized)