modify(e, 'swing')View on GitHubSyntaxmodify(entity, 'swing') modify(entity, 'swing', 'offhand') Makes the living entity swing their required limb.Found a problem with this page?View the source on GitHubEdit this page on GitHub