Class Function
java.lang.Object
ua.mcchickenstudio.opencreative.coding.blocks.executors.Executor
ua.mcchickenstudio.opencreative.coding.blocks.executors.other.NameableExecutor
ua.mcchickenstudio.opencreative.coding.blocks.executors.other.Function
- All Implemented Interfaces:
CodingBlock,ExtensionContent
Function
This class represents a function, that executes actions in same actions handler.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ua.mcchickenstudio.opencreative.coding.blocks.executors.other.NameableExecutor
getCallName, setCallNameMethods 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, toString
-
Constructor Details
-
Function
public Function()
-
-
Method Details
-
getExtensionId
Description copied from interface:ExtensionContentReturns lower-cased simple id of extension. Will be used to identify author of content.ID "default" is reserved for OpenCreative+ developers.
- Returns:
- id of extension.
-
getName
Description copied from interface:ExtensionContentReturns name of extension content. Will be displayed in list of extension content.- Returns:
- name of content.
-
getDescription
Description copied from interface:ExtensionContentReturns description of extension content. Describes purpose of new additional content.- Returns:
- description of content.
-