Package cn.nukkit.command.tree.node
Class IntPositionNode
java.lang.Object
cn.nukkit.command.tree.node.ParamNode<Position>
cn.nukkit.command.tree.node.PositionNode
cn.nukkit.command.tree.node.IntPositionNode
- All Implemented Interfaces:
IParamNode<Position>
验证是否为整数坐标并将参数解析为
Position
值
所有命令参数类型为BLOCK_POSITION
如果没有手动指定IParamNode
,则会默认使用这个解析
-
Field Summary
Fields inherited from class cn.nukkit.command.tree.node.PositionNode
coordinate, index, TMP
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class cn.nukkit.command.tree.node.PositionNode
fill, get, get, getRelative, reset, setRelative
Methods inherited from class cn.nukkit.command.tree.node.ParamNode
getParent, hasResult, init, isOptional
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cn.nukkit.command.tree.node.IParamNode
error, error, error, error
-
Constructor Details
-
IntPositionNode
public IntPositionNode()
-