Interface UseCooldown.Builder
- All Superinterfaces:
- DataComponentBuilder<UseCooldown>
- Enclosing interface:
- UseCooldown
@Experimental
@NonExtendable
public static interface UseCooldown.Builder
extends DataComponentBuilder<UseCooldown>
- 
Method SummaryModifier and TypeMethodDescriptioncooldownGroup(@Nullable Key key) Sets a unique resource location for this cooldown group.Methods inherited from interface io.papermc.paper.datacomponent.DataComponentBuilderbuild
- 
Method Details- 
cooldownGroupSets a unique resource location for this cooldown group.This allows items to share cooldowns with other items in the same cooldown group. - Parameters:
- key- the unique resource location; can be null
- Returns:
- the builder for chaining
- See Also:
 
 
-