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
popPops a fog from the top of the player's fog stack matching the specified user provided ID.
The player to pop the fog from.
The ID of the fog to pop.
The user-provided ID of the fog to pop.
True if the fog was popped successfully, false otherwise.
Static
pushPushes a fog to the top of the player's fog stack with the specified user provided ID.
The player to push the fog to.
The ID of the fog to push.
The user-provided ID of the fog to push.
True if the fog was pushed successfully, false otherwise.
Static
removeRemoves all fogs from the player's fog stack matching the specified user provided ID.
The player to remove the fog from.
The ID of the fog to remove.
The user-provided ID of the fog to remove.
True if the fog was removed successfully, 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.