Skip to content

Commit

Permalink
Fix lodestone tracker component
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed May 16, 2024
1 parent 0b356fe commit dd82640
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion java/1.20.5/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mcschema/java-1.20.5",
"version": "0.0.31",
"version": "0.0.32",
"description": "Schemas for Java Edition 1.20.5",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion java/1.20.5/src/schemas/Components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ export function initComponentsSchemas(schemas: SchemaRegistry, collections: Coll
{ context: 'data_component.recipes' },
),
'minecraft:lodestone_tracker': ObjectNode({
tracker: Opt(ObjectNode({
target: Opt(ObjectNode({
dimension: StringNode({ validator: 'resource', params: { pool: '$dimension' } }),
pos: Reference('block_pos'),
})),
Expand Down
2 changes: 1 addition & 1 deletion java/1.21/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mcschema/java-1.21",
"version": "0.0.14",
"version": "0.0.15",
"description": "Schemas for Java Edition 1.21",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion java/1.21/src/schemas/Components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ export function initComponentsSchemas(schemas: SchemaRegistry, collections: Coll
{ context: 'data_component.recipes' },
),
'minecraft:lodestone_tracker': ObjectNode({
tracker: Opt(ObjectNode({
target: Opt(ObjectNode({
dimension: StringNode({ validator: 'resource', params: { pool: '$dimension' } }),
pos: Reference('block_pos'),
})),
Expand Down
2 changes: 1 addition & 1 deletion locales/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mcschema/locales",
"version": "0.1.100",
"version": "0.1.101",
"description": "Locales for Minecraft schemas",
"keywords": [],
"author": "Misode",
Expand Down
6 changes: 3 additions & 3 deletions locales/src/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -532,9 +532,9 @@
"data_component.food.effects.entry": "Effect",
"data_component.food.effects.entry.effect": "Effect",
"data_component.food.effects.entry.probability": "Probability",
"data_component.lodestone_tracker.tracker": "Tracker",
"data_component.lodestone_tracker.tracker.dimension": "Dimension",
"data_component.lodestone_tracker.tracker.pos": "Pos",
"data_component.lodestone_tracker.target": "Target",
"data_component.lodestone_tracker.target.dimension": "Dimension",
"data_component.lodestone_tracker.target.pos": "Pos",
"data_component.lodestone_tracker.tracked": "Tracked",
"data_component.pot_decorations.entry": "Item",
"data_component.potion_contents.potion": "Potion",
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

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

0 comments on commit dd82640

Please sign in to comment.