Skip to content

Commit

Permalink
add cuboidtag.world
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Oct 13, 2020
1 parent 0ac54b1 commit 6c57baa
Showing 1 changed file with 10 additions and 0 deletions.
Expand Up @@ -1152,6 +1152,16 @@ public static void registerTags() {
}
});

// <--[tag]
// @attribute <CuboidTag.world>
// @returns WorldTag
// @description
// Returns the cuboid's world.
// -->
registerTag("world", (attribute, cuboid) -> {
return new WorldTag(cuboid.pairs.get(0).low.getWorld());
});

// <--[tag]
// @attribute <CuboidTag.min>
// @returns LocationTag
Expand Down

0 comments on commit 6c57baa

Please sign in to comment.