Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
add entitytag.entity_type
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Feb 7, 2017
1 parent 3c59f62 commit a30dc74
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Expand Up @@ -53,6 +53,14 @@ public String friendlyName() {
}

static {
// <--[tag]
// @Name EntityTag.entity_type
// @Updated 2017/02/07
// @Group Identification
// @ReturnType EntiyTypeTag
// @Returns the type of this entity.
// -->
handlers.put("entity_type", (dat, obj) -> new EntityTypeTag(((EntityTag) obj).internal.getType()));
// <--[tag]
// @Name EntityTag.friendly_name
// @Updated 2016/08/26
Expand Down
Expand Up @@ -67,7 +67,7 @@ public UtilLocation getInternal() {
// <--[tag]
// @Name LocationTag.block_type
// @Updated 2017/02/07
// @Group Identification
// @Group World Data
// @ReturnType BlockTypeTag
// @Returns the type of the block at the location.
// @Example "0,1,2,world" .block_type may return "stone".
Expand Down

0 comments on commit a30dc74

Please sign in to comment.