Static
addAdds camera shake effect to the specified player.
The player to apply the camera shake effect to.
The type of camera shake effect.
The intensity of the camera shake effect.
The duration of the camera shake effect in seconds.
Static
destroyDestroys the block as if it's broken by a player.
The dimension in which to destroy the block.
The location of the block to destroy.
Static
isChecks if an entity have items matching the specified matchers.
The entity to check.
The matchers to check.
True if the entity has items matching the matchers, false otherwise.
Static
setSets the input permission for a player.
The player for whom to set the input permission.
The input permission to set.
The value to set the input permission to.
Static
stopStops the camera shake for the specified player.
The player for whom to stop the camera shake.
This is a collection of utility methods for working with commands until a proper API is available. Once a proper API is available and stable, I'll change function to use that instead and mark it as deprecated.