Class PlayerBedEnterExecutor
java.lang.Object
ua.mcchickenstudio.opencreative.coding.blocks.executors.Executor
ua.mcchickenstudio.opencreative.coding.blocks.executors.player.PlayerExecutor
ua.mcchickenstudio.opencreative.coding.blocks.executors.player.interaction.PlayerBedEnterExecutor
- All Implemented Interfaces:
CodingBlock,DisplayableIcon,EventAwaiter,ExtensionContent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull MenusCategoryReturns menus category, that will be used to filter coding block types.@NotNull StringReturns description of extension content.@NotNull org.bukkit.inventory.ItemStackReturns icon, that will be displayed in coding block type selection menu.@NotNull Class<? extends WorldEvent> Returns event class, that can run executor on calling that event.@NotNull StringReturns lower-cased simple id of extension.@NotNull StringgetName()Returns name of extension content.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.blocks.executors.EventAwaiter
isCancellable
-
Constructor Details
-
PlayerBedEnterExecutor
public PlayerBedEnterExecutor()
-
-
Method Details
-
getDisplayIcon
@NotNull public @NotNull org.bukkit.inventory.ItemStack getDisplayIcon()Description copied from interface:DisplayableIconReturns icon, that will be displayed in coding block type selection menu.- Returns:
- icon of coding block.
-
getEventClass
Description copied from interface:EventAwaiterReturns event class, that can run executor on calling that event.- Returns:
- event class, that will call executor.
-
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.
-
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.
-
getCategory
Description copied from interface:DisplayableIconReturns menus category, that will be used to filter coding block types.
-