Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(gallery): Update code samples and gallery #43

Merged
merged 4 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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