Interface NoneButton
- All Superinterfaces:
Button,PerformButton,PermissibleButton,PlaceholderButton,SlotButton
Represents the default button type in a user interface within a Minecraft plugin, extending
the basic
Button interface. This button type is used as a fallback option and is
automatically chosen by the plugin's UI handling system when no specific button type is identified
for a given UI element.
The NoneButton serves as a generic button with standard behavior, suitable for basic interactions where no specialized functionality is required. It provides a baseline implementation that can be used to display a clickable item or option within an inventory GUI without attaching any additional logic or behavior that is specific to the context of the UI being created.
This interface is ideal for simple actions or when you want to introduce a button that adheres to the default interaction patterns established by the plugin's UI framework. Implementations might include basic navigation, confirmation actions, or triggers for non-complex operations.
-
Method Summary
Methods inherited from interface fr.maxlego08.menu.api.button.Button
buildDisplayName, buildLore, closeInventory, getActions, getClickRequirements, getCustomItemStack, getData, getItemStack, getMessages, getName, getOpenLink, getOptions, getPlayerHead, getRealSlot, getSlot, getSound, getViewRequirement, hasCustomRender, hasSpecialRender, isClickable, isPermanent, isRefreshOnClick, isUpdated, isUseCache, onBackClick, onClick, onDrag, onInventoryClick, onInventoryClose, onInventoryOpen, onLeftClick, onMiddleClick, onRender, onRightClick, updateOnClickMethods inherited from interface fr.maxlego08.menu.api.button.PerformButton
execute, getCommands, getConsoleCommands, getConsoleLeftCommands, getConsolePermission, getConsolePermissionCommands, getConsoleRightCommandsMethods inherited from interface fr.maxlego08.menu.api.button.PermissibleButton
checkPermission, getElseButton, getMasterParentButton, getOrPermission, getParentButton, getPermissions, hasElseButton, hasPermissionMethods inherited from interface fr.maxlego08.menu.api.button.PlaceholderButton
getPlaceholders, hasPlaceHolderMethods inherited from interface fr.maxlego08.menu.api.button.SlotButton
getSlots