Class PlayerConnectExecutor
java.lang.Object
ua.mcchickenstudio.opencreative.indev.blocks.CodingBlock
ua.mcchickenstudio.opencreative.indev.blocks.executors.ExecutorBlock
ua.mcchickenstudio.opencreative.indev.blocks.executors.player.PlayerExecutor
ua.mcchickenstudio.opencreative.indev.blocks.executors.player.world.PlayerConnectExecutor
- All Implemented Interfaces:
ExtensionContent, TypedBlock, ViewableTypedBlock
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull StringReturns description of extension content.@NotNull StringReturns lower-cased simple id of extension.@NotNull org.bukkit.inventory.ItemStackgetIcon()Returns an icon that will be shown in action type selection menus.@NotNull StringgetName()Returns name of extension content.Class<? extends PlayerEvent> Methods inherited from class PlayerExecutor
getEventClass, getTypeModifier and TypeMethodDescriptionClass<? extends WorldEvent> @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)
-
Constructor Details
-
PlayerConnectExecutor
public PlayerConnectExecutor()
-
-
Method Details
-
getPlayerEventClass
- Specified by:
getPlayerEventClassin classPlayerExecutor
-
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.
-
getIcon
@NotNull public @NotNull org.bukkit.inventory.ItemStack getIcon()Description copied from interface:ViewableTypedBlockReturns an icon that will be shown in action type selection menus.- Returns:
- icon of typed block.
-