{"id":80839,"date":"2026-06-04T18:42:11","date_gmt":"2026-06-04T15:42:11","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/hexjs\/"},"modified":"2026-06-04T18:42:11","modified_gmt":"2026-06-04T15:42:11","slug":"hexjs","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/hexjs\/","title":{"rendered":"HexJS"},"content":{"rendered":"<p># About<br \/>\nHexJS is a mod integrating Hexcasting and KubeJS for modpack makers and server owners.<\/p>\n<p># Features<br \/>\n### Whitelists and Blacklists<br \/>\nThe server and each player has their own list of patterns they can cast, this list can either be a whitelist, or a blacklist. (Default is an empty blacklist)<\/p>\n<p>The per-player lists are persistent, while the global list is not.<br \/>\nIf there is a conflict, the per-player list takes priority.<\/p>\n<p>Tip: Blocking the base number literal (0) for either positive or negative numbers will block all numbers of that type<br \/>\n### Redirects<br \/>\nThe server and each player has their own list of redirects which redirect a drawn pattern to another pattern, this is handled after the whitelists and blacklists.<\/p>\n<p>Only 1 pass is done so it is easily possible to swap the effects of 2 patterns.<br \/>\nIf there is a conflict, the per-player redirect takes priority.<br \/>\n### Custom Patterns<br \/>\nThis is probably what most of you are here for, the ability to make your own patterns and spells, all from inside KubeJS!<\/p>\n<p>This happens in 2 parts, first you register the pattern with a name and such, and then you check if the pattern in question was the one cast in the `registeredPatternCastEvent` to do your logic. This can be used to override existing patterns.<br \/>\n### Pre-Imbued Casting Items<br \/>\nCreate cyphers, trinkets, and artifacts with pre-imbued spells and media!<\/p>\n<p>This can be used for loot chests, mob drops, and more!<br \/>\n### Force Casting<br \/>\nCast any list of patterns as any player from KubeJS!<\/p>\n<p>This can be used for proxies as well as making fake players from CarpetMod cast spells!<br \/>\n### Misc<br \/>\n&#8211; Ability to create custom ancient scrolls.<\/p>\n<p>&#8211; Ability to get the angle signature of Great Spells from KubeJS.<\/p>\n<p>&#8211; Ability to set a max length for Bookkeeper&#8217;s Gambit. (Global and\/or Per-Player, as per Whitelists and Blacklists)<br \/>\n# Disclaimer<br \/>\nDue to most of my testing happening on Fabric, there may be a lot more bugs on the Forge version of this mod.<\/p>\n<p>Please do report any bugs you find on the Github. Thank you in advance!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adds Hexcasting support for KubeJS!<\/p>\n","protected":false},"featured_media":80840,"template":"","meta":{"_minecraft_slug":"hexjs","_minecraft_project_id":"IEhCorNX","_minecraft_author":"Nanorasmus","_minecraft_license":"MIT","_minecraft_downloads":1647,"_minecraft_follows":11,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"hexjs.zip","_minecraft_size_bytes":263612,"_minecraft_version_count":6,"_minecraft_updated_at":"2026-05-17T01:31:34.797347Z","_minecraft_date_created":"2024-07-23T04:14:04.355698Z","_minecraft_date_modified":"2024-07-29T18:24:30.239419Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/hexjs","_minecraft_icon_attachment_id":80840,"_minecraft_imported_at":"2026-06-04T15:42:12+00:00","_minecraft_import_hash":"a89b270b76a5183f123481c1592833c3","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[97,104,98],"mod_loader":[99,100],"minecraft_version":[56,57,58],"class_list":["post-80839","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-fabric","mod_category-forge","mod_category-quilt","mod_loader-fabric","mod_loader-quilt","minecraft_version-1-19-2","minecraft_version-1-19-3","minecraft_version-1-19-4"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HexJS - 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\/hexjs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HexJS - Minecraft\" \/>\n<meta property=\"og:description\" content=\"Adds Hexcasting support for KubeJS!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/hexjs\/\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hexjs\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hexjs\\\/\",\"name\":\"HexJS - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hexjs\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hexjs\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/hexjs-icon-e2df466ee80189e426275ea1138fac1cca15a8c4.png\",\"datePublished\":\"2026-06-04T15:42:11+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hexjs\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hexjs\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hexjs\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/hexjs-icon-e2df466ee80189e426275ea1138fac1cca15a8c4.png\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/hexjs-icon-e2df466ee80189e426275ea1138fac1cca15a8c4.png\",\"width\":512,\"height\":512},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hexjs\\\/#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\":\"HexJS\"}]},{\"@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":"HexJS - 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\/hexjs\/","og_locale":"en_US","og_type":"article","og_title":"HexJS - Minecraft","og_description":"Adds Hexcasting support for KubeJS!","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/hexjs\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/hexjs\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/hexjs\/","name":"HexJS - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/hexjs\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/hexjs\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/hexjs-icon-e2df466ee80189e426275ea1138fac1cca15a8c4.png","datePublished":"2026-06-04T15:42:11+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/hexjs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/hexjs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/hexjs\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/hexjs-icon-e2df466ee80189e426275ea1138fac1cca15a8c4.png","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/hexjs-icon-e2df466ee80189e426275ea1138fac1cca15a8c4.png","width":512,"height":512},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/hexjs\/#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":"HexJS"}]},{"@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\/80839","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\/80840"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=80839"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=80839"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=80839"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=80839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}