

Try launching again, and see that the game doesn't launch because the main class was just not found.Launch that profile (acknowledge "modded" risks), and find the game not launching and an error in the log (and output window if open) about the downloaded file.Open the launcher and create a new profile using version 1.17.1-Test (you need the "modded" checkbox enabled).Save 1.17.1-Test.json into a folder called 1.17.1-Test in your versions folder.Remove the JAR file from your 1.17.1 folder inside of versions if you have it, you can keep the json.I've attached a minimal json file to reproduce this problem that simply inherits everything from 1.17.1, both the rest of the JSON and the jar. A value can be of any data type as well (including another object).If you create a JSON file for a version that uses "jar" in order to reuse the jar (for example, the jar from an official version), the launcher will fail to download the jar if that didn't exist yet, and instead download an invalid file (the permission denied error page) that will make the startup crash without any useful debug info in subsequent launches. Each contained key needs to have a name that is unique within the object. Pairs are separated with commas, keys and associated values are separated with colons. Numbers can be non-whole, as indicated with a period, and can use exponents with e.Īn object, also referred to as a compound, is delimited by opening and closing curly brackets and contains key/value pairs. Some special characters need to be escaped this is done with a back slash ( \).Ī number is defined by entering in any number. JSON files can be contained in a single line, however it is often useful to use indentation and line breaks to make a long JSON file more readable.Ī string is delimited by quotes and can contain any combination of characters. Ī JSON file must contain a single JSON value, which can use any of the following five data types: string, number, object, array, and boolean. Files in a data pack that define advancements, loot tables, tags, recipes, dimensions, dimension types and predicates.Information about downloaded versions (as.The profile data for the launcher (as.Files in a behavior pack that define entity behaviors, block behaviors, item behaviors, etc..Files in a resource pack that define models, sound events, UI, etc..The manifest.json file that describes a Bedrock Edition add-on.The pack.mcmeta file that describes a Java Edition resource pack and data pack.Text in written books, signs, custom names and the / tellraw, / title, / bossbar, / scoreboard and / team commands..In Minecraft, JSON format is used to store the following data: JavaScript Object Notation ( JSON) is a lightweight data-interchange format.
