1.20.3 working & checkstyle fixes

This commit is contained in:
pkt77
2023-12-06 09:57:42 -05:00
committed by Shane Freeder
parent 814b53f12c
commit efcfeb3e53
15 changed files with 437 additions and 173 deletions

View File

@@ -133,6 +133,18 @@ public class PlayerResourcePackStatusEvent {
/**
* The player has accepted the resource pack and is now downloading it.
*/
ACCEPTED
ACCEPTED,
/**
* The URL of the resource pack failed to load.
*/
INVALID_URL,
/**
* The player failed to reload the resource pack.
*/
FAILED_RELOAD,
/**
* The resource pack was discarded.
*/
DISCARDED,
}
}
}

View File

@@ -19,7 +19,6 @@ import com.velocitypowered.api.proxy.player.TabList;
import com.velocitypowered.api.proxy.server.RegisteredServer;
import com.velocitypowered.api.util.GameProfile;
import com.velocitypowered.api.util.ModInfo;
import java.util.Collection;
import java.util.List;
import java.util.Locale;
@@ -300,4 +299,4 @@ public interface Player extends
* @return the player's client brand
*/
@Nullable String getClientBrand();
}
}

View File

@@ -7,11 +7,10 @@
package com.velocitypowered.api.proxy.player;
import java.util.UUID;
import net.kyori.adventure.text.Component;
import org.checkerframework.checker.nullness.qual.Nullable;
import java.util.UUID;
/**
* Represents the information for a resource pack to apply that can be sent to the client.
*/
@@ -175,4 +174,4 @@ public interface ResourcePackInfo {
*/
PLUGIN_ON_PROXY
}
}
}