getMobStats: Get per-mob stats

Description Usage Arguments Value Examples

Description

Extract common mob names from a list of mob stats. Uses strings.entities for substitutions of some mob names.

Usage

1
getMobStats(entities = entities, mobData = NULL)

Arguments

entities

The entities dataset from which mob names should be extracted

mobData

Dataset of mob metadata, defaults to strings.mobs

Value

Vector of mob names, adjusted for readability

Examples

1
2
3
4
5
## Not run: 
entities <- stats2df(fromJSON("http://api.wurstmineberg.de/server/playerstats/general.json"))
getMobStats(entities)

## End(Not run)

jemus42/wurstmineR documentation built on May 19, 2019, 4:03 a.m.