Skip to content

Commit

Permalink
🐛 Dispatch filtered loot function to the right type
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Oct 24, 2024
1 parent a090a15 commit dd617ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/data/loot/function.mcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ dispatch minecraft:loot_function[explosion_decay] to struct {}

/// Applies loot function(s) to items that match an item predicate.
#[since="1.20.5"]
dispatch minecraft:loot_condition[filtered] to struct Filtered {
dispatch minecraft:loot_function[filtered] to struct Filtered {
/// Item predicate to select items to modify.
item_filter: ItemPredicate,
/// Loot function to apply to the selected items.
Expand Down

0 comments on commit dd617ff

Please sign in to comment.