JavaScript is disabled on your browser.
Skip navigation links
Package
Class
Tree
Index
Search
Help
org.mcaccess.minecraftaccess.api
AccessMenuFunction
Contents
Description
Method Summary
Method Details
execute()
enabled()
Hide sidebar
Show sidebar
Interface AccessMenuFunction
public interface
AccessMenuFunction
A function triggerable from the Access Menu or a keybind.
Since:
1.12.0
Method Summary
All Methods
Instance Methods
Abstract Methods
Default Methods
Modifier and Type
Method
Description
default boolean
enabled
()
Weather this function is enabled.
void
execute
()
Executed when this function is triggered.
Method Details
execute
void
execute
()
Executed when this function is triggered.
Since:
1.12.0
Implementation Requirements:
enabled()
is always checked before calling this.
enabled
@Contract
(
pure
=true)
default
boolean
enabled
()
Weather this function is enabled.
Returns:
true
to enable,
false
to disable.
Since:
1.12.0