{"id":52012,"date":"2026-06-02T23:27:58","date_gmt":"2026-06-02T20:27:58","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/cs_case_opening\/"},"modified":"2026-06-02T23:27:58","modified_gmt":"2026-06-02T20:27:58","slug":"cs_case_opening","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/cs_case_opening\/","title":{"rendered":"Lootboxes"},"content":{"rendered":"<p>First, there will be **no updates** of this datapack unless I will need it myself, but feel free to modify it yourself.<\/p>\n<p>Everything should be commented and hopefully easy to understand. I strongly belive it is<\/p>\n<p>Many things should be easy to adjust; check `datalbxfunctionload.mcfunction` and `datalbxloot_tablelootbox.json` in first place.<\/p>\n<p># What does it do?<br \/>\nThis datapack adds custom lootbox with Counter-Strike like animation which can be open by opening an enderchest with a music disc in main hand.<\/p>\n<p>## Features<br \/>\n1. Case opening<br \/>\n2. StatTrak<br \/>\n3. Trade ups<\/p>\n<p>![Lootbox opening](https:\/\/cdn.modrinth.com\/data\/vkhmN5pf\/images\/9b663d5cd6efc2b5b10ba3db4e2d33889793ba1e.gif)<\/p>\n<p>I used normal disc 5, so player can get this key either by going into Ancient City or craft it with custom recipe from diamonds<\/p>\n<p>![Crafting](https:\/\/cdn.modrinth.com\/data\/vkhmN5pf\/images\/e6f5278b3b3523e9f5ce7e060faef783a53f1135.png)<\/p>\n<p># StatTrak<\/p>\n<p>Items also have 10% chance to have StatTrak on them (just like in CS). I didn&#8217;t make it locked to a player. They count how many kills (of players and mannequins (testing)) were made using them and show who was the last killer. It&#8217;s called TrackKills in game as StatTrak is actually trademarked.<\/p>\n<p>![StatTrak](https:\/\/cdn.modrinth.com\/data\/vkhmN5pf\/images\/85fb9ad4cd559483b6512c51e638efb6933bc545.gif)<\/p>\n<p># Trade ups<\/p>\n<p>Trade up feature is included too. You can use `\/trigger tradeup` to combine what you already got from the case and get something from a better tier.<\/p>\n<p>![Tradeups](https:\/\/cdn.modrinth.com\/data\/vkhmN5pf\/images\/9e48af16ce25ac6ce1a9fed312dedddfa2a71184.png)<\/p>\n<p>This datapack is probably totaly unbalanced. I haven&#8217;t tested it in practise yet. On picture above there is everyting what&#8217;s curently in loot table.<\/p>\n<p>There is few items unachievable in survival<\/p>\n<p>I made 2 versions of chances<br \/>\n&#8211; CS &#8211; just like in Counter Strike, they are rough<br \/>\n&#8211; x3 &#8211; The other version has a lot higher odds, each lower level has a 3 times higher chance of being dropped than the previous one<\/p>\n<p>![Chances](https:\/\/cdn.modrinth.com\/data\/vkhmN5pf\/images\/34249894d4eb5602ff7f9d99815d4ce8e74fa66a.png)<\/p>\n<p>It should be safe? There wasn&#8217;t enough tests.<br \/>\n&#8211; I took into consideration for player to take away items from enderchest, drop them, put them in a bundle<br \/>\n&#8211; If something was put in it will be returned<br \/>\n&#8211; Player can leave the server and when he come back the opening will be resumed<br \/>\n&#8211; Player enderchest is stored in data storage<\/p>\n<p># How it works?<br \/>\n1. Players enderchest is stored and cleared<br \/>\n2. First, case is quickly opening<br \/>\n3. Then it slows down<br \/>\n3. Stops, has 50% chance to move one more time then gives prize<br \/>\n4. Players enderchest is restored<\/p>\n<p># Test<br \/>\nThere is a command designed to test this datapack.<br \/>\n`\/function lbx:test`<br \/>\nIt gives items for crafting the key and chests with every item from loot table.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Loot boxes like in Counter-Strike. Multiplayer-friendly (opened via Enderchest).<\/p>\n","protected":false},"featured_media":0,"template":"","meta":{"_minecraft_slug":"cs_case_opening","_minecraft_project_id":"vkhmN5pf","_minecraft_author":"MatHieusz","_minecraft_license":"MIT","_minecraft_downloads":36,"_minecraft_follows":0,"_minecraft_client_side":"optional","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"cs_case_opening.zip","_minecraft_size_bytes":57290,"_minecraft_version_count":2,"_minecraft_updated_at":"2026-05-15T23:42:09.168058Z","_minecraft_date_created":"2025-11-28T05:58:43.894262Z","_minecraft_date_modified":"2025-11-27T18:51:49.743588Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/cs_case_opening","_minecraft_icon_attachment_id":0,"_minecraft_imported_at":"2026-06-02T20:27:59+00:00","_minecraft_import_hash":"ef7ad4d785504dfc1edb00a97298efe7","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[84,88],"mod_loader":[86],"minecraft_version":[40],"class_list":["post-52012","mod","type-mod","status-publish","hentry","mod_category-datapack","mod_category-equipment","mod_loader-datapack","minecraft_version-1-21-10"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Lootboxes - 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\/cs_case_opening\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Lootboxes - Minecraft\" \/>\n<meta property=\"og:description\" content=\"Loot boxes like in Counter-Strike. Multiplayer-friendly (opened via Enderchest).\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/cs_case_opening\/\" \/>\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\\\/cs_case_opening\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/cs_case_opening\\\/\",\"name\":\"Lootboxes - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"datePublished\":\"2026-06-02T20:27:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/cs_case_opening\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/cs_case_opening\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/cs_case_opening\\\/#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\":\"Lootboxes\"}]},{\"@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":"Lootboxes - 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\/cs_case_opening\/","og_locale":"en_US","og_type":"article","og_title":"Lootboxes - Minecraft","og_description":"Loot boxes like in Counter-Strike. Multiplayer-friendly (opened via Enderchest).","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/cs_case_opening\/","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\/cs_case_opening\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/cs_case_opening\/","name":"Lootboxes - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"datePublished":"2026-06-02T20:27:58+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/cs_case_opening\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/cs_case_opening\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/cs_case_opening\/#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":"Lootboxes"}]},{"@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\/52012","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:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=52012"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=52012"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=52012"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=52012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}