Package cn.lunadeer.dominion.api
Class AbstractOperator
java.lang.Object
cn.lunadeer.dominion.api.AbstractOperator
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddResult
(AbstractOperator.ResultType type, cn.lunadeer.minecraftpluginutils.i18n.i18n message, Object... args) addResult
(AbstractOperator.ResultType type, String message) addResult
(AbstractOperator.ResultType type, String message, Object... args) addResultHeader
(AbstractOperator.ResultType type, cn.lunadeer.minecraftpluginutils.i18n.i18n message, Object... args) addResultHeader
(AbstractOperator.ResultType type, String message) addResultHeader
(AbstractOperator.ResultType type, String message, Object... args) void
void
completeResult
(boolean once) org.bukkit.block.BlockFace
protected Map<AbstractOperator.ResultType,
String> org.bukkit.Location
org.bukkit.entity.Player
protected Map<AbstractOperator.ResultType,
List<String>> boolean
isOp()
-
Constructor Details
-
AbstractOperator
public AbstractOperator()
-
-
Method Details
-
addResult
-
addResult
-
addResult
public AbstractOperator addResult(AbstractOperator.ResultType type, cn.lunadeer.minecraftpluginutils.i18n.i18n message, Object... args) -
addResultHeader
-
addResultHeader
public AbstractOperator addResultHeader(AbstractOperator.ResultType type, String message, Object... args) -
addResultHeader
public AbstractOperator addResultHeader(AbstractOperator.ResultType type, cn.lunadeer.minecraftpluginutils.i18n.i18n message, Object... args) -
getUniqueId
-
isOp
public boolean isOp() -
getLocation
@Nullable public org.bukkit.Location getLocation() -
getPlayer
@Nullable public org.bukkit.entity.Player getPlayer() -
getDirection
@Nullable public org.bukkit.block.BlockFace getDirection() -
completeResult
public void completeResult() -
completeResult
public void completeResult(boolean once) -
getResults
-
getHeader
-