Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
legopitstop committed Aug 13, 2024
1 parent b6fef8c commit a9ba4b7
Show file tree
Hide file tree
Showing 19 changed files with 1,133 additions and 665 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/tests
/latest.log
/.venv
test2.py
157 changes: 146 additions & 11 deletions .vscode/json_schema.code-snippets

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{
"json.schemas": [
{
"name": "Bedrock Edition Schema",
"description": "Schema for spyglassmc",
"fileMatch": [
"spyglass.json",
"*.spyglassrc.material"
],
"url": "/schemas/spyglass/schema.json"
},
{
"name": "Bedrock Edition Schema",
"description": "Schema for Bedrock Edition behavior, and resourcepacks.",
Expand Down
30 changes: 20 additions & 10 deletions UPDATES.md → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,38 @@
# **UPDATE LOG**
# CHANGELOGS

Get Live updates via my [discord server](https://discord.gg/JbyTHWW)

## Logs
## 8/13/2024

- Updated minecraft schemas for 1.21.20

## 00/00/0000

### (00/00/0000)
- OptiFine schemas have been moved from `./java/optifine` to `./optifine`

### (10/28/2022)
## 10/28/2022

- Removed deprived schemas
- Java Edition schemas are now deprived. Use [Data-pack helper Plus](https://marketplace.visualstudio.com/items?itemName=SPGoding.datapack-language-server) extension for VSCode.

### (03/03/2021)
## 03/03/2021

Added `Java Edition Schemas`

### (02/03/2021)
## 02/03/2021

Updates for beta 1.16.210.58. added `minecraft:render_offsets` to data-driven items. made `"format_version"` take in any string, or number instead of an enum. it will still recommend common versions.
https://feedback.minecraft.net/hc/en-us/articles/360056026212

### (01/20/2021)
## 01/20/2021

A bunch of other updates including updating for beta 1.16.210.56 added `"ignore_game_mode"` for block event response `"decresement_stack"`, set to false by default. Thus `"decrement_stack"` no longer decreases the item stack when playing in Creative by default .
https://feedback.minecraft.net/hc/en-us/articles/360055733571

### (12/10/2020)
## 12/10/2020

Update to `Bedrock Addon Schemas` added support for more components, including entities, recipes, etc

### (12/10/2020)
Minecraft Bedrock schema was just released. Find the code in the `#schemas-install` channel
## 12/10/2020

Minecraft Bedrock schema was just released. Find the code in the `#schemas-install` channel
12 changes: 7 additions & 5 deletions IDEAS.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Ideas

- Rewrite to use locale lang system.
- Python script to create all languages
- JSON that contains the translations `./lang/en_us.json`
- The base schema contains the translation key. `{"test": {"description": "block.component.test"}}` -> `{"test": {"description": "This text has been translated"}}`
- To use the translated schema use; `https://raw.githubusercontent.com/legopitstop/JSON-Schemas/main/schemas/:locale/bedrock/schema.json`
- Python script to create all languages
- JSON that contains the translations `./lang/en_us.json`
- The base schema contains the translation key. `{"test": {"description": "block.component.test"}}` -> `{"test": {"description": "This text has been translated"}}`
- To use the translated schema use; `https://raw.githubusercontent.com/legopitstop/JSON-Schemas/main/schemas/:locale/bedrock/schema.json`
- bedrock/resource/ui - create "variable" def that will require any string that starts with `$` otherwise except the enum/number/bool

## TODO
- blocks.json

- blocks.json
52 changes: 16 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,61 +11,41 @@ Join my discord to get live updates on schemas. [Discord](https://discord.gg/Jby
<br>
[View Update Log](UPDATES.md)

## How to Install schema for *Visual Studio Code*
## How to Install schemas for _Visual Studio Code_

1. Open VSC.
1. Open VSC.
2. Go to your settings ( `CTRL` + `,` )
3. At the top corner you should find a button that will open settings (JSON). Click it.
4. Paste the below code into that JSON.
5. Save it. Thats it you're done!

```json
{
"json.schemas": [
// append below code here.
]
"json.schemas": [
// append json.schemas code here.
]
}
```

### [Minecraft Bedrock Edition](https://minecraft.wiki/w/Bedrock_Edition)
### Available Schemas

```json
{
"name": "Bedrock Edition Schema",
"description": "Schema for Bedrock Edition behavior, and resourcepacks.",
"fileMatch": [
"com.mojang/**.json"
],
"url": "https://raw.githubusercontent.com/legopitstop/JSON-Schemas/main/schemas/bedrock/schema.json"
}
```

### [shields.io](https://shields.io/)

```json
{
"name": "Shields",
"description": "A schema for https://shields.io/",
"fileMatch": [
"shields.io/*.json"
],
"url": "https://raw.githubusercontent.com/legopitstop/JSON-Schemas/main/schemas/shields.io/schema.json"
}
```
- [Minecraft: Bedrock Edition](./bedrock/README.md)
- [OptiFine](./optifine/README.md)
- [shields.io](./shields.io/README.md)
- [Spyglass](./spyglass/README.md)
- [Json Things](./jsonthings/README.md)

### [Pack Update Schema](https://legopitstop.github.io/Update_Checker/)

```json
{
"name": "Pack Update JSON",
"description": "A schema for https://legopitstop.github.io/Update_Checker/update-checker.html",
"fileMatch": [
"update.json"
],
"url": "https://raw.githubusercontent.com/legopitstop/Update_Checker/main/schema.json"
"name": "Pack Update JSON",
"description": "A schema for https://legopitstop.github.io/Update_Checker/update-checker.html",
"fileMatch": ["update.json"],
"url": "https://raw.githubusercontent.com/legopitstop/Update_Checker/main/schema.json"
}
```

## UPDATES

Find the latest news about this schema via the [UPDATES](UPDATES.md) page
Find the latest news about this schema via the [CHANGELOG](CHANGELOG.md) page
7 changes: 5 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# TODO
- For entity components add the molang used for the animation when using that attack component. ex; "minecraft:behavior.knockback_roar" should include `q.is_roaring` in the description

- For entity components add the molang used for the animation when using that attack component. ex; "minecraft:behavior.knockback_roar" should include `q.is_roaring` in the description

- Update all schemas to use new vanilla_bedrock.json

- https://wiki.bedrock.dev/items/item-tags.html
- https://wiki.bedrock.dev/items/item-tags.html

- Add ui.json enums to enum.json
- enum.json set defaults.
14 changes: 14 additions & 0 deletions schemas/jsonthings/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# JsonThings

JSON Schemas for [JsonThings](https://www.curseforge.com/minecraft/mc-mods/json-things)

## json.schemas

```json
{
"name": "JsonThings",
"description": "A schema for https://github.com/gigaherz/JsonThings/blob/master/documentation/Introduction.md",
"fileMatch": ["jsonthings/*.json"],
"url": "https://raw.githubusercontent.com/legopitstop/JSON-Schemas/main/schemas/jsonthings/schema.json"
}
```
Loading

0 comments on commit a9ba4b7

Please sign in to comment.