CommandAPI 9.7.0
An API for the command UI introduced in Minecraft 1.13
dev.jorel.commandapi.annotations.arguments.ALocation2DArgument Interface Reference

Annotation equivalent of the Location2DArgument. More...

Public Member Functions

LocationType value () default LocationType.PRECISE_POSITION
 

Detailed Description

Annotation equivalent of the Location2DArgument.

Member Function Documentation

◆ value()

LocationType dev.jorel.commandapi.annotations.arguments.ALocation2DArgument.value ( )
Returns
the location type of this location, either LocationType#BLOCK_POSITION or LocationType#PRECISE_POSITION. Defaults to LocationType#PRECISE_POSITION