Skip to content

Commit

Permalink
🐛 cooldownGroup typo was fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Sep 11, 2024
1 parent 92aea10 commit ce45f56
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions java/server/world/item/mod.mcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,7 @@ dispatch minecraft:data_component[use_cooldown] to struct UseCooldown {
seconds: float @ 0<..,
/// If present, this item will be part of a cooldown group and no longer share cooldowns with its base item type.
/// Instead, cooldowns applied to this item will only be shared with any other items that are part of the same cooldown group.
/// The camel-cased key is a mojang typo and will be corrected in a future snapshot.
cooldownGroup?: #[id(registry="cooldown_group", definition=true)] string,
cooldown_group?: #[id(registry="cooldown_group", definition=true)] string,
}

dispatch minecraft:data_component[use_remainder] to InventoryItem
Expand Down

0 comments on commit ce45f56

Please sign in to comment.