Skip to content

Commit

Permalink
fix(gallery): Update code samples and gallery (#43)
Browse files Browse the repository at this point in the history
* fix(gallery): Update code samples and gallery
  • Loading branch information
mammerla authored Oct 17, 2024
1 parent c509100 commit d62fc60
Show file tree
Hide file tree
Showing 84 changed files with 4,259 additions and 1,247 deletions.
2 changes: 1 addition & 1 deletion app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"ajv": "^8.11.0",
"axios": "^1.6.4",
"commander": "^8.2.0",
"esbuild-wasm": "^0.21.3",
"esbuild-wasm": "^0.21.5",
"esprima-next": "^6.0.2",
"exifr": "^7.1.3",
"file-saver": "^2.0.5",
Expand Down
17 changes: 17 additions & 0 deletions app/public/data/forms/block_minecraft_geometry.form.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"title": "Geometry",
"description": "Specifies the geometry description identifier to use to render this block.",
"fields": [
{
"id": "identifier",
"dataType": 2,
"description": "The geometry description identifier to use to render this block. This identifier must match an existing geometry identifier in any of the currently loaded resource packs."
},
{
"id": "bone_visibility",
"dataType": 27,
"description": "Defines the visibility of individual bones in the geometry file. \n\nNote that all bones default to 'true,' so bones should only be defined if they are being set to 'false.' Including bones set to 'true' will work the same as the default."
}
],
"id": "minecraft:geometry"
}
14 changes: 11 additions & 3 deletions app/public/data/forms/dataform.form.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@
},
{
"id": 14,
"title": "Keyed object collection"
"title": "Keyed object collection ({\"foo\": {\"color\":\"green\"}})"
},
{
"id": 15,
"title": "Object array"
"title": "Object array ([\"foo\", \"green\"])"
},
{
"id": 16,
Expand Down Expand Up @@ -137,7 +137,7 @@
},
{
"id": 24,
"title": "Keyed string collection"
"title": "Keyed string ({\"foo\": \"alpha\"})"
},
{
"id": 25,
Expand All @@ -146,6 +146,14 @@
{
"id": 26,
"title": "Uuid"
},
{
"id": 27,
"title": "Keyed boolean ({\"foo\": true})"
},
{
"id": 28,
"title": "Keyed string array ({\"foo\": [\"alpha\"]})"
}
]
},
Expand Down
5 changes: 5 additions & 0 deletions app/public/data/forms/entity_minecraft_can_climb.form.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"title": "Can climb",
"description": "Allows an entity to climb ladders.",
"fields": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"title": "Is Hidden When Invisible",
"description": "The entity can hide from hostile mobs while invisible.",
"fields": []
}
Loading

0 comments on commit d62fc60

Please sign in to comment.