public class WrappedPredicateButton extends BaseWrappedButton
button, menu, name, options| Constructor and Description |
|---|
WrappedPredicateButton(ButtonBuilder.Input input) |
| Modifier and Type | Method and Description |
|---|---|
static void |
applyRequirement(Map<String,Object> section,
WrappedButton wrappedButton,
Set<UUID> checked,
me.hsgamer.hscore.bukkit.gui.button.impl.PredicateButton predicateButton) |
protected me.hsgamer.hscore.bukkit.gui.button.Button |
createButton(Map<String,Object> section)
Create the button from the section
|
void |
refresh(UUID uuid)
Refresh the button for the unique id
|
forceSetAction, getItemStack, getMenu, getName, getOptions, handleAction, init, stoppublic WrappedPredicateButton(ButtonBuilder.Input input)
public static void applyRequirement(Map<String,Object> section, WrappedButton wrappedButton, Set<UUID> checked, me.hsgamer.hscore.bukkit.gui.button.impl.PredicateButton predicateButton)
protected me.hsgamer.hscore.bukkit.gui.button.Button createButton(Map<String,Object> section)
BaseWrappedButtoncreateButton in class BaseWrappedButtonsection - the sectionpublic void refresh(UUID uuid)
WrappedButtonuuid - the unique idCopyright © 2023. All rights reserved.