Class PlayerExecutor
java.lang.Object
ua.mcchickenstudio.opencreative.indev.blocks.CodingBlock
ua.mcchickenstudio.opencreative.indev.blocks.executors.ExecutorBlock
ua.mcchickenstudio.opencreative.indev.blocks.executors.player.PlayerExecutor
- All Implemented Interfaces:
ExtensionContent, TypedBlock, ViewableTypedBlock
- Direct Known Subclasses:
PlayerConnectExecutor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends WorldEvent> abstract Class<? extends PlayerEvent> @NotNull StringgetType()Returns a specific type of block.Methods inherited from class ExecutorBlock
createWrapped, execute, onSignClick, toStringModifier and TypeMethodDescription@Nullable WrappedExecutorcreateWrapped(@NotNull Map<String, Object> data) voidexecute(@NotNull WorldEvent event, @NotNull List<WrappedActionBlock<?>> actions) voidonSignClick(org.bukkit.event.player.PlayerInteractEvent event) toString()Methods inherited from class CodingBlock
equals, getId, getMainBlock, getOffBlock, hashCode, placeBlocksModifier and TypeMethodDescriptionboolean@NotNull StringgetId()@NotNull org.bukkit.Material@NotNull org.bukkit.MaterialinthashCode()final voidplaceBlocks(@NotNull org.bukkit.Location mainLocation, @NotNull org.bukkit.Location offLocation, @NotNull org.bukkit.Location containerLocation, @NotNull org.bukkit.Location signLocation, @NotNull org.bukkit.Material containerMaterial, @NotNull org.bukkit.Material signMaterial) Methods inherited from interface ExtensionContent
getDescription, getExtensionId, getNameMethods inherited from interface ViewableTypedBlock
getIconModifier and TypeMethodDescription@NotNull org.bukkit.inventory.ItemStackgetIcon()Returns an icon that will be shown in action type selection menus.
-
Constructor Details
-
PlayerExecutor
-
-
Method Details
-
getPlayerEventClass
-
getEventClass
- Specified by:
getEventClassin classExecutorBlock
-
getType
Description copied from interface:TypedBlockReturns a specific type of block.- Specified by:
getTypein interfaceTypedBlock- Returns:
- type of coding block.
-