getBlockHits: Get most recent block hits

Description Usage Value Note See Also Examples

View source: R/events.R

Description

Return the most recent block hits made in the Minecraft world by an iron sword.

Usage

1

Value

A dataframe with columns for the coordinates, block type, and player id of recent block hits.

Note

Only right clicks with an iron sword are logged.

See Also

getChatPosts

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
getBlockHits()

library(futile.logger)
while (TRUE) {
    flog.info(getEventsBlockHits())
    Sys.sleep(1)
}

## End(Not run)

ropenscilabs/miner documentation built on March 20, 2018, 8:52 p.m.