Skip to content

Commit

Permalink
fix: Make VirtualComponent NonExtendable
Browse files Browse the repository at this point in the history
  • Loading branch information
kezz committed Jan 6, 2025
1 parent ab88e94 commit 685e642
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,18 @@
*/
package net.kyori.adventure.text;

import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;

/**
* A virtual component.
*
* <p>This component type is transient, and not guaranteed to survive during any sort of transformations or serialization.</p>
* <p>This component type is transient and not guaranteed to survive during any sort of transformations or serialization.</p>
*
* @see Component#virtual(Class, VirtualComponentRenderer)
* @since 4.18.0
*/
@ApiStatus.NonExtendable
public interface VirtualComponent extends TextComponent {
/**
* Gets the renderer context type.
Expand Down

0 comments on commit 685e642

Please sign in to comment.