Skip to content

Commit

Permalink
Add missing "rod" field for fishing_rod_hooked trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Jun 14, 2024
1 parent 9690316 commit 628aee7
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions java/1.15/src/schemas/Advancement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ export function initAdvancementSchemas(schemas: SchemaRegistry, collections: Col
item: Opt(Reference('item_predicate'))
},
'minecraft:fishing_rod_hooked': {
rod: Opt(Reference('item_predicate')),
entity: Opt(Reference('entity_predicate')),
item: Opt(Reference('item_predicate'))
},
Expand Down
1 change: 1 addition & 0 deletions java/1.16/src/schemas/Advancement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ export function initAdvancementSchemas(schemas: SchemaRegistry, collections: Col
item: Opt(Reference('item_predicate'))
},
'minecraft:fishing_rod_hooked': {
rod: Opt(Reference('item_predicate')),
entity: EntityPredicate,
item: Opt(Reference('item_predicate'))
},
Expand Down
1 change: 1 addition & 0 deletions java/1.17/src/schemas/Advancement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ export function initAdvancementSchemas(schemas: SchemaRegistry, collections: Col
item: Opt(Reference('item_predicate'))
},
'minecraft:fishing_rod_hooked': {
rod: Opt(Reference('item_predicate')),
entity: EntityPredicate,
item: Opt(Reference('item_predicate'))
},
Expand Down
1 change: 1 addition & 0 deletions java/1.18.2/src/schemas/Advancement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ export function initAdvancementSchemas(schemas: SchemaRegistry, collections: Col
item: Opt(Reference('item_predicate'))
},
'minecraft:fishing_rod_hooked': {
rod: Opt(Reference('item_predicate')),
entity: EntityPredicate,
item: Opt(Reference('item_predicate'))
},
Expand Down
1 change: 1 addition & 0 deletions java/1.18/src/schemas/Advancement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ export function initAdvancementSchemas(schemas: SchemaRegistry, collections: Col
item: Opt(Reference('item_predicate'))
},
'minecraft:fishing_rod_hooked': {
rod: Opt(Reference('item_predicate')),
entity: EntityPredicate,
item: Opt(Reference('item_predicate'))
},
Expand Down
1 change: 1 addition & 0 deletions java/1.19.3/src/schemas/Advancement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ export function initAdvancementSchemas(schemas: SchemaRegistry, collections: Col
item: Opt(Reference('item_predicate'))
},
'minecraft:fishing_rod_hooked': {
rod: Opt(Reference('item_predicate')),
entity: EntityPredicate,
item: Opt(Reference('item_predicate'))
},
Expand Down
1 change: 1 addition & 0 deletions java/1.19.4/src/schemas/Advancement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ export function initAdvancementSchemas(schemas: SchemaRegistry, collections: Col
item: Opt(Reference('item_predicate'))
},
'minecraft:fishing_rod_hooked': {
rod: Opt(Reference('item_predicate')),
entity: EntityPredicate,
item: Opt(Reference('item_predicate'))
},
Expand Down
1 change: 1 addition & 0 deletions java/1.19/src/schemas/Advancement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ export function initAdvancementSchemas(schemas: SchemaRegistry, collections: Col
item: Opt(Reference('item_predicate'))
},
'minecraft:fishing_rod_hooked': {
rod: Opt(Reference('item_predicate')),
entity: EntityPredicate,
item: Opt(Reference('item_predicate'))
},
Expand Down
1 change: 1 addition & 0 deletions java/1.20.2/src/schemas/Advancement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ export function initAdvancementSchemas(schemas: SchemaRegistry, collections: Col
item: Opt(Reference('item_predicate'))
},
'minecraft:fishing_rod_hooked': {
rod: Opt(Reference('item_predicate')),
entity: EntityPredicate,
item: Opt(Reference('item_predicate'))
},
Expand Down
1 change: 1 addition & 0 deletions java/1.20.3/src/schemas/Advancement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ export function initAdvancementSchemas(schemas: SchemaRegistry, collections: Col
item: Opt(Reference('item_predicate'))
},
'minecraft:fishing_rod_hooked': {
rod: Opt(Reference('item_predicate')),
entity: EntityPredicate,
item: Opt(Reference('item_predicate'))
},
Expand Down
1 change: 1 addition & 0 deletions java/1.20.5/src/schemas/Advancement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ export function initAdvancementSchemas(schemas: SchemaRegistry, collections: Col
item: Opt(Reference('item_predicate'))
},
'minecraft:fishing_rod_hooked': {
rod: Opt(Reference('item_predicate')),
entity: EntityPredicate,
item: Opt(Reference('item_predicate'))
},
Expand Down
1 change: 1 addition & 0 deletions java/1.20/src/schemas/Advancement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ export function initAdvancementSchemas(schemas: SchemaRegistry, collections: Col
item: Opt(Reference('item_predicate'))
},
'minecraft:fishing_rod_hooked': {
rod: Opt(Reference('item_predicate')),
entity: EntityPredicate,
item: Opt(Reference('item_predicate'))
},
Expand Down
1 change: 1 addition & 0 deletions java/1.21/src/schemas/Advancement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ export function initAdvancementSchemas(schemas: SchemaRegistry, collections: Col
item: Opt(Reference('item_predicate'))
},
'minecraft:fishing_rod_hooked': {
rod: Opt(Reference('item_predicate')),
entity: EntityPredicate,
item: Opt(Reference('item_predicate'))
},
Expand Down
1 change: 1 addition & 0 deletions locales/src/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@
"criterion.filled_bucket.item": "Item",
"criterion.fishing_rod_hooked.entity": "Pulled entity",
"criterion.fishing_rod_hooked.item": "Item",
"criterion.fishing_rod_hooked.rod": "Rod",
"criterion.hero_of_the_village.location": "Location",
"criterion.inventory_changed.items": "Items",
"criterion.inventory_changed.items.entry": "Item",
Expand Down

0 comments on commit 628aee7

Please sign in to comment.