diff --git a/Allay-API/src/main/java/org/allaymc/api/command/CommandRegistry.java b/Allay-API/src/main/java/org/allaymc/api/command/CommandRegistry.java index 68a482c31..df4f072a5 100644 --- a/Allay-API/src/main/java/org/allaymc/api/command/CommandRegistry.java +++ b/Allay-API/src/main/java/org/allaymc/api/command/CommandRegistry.java @@ -3,6 +3,7 @@ import org.allaymc.api.entity.interfaces.EntityPlayer; import org.allaymc.api.registry.MappedRegistry; import org.cloudburstmc.protocol.bedrock.packet.AvailableCommandsPacket; +import org.jetbrains.annotations.ApiStatus; import java.util.Map; @@ -12,8 +13,11 @@ * @author daoge_cmd */ public interface CommandRegistry extends MappedRegistry> { + + @ApiStatus.Internal AvailableCommandsPacket encodeAvailableCommandsPacketFor(EntityPlayer player); + @ApiStatus.Internal void registerDefaultCommands(); void register(Command command);