Class NameableExecutor
java.lang.Object
ua.mcchickenstudio.opencreative.coding.blocks.executors.Executor
ua.mcchickenstudio.opencreative.coding.blocks.executors.other.NameableExecutor
- All Implemented Interfaces:
CodingBlock,ExtensionContent
NameableExecutor
This class represents an executor, that has name (custom id) to call it with other actions.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal @NotNull StringReturns name of executor for calling it.voidsetCallName(@NotNull String name) Sets name of executor for calling it.Methods inherited from class ua.mcchickenstudio.opencreative.coding.blocks.executors.Executor
decreaseCall, equals, executeActions, getActions, getBlockCategory, getEvent, getHandler, getID, getLastCalls, getLocaleName, getPlanet, getX, getY, getZ, hashCode, increaseCall, init, isDebug, isDisabled, run, setActions, setDebug, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ua.mcchickenstudio.opencreative.coding.ExtensionContent
getDescription, getExtensionId, getName
-
Constructor Details
-
NameableExecutor
-
-
Method Details
-
setCallName
Sets name of executor for calling it.- Parameters:
name- new name to call it.
-
getCallName
Returns name of executor for calling it.- Returns:
- custom id of executor.
-