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

Annotation equivalent of the LocationArgument. More...

Public Member Functions

LocationType value () default LocationType.PRECISE_POSITION
 

Detailed Description

Annotation equivalent of the LocationArgument.

Member Function Documentation

◆ value()

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