Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-12-25 15:50:19 +01:00
Use standard Guava annotation
Dieser Commit ist enthalten in:
Ursprung
cb99b184ed
Commit
b028d9ca8f
@ -1,14 +0,0 @@
|
|||||||
package com.velocitypowered.api.annotations;
|
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
|
||||||
import java.lang.annotation.Target;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Marks unstable API interfaces that are still maturing. These interfaces may change drastically
|
|
||||||
* between minor releases of Velocity, and it is not guaranteed that the APIs marked with this
|
|
||||||
* annotation will be stable over time.
|
|
||||||
*/
|
|
||||||
@Target({ ElementType.METHOD, ElementType.TYPE, ElementType.PACKAGE })
|
|
||||||
public @interface UnstableApi {
|
|
||||||
|
|
||||||
}
|
|
@ -2,15 +2,15 @@ package com.velocitypowered.api.event.command;
|
|||||||
|
|
||||||
import static com.google.common.base.Preconditions.checkNotNull;
|
import static com.google.common.base.Preconditions.checkNotNull;
|
||||||
|
|
||||||
|
import com.google.common.annotations.Beta;
|
||||||
import com.mojang.brigadier.tree.RootCommandNode;
|
import com.mojang.brigadier.tree.RootCommandNode;
|
||||||
import com.velocitypowered.api.annotations.UnstableApi;
|
|
||||||
import com.velocitypowered.api.proxy.Player;
|
import com.velocitypowered.api.proxy.Player;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allows plugins to modify the packet indicating commands available on the server to a
|
* Allows plugins to modify the packet indicating commands available on the server to a
|
||||||
* Minecraft 1.13+ client.
|
* Minecraft 1.13+ client.
|
||||||
*/
|
*/
|
||||||
@UnstableApi
|
@Beta
|
||||||
public class PlayerAvailableCommandsEvent {
|
public class PlayerAvailableCommandsEvent {
|
||||||
|
|
||||||
private final Player player;
|
private final Player player;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren