Interface UseCooldown.Builder

All Superinterfaces:
DataComponentBuilder<UseCooldown>
Enclosing interface:
UseCooldown

@Experimental @NonExtendable public static interface UseCooldown.Builder extends DataComponentBuilder<UseCooldown>
  • Method Details

    • cooldownGroup

      @Contract(value="_ -> this", mutates="this") UseCooldown.Builder cooldownGroup(@Nullable Key key)
      Sets 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: