Class WrappedPredicateButton

  • All Implemented Interfaces:
    WrappedButton, MenuElement, me.hsgamer.hscore.minecraft.gui.button.Button, me.hsgamer.hscore.ui.property.Initializable

    public class WrappedPredicateButton
    extends BaseWrappedButton<me.hsgamer.hscore.minecraft.gui.button.impl.PredicateButton>
    • Constructor Detail

    • Method Detail

      • applyRequirement

        public static void applyRequirement​(Map<String,​Object> section,
                                            WrappedButton wrappedButton,
                                            Set<UUID> checked,
                                            me.hsgamer.hscore.minecraft.gui.button.impl.PredicateButton predicateButton)
      • createButton

        protected me.hsgamer.hscore.minecraft.gui.button.impl.PredicateButton createButton​(Map<String,​Object> section)
        Description copied from class: BaseWrappedButton
        Create the button from the section
        Specified by:
        createButton in class BaseWrappedButton<me.hsgamer.hscore.minecraft.gui.button.impl.PredicateButton>
        Parameters:
        section - the section
        Returns:
        the button
      • refresh

        public void refresh​(UUID uuid)
        Description copied from interface: WrappedButton
        Refresh the button for the unique id
        Parameters:
        uuid - the unique id