{"id":26195,"date":"2026-06-01T12:42:28","date_gmt":"2026-06-01T09:42:28","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/basicallyutilcommands\/"},"modified":"2026-06-01T12:42:28","modified_gmt":"2026-06-01T09:42:28","slug":"basicallyutilcommands","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/basicallyutilcommands\/","title":{"rendered":"BasicallyUtilCommands"},"content":{"rendered":"<p># keep in mind, the description is of the latest mod version, older versions might not be maintained!!!<\/p>\n<p>### fully serverside mod adding new commands and more!<br \/>\ndatapackers or mapmakers may find this useful<\/p>\n<p># commands<\/p>\n<details>\n<summary>Eval<\/summary>\n<p>> \/eval <expression><br \/>\n&#8211; allows you to input any mathematical expression, the command will calculate it and return its result<br \/>\n&#8211; has support for some functions:<br \/>\n  > `min(n1,n2,&#8230;)`, `avg(n1,n2,&#8230;)`, `len(n1,n2,&#8230;)`, `abs(n1,n2,&#8230;)`, `floor(n1,n2,&#8230;)`, etc&#8230;<br \/>\n&#8211; you can use scores in expressions like so: `<name>?<objective>`<br \/>\n&#8211; you can use the command position and rotation context with `px` `py` `pz` and `rx` `ry`<\/p>\n<details>\n<summary>full list of functions and variables<\/summary>\n<p>`min(n1, n2, &#8230;)`<\/p>\n<p>`max(n1, n2, &#8230;)`<\/p>\n<p>`sum(n1, n2, &#8230;)`<\/p>\n<p>`avg(n1, n2, &#8230;)`<\/p>\n<p>`len(n1, n2, &#8230;)`<\/p>\n<p>`abs(v)`<\/p>\n<p>`floor(v)`<\/p>\n<p>`ceil(v)`<\/p>\n<p>`round(v)`<\/p>\n<p>`sqrt(v)`<\/p>\n<p>`pow(base, exp)`<\/p>\n<p>`sin(rad)`<\/p>\n<p>`cos(rad)`<\/p>\n<p>`tan(rad)`<\/p>\n<p>`log(v, base)`<\/p>\n<p>`ln(v)`<\/p>\n<p>`clamp(v, min, max)`<\/p>\n<p>`lerp(a, b, t)`<\/p>\n<p>`smoothstep(edge0, edge1, v)`<\/p>\n<p>`map(v, inMin, inMax, outMin, outMax)`<\/p>\n<p>`rand(min, max)`<\/p>\n<p>`rand(min, max, seed)`<\/p>\n<p>`dot(x1, y1, z1, x2, y2, z2)`<\/p>\n<p>`euler_dot(pitch1, yaw1, pitch2, yaw2)`<br \/>\n# <\/p>\n<p>&#8220;pi&#8221;<\/p>\n<p>&#8220;tau&#8221;<\/p>\n<p>&#8220;e&#8221;<br \/>\n#<br \/>\n&#8220;rx&#8221;<\/p>\n<p>&#8220;ry&#8221;<\/p>\n<p>&#8220;px&#8221;<\/p>\n<p>&#8220;py&#8217;<\/p>\n<p>&#8220;pz&#8221;<br \/>\n<\/details>\n<\/details>\n<p>#<\/p>\n<details>\n<summary>Raycast<\/summary>\n<p>> \/raycast <step count> <step length> run <command><br \/>\n&#8211; summons a marker entity with the tag &#8220;BUC.raycast&#8221;<br \/>\n&#8211; moves it forward by <step length>, <step count> times<br \/>\n&#8211; runs <command> at each step<\/p>\n<\/details>\n<p># <\/p>\n<details>\n<summary>Distance<\/summary>\n<p>> \/distance <origin pos> <target pos> <scale><br \/>\n&#8211; returns the distance between the command pos and the target position multiplied by the scale<\/p>\n<\/details>\n<p># <\/p>\n<details>\n<summary>Check<\/summary>\n<p>> \/check <blocks|intersect|collision><br \/>\n&#8211; \/check blocks <distance> <blockstate><br \/>\n&#8211; \/check intersection <selector><br \/>\n&#8211; \/check collision <entity> <block filter><\/p>\n<p>`\/check blocks` returns how many matching blocks it found in a cuboid area<\/p>\n<p>`\/check intersection` returns how many of the selected entities hitboxes are intersecting with the position the command is executed at <\/p>\n<p>`\/check collision` returns how many blocks the entity is intersecting with<\/p>\n<\/details>\n<p>#<\/p>\n<details>\n<summary>Motion<\/summary>\n<p>> \/motion <set\/add> <selector> <strength> <with|to|at><br \/>\n&#8211; applies motion in the direction of the executed command<br \/>\n&#8211; `with` allows a 3d direction input<br \/>\n&#8211; `to` allows a 3d position input<br \/>\n&#8211; `at` allows a 2d rotation input<br \/>\n> \/motion multiply <target> <factor> <axes><br \/>\n&#8211; multiplies the motion of the target by the factor, masked to the set axes<\/p>\n<\/details>\n<p># <\/p>\n<details>\n<summary>Heal<\/summary>\n<p>> \/heal <selector> <amount><br \/>\n&#8211; heals entities by set amount of health<\/p>\n<\/details>\n<p>#<\/p>\n<details>\n<summary>Ignite<\/summary>\n<p>> \/ignite <set\/add> <duration> <selector><br \/>\n&#8211; sets the selected entities on fire for the specified duration<\/p>\n<\/details>\n<p>#<\/p>\n<details>\n<summary>Entitify<\/summary>\n<p>> \/entitify <pos> <block_display\/falling_block> [keep\/remove] [tag(s)]<br \/>\n&#8211; turns the block at the target pos into an entity<br \/>\n&#8211; multiple tags can be added: \/entitify ~ ~ ~ block_display keep **tag&#8221;,&#8221;another tag**<br \/>\n_(thanks to json formatting: `Tags:[&#8220;+ <tag> +&#8221;])`_<\/p>\n<\/details>\n<p>#<\/p>\n<details>\n<summary>Repeat<\/summary>\n<p>> \/repeat <amount> <delay> run <command><br \/>\n&#8211; runs <command> <amount> times<br \/>\n&#8211; waits <delay> ticks before each execution, including the first one<\/p>\n<\/details>\n<p>#<\/p>\n<details>\n<summary>MultiCommand<\/summary>\n<p>> \/multicommand <commands><br \/>\n&#8211; runs listed commands in order<br \/>\n&#8211; commands must be encased in <c><\/c> tags, otherwise the parser wont recognize them<br \/>\n  &#8211; example: `\/multicommand <c:you can do comments like this>say 1<\/c> <c>say 2<\/c:comments can be at the end too>`<\/p>\n<\/details>\n<p># Execute expansions<\/p>\n<details>\n<summary>&#8230;if text<\/summary>\n<p>> &#8230; if text <in\u0440ut> <operator> <target> &#8230;<br \/>\n&#8211; text operations<br \/>\n&#8211; theres not much else to it<\/p>\n<details>\n<summary>full list of operators<\/summary>\n<p>`endswith`<\/p>\n<p>`startswith`<\/p>\n<p>`contains`<\/p>\n<p>`exact`<\/p>\n<p>`ignorecase`<\/p>\n<p>`matches`<\/p>\n<\/details>\n<\/details>\n<details>\n<summary>&#8230;if eval<\/summary>\n<p>> &#8230; if eval <expression> &#8230;<br \/>\n&#8211; evaluates the expression<br \/>\n&#8211; if the result is < 0 test fails, if > 0 test succeeds<br \/>\n&#8211; statements are allowed, as they are in \/eval<br \/>\n  &#8211; example: `\/eval 1=0` would return 0, since the statement is false<br \/>\n  &#8211; example: `\/eval 0<=-10 || 1=1` would return 1, because of the OR operator, and the second, true, statement\n<\/details>\n<details>\n<summary>&#8230;positioned over closest_ground<\/summary>\n<p>> &#8230; positioned over closest_ground <range> &#8230;<br \/>\n&#8211; snaps the commands position context to the closest up-facing surface within range<br \/>\n&#8211; doesnt use heightmaps, meaning works under surfaces<\/p>\n<\/details>\n<details>\n<summary>&#8230;positioned over closest_ground_down<\/summary>\n<p>> &#8230; positioned over closest_ground_down <range> &#8230;<br \/>\n&#8211; snaps the commands position context to the closest up-facing surface within range below the previous position context<br \/>\n&#8211; doesnt use heightmaps, meaning works under surfaces<\/p>\n<\/details>\n<details>\n<summary>&#8230;positioned over closest_view<\/summary>\n<p>> &#8230; positioned over closest_view <filter> <range> &#8230;<br \/>\n&#8211; performs a raycast and changes the position context to the first block collision of type conforming to <filter><br \/>\n&#8211; filter can be disabled by using &#8220;*&#8221;<\/p>\n<\/details>\n<details>\n<summary>&#8230;positioned over closest_view_entity<\/summary>\n<p>> &#8230; positioned over closest_view_entity <targets> <range> <align> &#8230;<br \/>\n&#8211; performs a raycast and changes the position context to the first entity collision matching the selector<br \/>\n&#8211; if <align> is true, it will use the entities exact position, if false itll use the collision point<\/p>\n<\/details>\n<p>#<br \/>\n&#8211; the mod also adds new player NBT called PlayerName which simply contains the players name<\/p>\n<p>more features will be added in the future, feel free to suggest features via github issues<br \/>\n#<br \/>\n# keep in mind, the description is of the latest mod version, older versions might not be maintained!!!<br \/>\ni know i said the same thing at the start im not an NPC<\/p>\n","protected":false},"excerpt":{"rendered":"<p>a serverside mod adding commands useful to mapmakers and others<\/p>\n","protected":false},"featured_media":26196,"template":"","meta":{"_minecraft_slug":"basicallyutilcommands","_minecraft_project_id":"jCPiEd3c","_minecraft_author":"dexflex_yt","_minecraft_license":"MIT","_minecraft_downloads":1145,"_minecraft_follows":9,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"basicallyutilcommands.zip","_minecraft_size_bytes":1736429,"_minecraft_version_count":29,"_minecraft_updated_at":"2026-05-16T08:10:53.191655Z","_minecraft_date_created":"2025-04-23T21:53:04.362502Z","_minecraft_date_modified":"2026-05-11T20:38:01.056447Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/basicallyutilcommands","_minecraft_icon_attachment_id":26196,"_minecraft_imported_at":"2026-06-01T09:42:29+00:00","_minecraft_import_hash":"96a259e634747ad576c4273b8d48aeff","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[124,894,97,126,127,128,98,129,92],"mod_loader":[130,895,99,132,133,100,134],"minecraft_version":[59,36,60,93,94,101,102,62,37,40,41,73,74,38,78,79,80,81,82],"class_list":["post-26195","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-bukkit","mod_category-bungeecord","mod_category-fabric","mod_category-management","mod_category-paper","mod_category-purpur","mod_category-quilt","mod_category-spigot","mod_category-utility","mod_loader-bukkit","mod_loader-bungeecord","mod_loader-fabric","mod_loader-paper","mod_loader-purpur","mod_loader-quilt","mod_loader-spigot","minecraft_version-1-20","minecraft_version-1-20-1","minecraft_version-1-20-2","minecraft_version-1-20-3","minecraft_version-1-20-4","minecraft_version-1-20-5","minecraft_version-1-20-6","minecraft_version-1-21","minecraft_version-1-21-1","minecraft_version-1-21-10","minecraft_version-1-21-11","minecraft_version-1-21-2","minecraft_version-1-21-3","minecraft_version-1-21-4","minecraft_version-1-21-5","minecraft_version-1-21-6","minecraft_version-1-21-7","minecraft_version-1-21-8","minecraft_version-1-21-9"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>BasicallyUtilCommands - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/basicallyutilcommands\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"BasicallyUtilCommands - Minecraft\" \/>\n<meta property=\"og:description\" content=\"a serverside mod adding commands useful to mapmakers and others\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/basicallyutilcommands\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/basicallyutilcommands\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/basicallyutilcommands\\\/\",\"name\":\"BasicallyUtilCommands - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/basicallyutilcommands\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/basicallyutilcommands\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/basicallyutilcommands-icon-1d110b796730592b88e80ec2c8aa2a5a39559e39_96.webp\",\"datePublished\":\"2026-06-01T09:42:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/basicallyutilcommands\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/basicallyutilcommands\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/basicallyutilcommands\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/basicallyutilcommands-icon-1d110b796730592b88e80ec2c8aa2a5a39559e39_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/basicallyutilcommands-icon-1d110b796730592b88e80ec2c8aa2a5a39559e39_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/basicallyutilcommands\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"BasicallyUtilCommands\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"BasicallyUtilCommands - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/basicallyutilcommands\/","og_locale":"en_US","og_type":"article","og_title":"BasicallyUtilCommands - Minecraft","og_description":"a serverside mod adding commands useful to mapmakers and others","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/basicallyutilcommands\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/basicallyutilcommands\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/basicallyutilcommands\/","name":"BasicallyUtilCommands - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/basicallyutilcommands\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/basicallyutilcommands\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/basicallyutilcommands-icon-1d110b796730592b88e80ec2c8aa2a5a39559e39_96.webp","datePublished":"2026-06-01T09:42:28+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/basicallyutilcommands\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/basicallyutilcommands\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/basicallyutilcommands\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/basicallyutilcommands-icon-1d110b796730592b88e80ec2c8aa2a5a39559e39_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/basicallyutilcommands-icon-1d110b796730592b88e80ec2c8aa2a5a39559e39_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/basicallyutilcommands\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"BasicallyUtilCommands"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/26195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/26196"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=26195"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=26195"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=26195"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=26195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}