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

Annotation equivalent of the FloatArgument. More...

Public Member Functions

float min () default -Float.MAX_VALUE
 
float max () default Float.MAX_VALUE
 

Detailed Description

Annotation equivalent of the FloatArgument.

Member Function Documentation

◆ max()

float dev.jorel.commandapi.annotations.arguments.AFloatArgument.max ( )
Returns
The maximum value this argument can take (inclusive)

◆ min()

float dev.jorel.commandapi.annotations.arguments.AFloatArgument.min ( )
Returns
The minimum value this argument can take (inclusive)